# HG changeset patch # User Paul Boddie # Date 1276039233 -7200 # Node ID 693858c920001790308091d3586318bb52373337 # Parent e8913039fa250928fc8874b92fd9af936685142b Moved registration- and user-related menu entries to below the pageline. Introduced a login page, combining login, registration and forgotten password options. Added styling for messages. Incorporated Mercurial Web changes. diff -r e8913039fa25 -r 693858c92000 themes/mercurialroundup/html/page.html --- a/themes/mercurialroundup/html/page.html Mon Jun 07 01:14:02 2010 +0200 +++ b/themes/mercurialroundup/html/page.html Wed Jun 09 01:20:33 2010 +0200 @@ -35,12 +35,6 @@ >New issue
  • Search
  • Register
  • username
  • +
    + +

    body title

    +

    +

    + + clear this message +

    + @@ -114,44 +145,9 @@ href="user?@template=item" i18n:translate="">Add User

    - -

    - Login
    -
    -
    - - -
    -
    - - - Register
    - Lost your login?
    -

    - -

    Hello, username
    - Your Issues
    - Your Details
    - Logout

    Help
    @@ -159,16 +155,6 @@ i18n:translate="">Roundup docs

    - diff -r e8913039fa25 -r 693858c92000 themes/mercurialroundup/html/style-mercurialweb.css --- a/themes/mercurialroundup/html/style-mercurialweb.css Mon Jun 07 01:14:02 2010 +0200 +++ b/themes/mercurialroundup/html/style-mercurialweb.css Wed Jun 09 01:20:33 2010 +0200 @@ -40,6 +40,7 @@ { margin: 1em 0; border-collapse: collapse; + width: 100%; } th { @@ -59,6 +60,10 @@ padding: 0; } +tr.parity1 { + background: #f7f7f7; +} + /* Styling of headings from the main site. */ h1 { font-size: 2em; } diff -r e8913039fa25 -r 693858c92000 themes/mercurialroundup/html/style.css --- a/themes/mercurialroundup/html/style.css Mon Jun 07 01:14:02 2010 +0200 +++ b/themes/mercurialroundup/html/style.css Wed Jun 09 01:20:33 2010 +0200 @@ -15,19 +15,71 @@ border-collapse: separate; } -td.sidebar { - padding: 1px 0 0 1px; - white-space: nowrap; +dl, ol, ul { + padding: 0 1em; + margin: 0 0.5em; +} + +li p { + margin: 0.1em 0; +} + +/* Navigation and other controls. */ + +#username { + float: right; +} + +#username { + + /* Styling similar to the main site. */ + + font-family: Verdana, Helvetica, Arial, sans-serif; + font-size: .6428em; + padding: 10px 25px; +} + +#username li { + display: inline; + padding: 0 2px; + margin: 0 4px; +} + +#username a { + text-decoration: none; +} + +/* Messages. */ + +p.ok-message { + border-bottom: 1px solid #ccc; + background-color: #f0f0f0; + padding: 5px 10px; +} + +p.error-message { + border-bottom: 1px solid #ccc; + background-color: #f0f0f0; + padding: 5px 10px; +} + +p.error-message a[href] { + color: #005cd5; } /* don't display the header when printing */ @media print { - td.sidebar { - display: none; - } - .index-controls { - display: none; - } + td.sidebar { + display: none; + } + .index-controls { + display: none; + } +} + +td.sidebar { + padding: 1px 0 0 1px; + white-space: nowrap; } td.sidebar p.classblock { @@ -60,24 +112,6 @@ white-space: nowrap; } -p.ok-message { - background-color: #22bb22; - padding: 5px; - color: white; - font-weight: bold; -} -p.error-message { - background-color: #bb2222; - padding: 5px; - color: white; - font-weight: bold; -} -p.error-message a[href] { - color: white; - text-decoration: underline; -} - - /* style for search forms */ ul.search-checkboxes { display: inline; diff -r e8913039fa25 -r 693858c92000 themes/mercurialroundup/html/user.login.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/mercurialroundup/html/user.login.html Wed Jun 09 01:20:33 2010 +0200 @@ -0,0 +1,32 @@ + + +Log into <span i18n:name="tracker" + tal:replace="db/config/TRACKER_NAME" /> +Log into + + +
    -

    -

    - - clear this message -

    -
    Page content goes here + +
    +

    + Login
    +
    +
    + + +
    +
    + + + Register
    + Lost your login?
    +

    +
    + +