# HG changeset patch # User Paul Boddie # Date 1301955339 -7200 # Node ID ba89c5d38cebb8888f1567d1990e383d0f30b548 # Parent e2c1f5d87583d9552f5ddafe814ff699c1a1937d Added archives to the manifest and fixed the navigation area width. Tidied the presentation of feeds and archives on the index page. Limited annotations to 10% of the page width. diff -r e2c1f5d87583 -r ba89c5d38ceb themes/mercurialweb/index.tmpl --- a/themes/mercurialweb/index.tmpl Fri Apr 01 00:56:11 2011 +0200 +++ b/themes/mercurialweb/index.tmpl Tue Apr 05 00:15:39 2011 +0200 @@ -18,7 +18,8 @@ Description Contact Last change -   + + diff -r e2c1f5d87583 -r ba89c5d38ceb themes/mercurialweb/indexentry.tmpl --- a/themes/mercurialweb/indexentry.tmpl Fri Apr 01 00:56:11 2011 +0200 +++ b/themes/mercurialweb/indexentry.tmpl Tue Apr 05 00:15:39 2011 +0200 @@ -3,5 +3,6 @@ {description} {contact|obfuscate} {lastchange|age} - RSS Atom {archives%archiveentry} + {archives%archiveentry} + RSS Atom diff -r e2c1f5d87583 -r ba89c5d38ceb themes/mercurialweb/manifest.tmpl --- a/themes/mercurialweb/manifest.tmpl Fri Apr 01 00:56:11 2011 +0200 +++ b/themes/mercurialweb/manifest.tmpl Tue Apr 05 00:15:39 2011 +0200 @@ -37,6 +37,7 @@ shortlog changelog + {archives%archiveentry} {branches%branchtag}{inbranch%inbranchtag}{tags%tagtag} diff -r e2c1f5d87583 -r ba89c5d38ceb themes/mercurialweb/static/style-mercurialweb.css --- a/themes/mercurialweb/static/style-mercurialweb.css Fri Apr 01 00:56:11 2011 +0200 +++ b/themes/mercurialweb/static/style-mercurialweb.css Tue Apr 05 00:15:39 2011 +0200 @@ -1,6 +1,6 @@ /* style-mercurialweb.css - stylesheets resembling the MercurialWikiTheme styles -Copyright (c) 2010 Paul Boddie +Copyright (c) 2010, 2011 Paul Boddie Copyright (c) 2001, 2002, 2003 by Juergen Hermann */ @@ -74,6 +74,16 @@ height: 1px; } +/* Index styling. */ + +.archives { + text-align: left; +} + +.feeds { + text-align: right; +} + /* Summary table dimensions. */ table.summary td.author, @@ -91,8 +101,7 @@ table.summary td.navigation, table.branches td.navigation, -table.tags td.navigation, -table.manifest td.navigation { +table.tags td.navigation { width: 5%; } @@ -108,9 +117,10 @@ td.branches, td.tags { text-align: right; + white-space: nowrap; } -td.branchinfo { +span.branchinfo { padding-top: 0.15em; padding-bottom: 0.15em; } @@ -193,6 +203,8 @@ } #navibar a, #navibar li.current span, +.archives a, +.feeds a, .changeset-navigation a, .navigation a { color: #fff; @@ -207,6 +219,8 @@ white-space: nowrap; } +.archives a, +.feeds a, .changeset-navigation a, .navigation a { background: #ccc; @@ -229,18 +243,27 @@ padding-top: 0; } +.archives a, +.feeds a, .changeset-navigation a, .navigation a { padding: 0.25em 0.5em; } #navibar a:hover, #navibar a:focus, #navibar li.current a, #navibar li.current span, +.archives a:hover, .archives a:focus, .changeset-navigation a:hover, .changeset-navigation a:focus, .navigation a:hover, .navigation a:focus { background: #00b5f1; } +.feeds a:hover, .feeds a:focus { + background: #f1b500; +} + #navibar a:hover, #navibar a:focus, #navibar li.current a, +.archives a:hover, .archives a:focus, +.feeds a:hover, .feeds a:focus, .changeset-navigation a:hover, .changeset-navigation a:focus, .navigation a:hover, .navigation a:focus { text-decoration: none; @@ -465,6 +488,10 @@ font-size: 80%; } +tr.annotate td:first-child { + width: 10%; +} + /* File views. */ .permissions {