# HG changeset patch # User Paul Boddie # Date 1276205763 -7200 # Node ID d91b0a6a3974114b7a95bb813e2658d233840b20 # Parent 693858c920001790308091d3586318bb52373337 Moved the login page into the _generic context. Moved "Your Queries" into the user menu, with queries appearing in a pop-up submenu. Increased the user menu font size. Added a pageline at the bottom of each page. diff -r 693858c92000 -r d91b0a6a3974 themes/mercurialroundup/html/_generic.login.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/mercurialroundup/html/_generic.login.html Thu Jun 10 23:36:03 2010 +0200 @@ -0,0 +1,32 @@ + + +Log into <span i18n:name="tracker" + tal:replace="db/config/TRACKER_NAME" /> +Log into + + +
+

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

+
+ + + +
diff -r 693858c92000 -r d91b0a6a3974 themes/mercurialroundup/html/page.html --- a/themes/mercurialroundup/html/page.html Wed Jun 09 01:20:33 2010 +0200 +++ b/themes/mercurialroundup/html/page.html Thu Jun 10 23:36:03 2010 +0200 @@ -51,6 +51,7 @@ >
  • Help
  • Search  @@ -69,7 +70,7 @@
    • Login
    • Login
    • username
    • Your Details
    • Your Queries
    • Logout
    • @@ -110,15 +117,6 @@ -

      - Your Queries (edit)
      - - link
      -
      -

      @@ -145,15 +143,6 @@ href="user?@template=item" i18n:translate="">Add User

      -

      - Hello, username
      -

      -

      - Help
      - Roundup docs -

      @@ -165,6 +154,10 @@
       
      + + diff -r 693858c92000 -r d91b0a6a3974 themes/mercurialroundup/html/style.css --- a/themes/mercurialroundup/html/style.css Wed Jun 09 01:20:33 2010 +0200 +++ b/themes/mercurialroundup/html/style.css Thu Jun 10 23:36:03 2010 +0200 @@ -26,16 +26,16 @@ /* Navigation and other controls. */ +/* Styling similar to the main Mercurial site with adjustments made for the + Mercurial Web theme. */ + #username { float: right; } #username { - - /* Styling similar to the main site. */ - font-family: Verdana, Helvetica, Arial, sans-serif; - font-size: .6428em; + font-size: .8em; padding: 10px 25px; } @@ -49,6 +49,35 @@ text-decoration: none; } +span.submenu-container { + position: relative; + display: inline-block; +} + +span.submenu-container:hover { + background: #fff; + border-bottom: 1px solid #ccc; + padding-bottom: 1ex; +} + +span.submenu-container .submenu { + display: none; +} + +span.submenu-container:hover .submenu { + display: block; + position: absolute; + top: 3ex; + left: 0; + + background: #fff; + border-width: 0 0 1px 0; + border-style: solid; + border-color: #ccc; + padding: 1ex; + z-index: 2; +} + /* Messages. */ p.ok-message { diff -r 693858c92000 -r d91b0a6a3974 themes/mercurialroundup/html/user.login.html --- a/themes/mercurialroundup/html/user.login.html Wed Jun 09 01:20:33 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,32 +0,0 @@ - - -Log into <span i18n:name="tracker" - tal:replace="db/config/TRACKER_NAME" /> -Log into - - - -

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

      - - - - -