# HG changeset patch # User Paul Boddie # Date 1300639114 -3600 # Node ID 99b93d5119cd4ba2ba9e519d96c9d1a3cfebce13 # Parent 72513716ad82826a6ee660d8cb024def1327fe1c Introduced links to changeset locations in the graph view from various views. Changed the navigation controls in the changelog and changeset views to wrap at the end of a line. diff -r 72513716ad82 -r 99b93d5119cd themes/mercurialweb/changelogentry.tmpl --- a/themes/mercurialweb/changelogentry.tmpl Mon Mar 14 01:13:22 2011 +0100 +++ b/themes/mercurialweb/changelogentry.tmpl Sun Mar 20 17:38:34 2011 +0100 @@ -8,10 +8,11 @@ {date|age} {author|person|xmlescape} - + changeset files shortlog + graph {desc|strip|escape} {branches%branchtag}{inbranch%inbranchtag}{tags%tagtag} diff -r 72513716ad82 -r 99b93d5119cd themes/mercurialweb/changeset.tmpl --- a/themes/mercurialweb/changeset.tmpl Mon Mar 14 01:13:22 2011 +0100 +++ b/themes/mercurialweb/changeset.tmpl Sun Mar 20 17:38:34 2011 +0100 @@ -38,11 +38,12 @@ {date|age} {author|person|xmlescape} - + raw files shortlog changelog + graph {desc|strip|escape} {branches%branchtag}{inbranch%inbranchtag}{tags%tagtag} diff -r 72513716ad82 -r 99b93d5119cd themes/mercurialweb/static/style-mercurialweb.css --- a/themes/mercurialweb/static/style-mercurialweb.css Mon Mar 14 01:13:22 2011 +0100 +++ b/themes/mercurialweb/static/style-mercurialweb.css Sun Mar 20 17:38:34 2011 +0100 @@ -155,7 +155,9 @@ display: inline; } -#navibar a, #navibar li.current span, .navigation a { +#navibar a, #navibar li.current span, +.changeset-navigation a, +.navigation a { color: #fff; text-decoration: none; } @@ -164,10 +166,15 @@ background: #999; } +.changeset-navigation { + line-height: 2em; +} + .navigation { white-space: nowrap; } +.changeset-navigation a, .navigation a { background: #ccc; } @@ -184,16 +191,19 @@ padding: 0 16px; } +.changeset-navigation a, .navigation a { padding: 0.25em 0.5em; } #navibar a:hover, #navibar a:focus, #navibar li.current a, #navibar li.current span, +.changeset-navigation a:hover, .changeset-navigation a:focus, .navigation a:hover, .navigation a:focus { background: #00b5f1; } #navibar a:hover, #navibar a:focus, #navibar li.current a, +.changeset-navigation a:hover, .changeset-navigation a:focus, .navigation a:hover, .navigation a:focus { text-decoration: none; }