MercurialWebTheme

Changeset

35:e2c1f5d87583
2011-04-01 Paul Boddie raw files shortlog changelog graph Fixed the output encoding of many types of textual data. Added CSS class usage for table cells containing dates, authors, navigation, branches and tags. Tidied up table column widths, attempting to make the branches, tags and summary views cleaner. Removed explicit widths from various templates. Fixed the changeset navigation vertical alignment. Added links to the branches view.
themes/mercurialweb/branchentry.tmpl (file) themes/mercurialweb/branches.tmpl (file) themes/mercurialweb/changelog.tmpl (file) themes/mercurialweb/changelogentry.tmpl (file) themes/mercurialweb/changeset.tmpl (file) themes/mercurialweb/error.tmpl (file) themes/mercurialweb/fileannotate.tmpl (file) themes/mercurialweb/filediff.tmpl (file) themes/mercurialweb/filerevision.tmpl (file) themes/mercurialweb/graph.tmpl (file) themes/mercurialweb/manifest.tmpl (file) themes/mercurialweb/map (file) themes/mercurialweb/search.tmpl (file) themes/mercurialweb/searchentry.tmpl (file) themes/mercurialweb/shortlog.tmpl (file) themes/mercurialweb/shortlogentry.tmpl (file) themes/mercurialweb/static/style-mercurialweb.css (file) themes/mercurialweb/summary.tmpl (file) themes/mercurialweb/tagentry.tmpl (file) themes/mercurialweb/tags.tmpl (file)
     1.1 --- a/themes/mercurialweb/branchentry.tmpl	Sun Mar 20 17:38:34 2011 +0100
     1.2 +++ b/themes/mercurialweb/branchentry.tmpl	Fri Apr 01 00:56:11 2011 +0200
     1.3 @@ -1,6 +1,6 @@
     1.4  <tr class="parity{parity}">
     1.5 -  <td>{date|age}</td>
     1.6 +  <td class="date">{date|age}</td>
     1.7    <td class="navigation"><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></td>
     1.8 -  <td width="55%"><span class="branch {status}"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{branch|escape}</a></span></td>
     1.9 -  <td>{node|short}</td>
    1.10 +  <td class="node">{node|short}</td>
    1.11 +  <td class="branches"><span class="branch {status}"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{branch|escape}</a></span></td>
    1.12  </tr>
     2.1 --- a/themes/mercurialweb/branches.tmpl	Sun Mar 20 17:38:34 2011 +0100
     2.2 +++ b/themes/mercurialweb/branches.tmpl	Fri Apr 01 00:56:11 2011 +0200
     2.3 @@ -30,7 +30,7 @@
     2.4  
     2.5  <h3>Branches</h3>
     2.6  
     2.7 -<table>
     2.8 +<table class="branches">
     2.9    <tbody>
    2.10  {entries%branchentry}
    2.11    </tbody>
     3.1 --- a/themes/mercurialweb/changelog.tmpl	Sun Mar 20 17:38:34 2011 +0100
     3.2 +++ b/themes/mercurialweb/changelog.tmpl	Fri Apr 01 00:56:11 2011 +0200
     3.3 @@ -13,6 +13,7 @@
     3.4      ><li class="current"><span>Changelog</span></li
     3.5      ><li><a href="{url}graph{sessionvars%urlparameter}">Graph</a></li
     3.6      ><li><a href="{url}tags{sessionvars%urlparameter}">Tags</a></li
     3.7 +    ><li><a href="{url}branches{sessionvars%urlparameter}">Branches</a></li
     3.8      ><li><a href="{url}file{sessionvars%urlparameter}">Files</a></li
     3.9      ><li><form id="searchform" action="{url}log"><span class="container">
    3.10          <span class="hint">Search</span>&#160;<input name="rev" id="searchinput" type="text" size="20" />
     4.1 --- a/themes/mercurialweb/changelogentry.tmpl	Sun Mar 20 17:38:34 2011 +0100
     4.2 +++ b/themes/mercurialweb/changelogentry.tmpl	Fri Apr 01 00:56:11 2011 +0200
     4.3 @@ -6,16 +6,16 @@
     4.4    </td>
     4.5  </tr>
     4.6  <tr class="parity{parity}">
     4.7 -  <td>{date|age}</td>
     4.8 -  <td>{author|person|xmlescape}</td>
     4.9 +  <td class="date">{date|age}</td>
    4.10 +  <td class="author">{author|person|xmlescape}</td>
    4.11    <td class="changeset-navigation">
    4.12      <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a>
    4.13      <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
    4.14      <a href="{url}shortlog/{node|short}{sessionvars%urlparameter}#{node|short}">shortlog</a>
    4.15      <a href="{url}graph/{node|short}{sessionvars%urlparameter}#{node|short}">graph</a>
    4.16    </td>
    4.17 -  <td width="40%" class="description">{desc|strip|escape}</td>
    4.18 -  <td>{branches%branchtag}{inbranch%inbranchtag}{tags%tagtag}</td>
    4.19 +  <td class="description">{desc|strip|escape}</td>
    4.20 +  <td class="branchinfo">{branches%branchtag}{inbranch%inbranchtag}{tags%tagtag}</td>
    4.21  </tr>
    4.22  <tr class="parity{parity}">
    4.23    <td colspan="3"></td>
     5.1 --- a/themes/mercurialweb/changeset.tmpl	Sun Mar 20 17:38:34 2011 +0100
     5.2 +++ b/themes/mercurialweb/changeset.tmpl	Fri Apr 01 00:56:11 2011 +0200
     5.3 @@ -13,6 +13,7 @@
     5.4      ><li><a href="{url}changelog{sessionvars%urlparameter}">Changelog</a></li
     5.5      ><li><a href="{url}graph{sessionvars%urlparameter}">Graph</a></li
     5.6      ><li><a href="{url}tags{sessionvars%urlparameter}">Tags</a></li
     5.7 +    ><li><a href="{url}branches{sessionvars%urlparameter}">Branches</a></li
     5.8      ><li><a href="{url}file{sessionvars%urlparameter}">Files</a></li
     5.9      ><li><form id="searchform" action="{url}log"><span class="container">
    5.10          <span class="hint">Search</span>&#160;<input name="rev" id="searchinput" type="text" size="20" />
    5.11 @@ -36,8 +37,8 @@
    5.12  <table>
    5.13    <tbody>
    5.14      <tr>
    5.15 -      <td>{date|age}</td>
    5.16 -      <td>{author|person|xmlescape}</td>
    5.17 +      <td class="date">{date|age}</td>
    5.18 +      <td class="author">{author|person|xmlescape}</td>
    5.19        <td class="changeset-navigation">
    5.20          <a href="{url}raw-rev/{node|short}{sessionvars%urlparameter}">raw</a>
    5.21          <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
    5.22 @@ -45,8 +46,8 @@
    5.23          <a href="{url}changelog/{node|short}{sessionvars%urlparameter}#{node|short}">changelog</a>
    5.24          <a href="{url}graph/{node|short}{sessionvars%urlparameter}#{node|short}">graph</a>
    5.25        </td>
    5.26 -      <td width="50%" class="description">{desc|strip|escape}</td>
    5.27 -      <td>{branches%branchtag}{inbranch%inbranchtag}{tags%tagtag}</td>
    5.28 +      <td class="description">{desc|strip|escape}</td>
    5.29 +      <td class="branchinfo">{branches%branchtag}{inbranch%inbranchtag}{tags%tagtag}</td>
    5.30      </tr>
    5.31      <tr>
    5.32        <td colspan="3"></td>
     6.1 --- a/themes/mercurialweb/error.tmpl	Sun Mar 20 17:38:34 2011 +0100
     6.2 +++ b/themes/mercurialweb/error.tmpl	Fri Apr 01 00:56:11 2011 +0200
     6.3 @@ -13,6 +13,7 @@
     6.4      ><li><a href="{url}changelog{sessionvars%urlparameter}">Changelog</a></li
     6.5      ><li><a href="{url}graph{sessionvars%urlparameter}">Graph</a></li
     6.6      ><li><a href="{url}tags{sessionvars%urlparameter}">Tags</a></li
     6.7 +    ><li><a href="{url}branches{sessionvars%urlparameter}">Branches</a></li
     6.8      ><li><a href="{url}file{sessionvars%urlparameter}">Files</a></li
     6.9      ><li><form id="searchform" action="{url}log"><span class="container">
    6.10          <span class="hint">Search</span>&#160;<input name="rev" id="searchinput" type="text" size="20" />
     7.1 --- a/themes/mercurialweb/fileannotate.tmpl	Sun Mar 20 17:38:34 2011 +0100
     7.2 +++ b/themes/mercurialweb/fileannotate.tmpl	Fri Apr 01 00:56:11 2011 +0200
     7.3 @@ -13,6 +13,7 @@
     7.4      ><li><a href="{url}changelog{sessionvars%urlparameter}">Changelog</a></li
     7.5      ><li><a href="{url}graph{sessionvars%urlparameter}">Graph</a></li
     7.6      ><li><a href="{url}tags{sessionvars%urlparameter}">Tags</a></li
     7.7 +    ><li><a href="{url}branches{sessionvars%urlparameter}">Branches</a></li
     7.8      ><li><a href="{url}file{sessionvars%urlparameter}">Files</a></li
     7.9      ><li><form id="searchform" action="{url}log"><span class="container">
    7.10          <span class="hint">Search</span>&#160;<input name="rev" id="searchinput" type="text" size="20" />
    7.11 @@ -36,15 +37,15 @@
    7.12  <table>
    7.13    <tbody>
    7.14      <tr>
    7.15 -      <td>{date|age}</td>
    7.16 -      <td>{author|person|xmlescape}</td>
    7.17 +      <td class="date">{date|age}</td>
    7.18 +      <td class="author">{author|person|xmlescape}</td>
    7.19        <td class="navigation">
    7.20          <a href="{url}raw-rev/{node|short}{sessionvars%urlparameter}">raw</a>
    7.21          <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
    7.22          <a href="{url}shortlog/{node|short}{sessionvars%urlparameter}#{node|short}">shortlog</a>
    7.23        </td>
    7.24 -      <td width="50%">{desc|strip|escape}</td>
    7.25 -      <td>{branch%branchlabel}</td>
    7.26 +      <td class="description">{desc|strip|escape}</td>
    7.27 +      <td class="branches">{branch%branchlabel}</td>
    7.28      </tr>
    7.29    </tbody>
    7.30  </table>
     8.1 --- a/themes/mercurialweb/filediff.tmpl	Sun Mar 20 17:38:34 2011 +0100
     8.2 +++ b/themes/mercurialweb/filediff.tmpl	Fri Apr 01 00:56:11 2011 +0200
     8.3 @@ -13,6 +13,7 @@
     8.4      ><li><a href="{url}changelog{sessionvars%urlparameter}">Changelog</a></li
     8.5      ><li><a href="{url}graph{sessionvars%urlparameter}">Graph</a></li
     8.6      ><li><a href="{url}tags{sessionvars%urlparameter}">Tags</a></li
     8.7 +    ><li><a href="{url}branches{sessionvars%urlparameter}">Branches</a></li
     8.8      ><li><a href="{url}file{sessionvars%urlparameter}">Files</a></li
     8.9      ><li><form id="searchform" action="{url}log"><span class="container">
    8.10          <span class="hint">Search</span>&#160;<input name="rev" id="searchinput" type="text" size="20" />
    8.11 @@ -43,7 +44,7 @@
    8.12          <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
    8.13          <a href="{url}shortlog/{node|short}{sessionvars%urlparameter}#{node|short}">shortlog</a>
    8.14        </td>
    8.15 -      <td>{branch%branchlabel}</td>
    8.16 +      <td class="branches">{branch%branchlabel}</td>
    8.17      </tr>
    8.18    </tbody>
    8.19  </table>
     9.1 --- a/themes/mercurialweb/filerevision.tmpl	Sun Mar 20 17:38:34 2011 +0100
     9.2 +++ b/themes/mercurialweb/filerevision.tmpl	Fri Apr 01 00:56:11 2011 +0200
     9.3 @@ -13,6 +13,7 @@
     9.4      ><li><a href="{url}changelog{sessionvars%urlparameter}">Changelog</a></li
     9.5      ><li><a href="{url}graph{sessionvars%urlparameter}">Graph</a></li
     9.6      ><li><a href="{url}tags{sessionvars%urlparameter}">Tags</a></li
     9.7 +    ><li><a href="{url}branches{sessionvars%urlparameter}">Branches</a></li
     9.8      ><li><a href="{url}file{sessionvars%urlparameter}">Files</a></li
     9.9      ><li><form id="searchform" action="{url}log"><span class="container">
    9.10          <span class="hint">Search</span>&#160;<input name="rev" id="searchinput" type="text" size="20" />
    9.11 @@ -36,16 +37,17 @@
    9.12  <table>
    9.13    <tbody>
    9.14      <tr>
    9.15 -      <td>{date|age}</td>
    9.16 -      <td>{author|person|xmlescape}</td>
    9.17 +      <td class="date">{date|age}</td>
    9.18 +      <td class="author">{author|person|xmlescape}</td>
    9.19        <td class="navigation">
    9.20          <a href="{url}raw-file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">raw</a>
    9.21          <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a>
    9.22          <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
    9.23          <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a>
    9.24 +        <a href="{url}graph/{node|short}{sessionvars%urlparameter}#{node|short}">graph</a>
    9.25        </td>
    9.26 -      <td width="50%">{desc|strip|escape}</td>
    9.27 -      <td>{branch%branchlabel}</td>
    9.28 +      <td class="description">{desc|strip|escape}</td>
    9.29 +      <td class="branches">{branch%branchlabel}</td>
    9.30      </tr>
    9.31    </tbody>
    9.32  </table>
    10.1 --- a/themes/mercurialweb/graph.tmpl	Sun Mar 20 17:38:34 2011 +0100
    10.2 +++ b/themes/mercurialweb/graph.tmpl	Fri Apr 01 00:56:11 2011 +0200
    10.3 @@ -13,6 +13,7 @@
    10.4      ><li><a href="{url}changelog{sessionvars%urlparameter}">Changelog</a></li
    10.5      ><li class="current"><span>Graph</span></li
    10.6      ><li><a href="{url}tags{sessionvars%urlparameter}">Tags</a></li
    10.7 +    ><li><a href="{url}branches{sessionvars%urlparameter}">Branches</a></li
    10.8      ><li><a href="{url}file{sessionvars%urlparameter}">Files</a></li
    10.9      ><li><form id="searchform" action="{url}log"><span class="container">
   10.10          <span class="hint">Search</span>&#160;<input name="rev" id="searchinput" type="text" size="20" />
    11.1 --- a/themes/mercurialweb/manifest.tmpl	Sun Mar 20 17:38:34 2011 +0100
    11.2 +++ b/themes/mercurialweb/manifest.tmpl	Fri Apr 01 00:56:11 2011 +0200
    11.3 @@ -1,5 +1,5 @@
    11.4  {header}
    11.5 -<title>{repo|escape} (shortlog)</title>
    11.6 +<title>{repo|escape} (files)</title>
    11.7  </head>
    11.8  
    11.9  <body>
   11.10 @@ -13,6 +13,7 @@
   11.11      ><li><a href="{url}changelog{sessionvars%urlparameter}">Changelog</a></li
   11.12      ><li><a href="{url}graph{sessionvars%urlparameter}">Graph</a></li
   11.13      ><li><a href="{url}tags{sessionvars%urlparameter}">Tags</a></li
   11.14 +    ><li><a href="{url}branches{sessionvars%urlparameter}">Branches</a></li
   11.15      ><li class="current"><span>Files</span></li
   11.16      ><li><form id="searchform" action="{url}log"><span class="container">
   11.17          <span class="hint">Search</span>&#160;<input name="rev" id="searchinput" type="text" size="20" />
   11.18 @@ -27,10 +28,10 @@
   11.19  
   11.20  <h2>{repo|escape}</h2>
   11.21  
   11.22 -<table>
   11.23 +<table class="manifest">
   11.24    <tbody>
   11.25      <tr>
   11.26 -      <td>{rev}:{node|short}</td>
   11.27 +      <td class="node">{rev}:{node|short}</td>
   11.28        <td class="navigation">
   11.29          <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a>
   11.30          <a href="{url}shortlog/{node|short}{sessionvars%urlparameter}#{node|short}">shortlog</a>
    12.1 --- a/themes/mercurialweb/map	Sun Mar 20 17:38:34 2011 +0100
    12.2 +++ b/themes/mercurialweb/map	Fri Apr 01 00:56:11 2011 +0200
    12.3 @@ -37,33 +37,33 @@
    12.4  graphpagerentry = '{before%graphpagerlink}{after%graphpagerlink}'
    12.5  shortlogpagerentry = '{before%shortlogpagerlink}{after%shortlogpagerlink}'
    12.6  
    12.7 -archiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}">{type|escape}</a> '
    12.8 +archiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}">{type|xmlescape}</a> '
    12.9  branchlabel = '<span class="branch">{name}</span> '
   12.10  branchtag = '<span class="branch"><a href="{url}rev/{node|short}{sessionvars%urlparameter}#{node|short}">{name}</a></span> '
   12.11 -changelogpagerlink = '<a href="{url}changelog/{node|short}{sessionvars%urlparameter}#{node|short}">{label|escape}</a> '
   12.12 +changelogpagerlink = '<a href="{url}changelog/{node|short}{sessionvars%urlparameter}#{node|short}">{label|xmlescape}</a> '
   12.13  changeloglink = '<a href="{url}changelog/{node|short}{sessionvars%urlparameter}#{node|short}">{rev}:{node|short}</a> '
   12.14  changesetlink = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{rev}:{node|short}</a> '
   12.15  changesetfiledifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rev}:{node|short}</a> '
   12.16  filerevlink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rev}:{node|short}</a> '
   12.17 -graphpagerlink = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}#{node|short}">{label|escape}</a> '
   12.18 +graphpagerlink = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}#{node|short}">{label|xmlescape}</a> '
   12.19  inbranchlabel = '<span class="inbranch">{name}</span> '
   12.20  inbranchtag = '<span class="inbranch"><a href="{url}rev/{node|short}{sessionvars%urlparameter}#{node|short}">{name}</a></span> '
   12.21 -shortlogpagerlink = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}#{node|short}">{label|escape}</a> '
   12.22 +shortlogpagerlink = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}#{node|short}">{label|xmlescape}</a> '
   12.23  tagtag = '<span class="tag">{name}</span> '
   12.24  
   12.25  diffblock = '<div class="source"><pre>{lines}</pre></div>'
   12.26 -difflineplus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="plusline">{line|escape}</span>'
   12.27 -difflineminus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="minusline">{line|escape}</span>'
   12.28 -difflineat = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="atline">{line|escape}</span>'
   12.29 -diffline = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}'
   12.30 +difflineplus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="plusline">{line|xmlescape}</span>'
   12.31 +difflineminus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="minusline">{line|xmlescape}</span>'
   12.32 +difflineat = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="atline">{line|xmlescape}</span>'
   12.33 +diffline = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|xmlescape}'
   12.34  
   12.35 -filedifflink = '<span><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></span> '
   12.36 +filedifflink = '<span><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|xmlescape}</a></span> '
   12.37  fileellipses = '...'
   12.38  
   12.39 -fileline = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}'
   12.40 +fileline = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|xmlescape}'
   12.41  
   12.42 -filenolink = '{file|escape} '
   12.43 -filenodelink = '<span><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></span> '
   12.44 +filenolink = '{file|xmlescape} '
   12.45 +filenodelink = '<span><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|xmlescape}</a></span> '
   12.46  
   12.47  hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'
   12.48  urlparameter = '{separator}{name}={value|urlescape}'
    13.1 --- a/themes/mercurialweb/search.tmpl	Sun Mar 20 17:38:34 2011 +0100
    13.2 +++ b/themes/mercurialweb/search.tmpl	Fri Apr 01 00:56:11 2011 +0200
    13.3 @@ -13,6 +13,7 @@
    13.4      ><li><a href="{url}changelog{sessionvars%urlparameter}">Changelog</a></li
    13.5      ><li><a href="{url}graph{sessionvars%urlparameter}">Graph</a></li
    13.6      ><li><a href="{url}tags{sessionvars%urlparameter}">Tags</a></li
    13.7 +    ><li><a href="{url}branches{sessionvars%urlparameter}">Branches</a></li
    13.8      ><li><a href="{url}file{sessionvars%urlparameter}">Files</a></li
    13.9      ><li><form id="searchform" action="{url}log"><span class="container">
   13.10          <span class="hint">Search</span>&#160;<input name="rev" id="searchinput" type="text" size="20" />
    14.1 --- a/themes/mercurialweb/searchentry.tmpl	Sun Mar 20 17:38:34 2011 +0100
    14.2 +++ b/themes/mercurialweb/searchentry.tmpl	Fri Apr 01 00:56:11 2011 +0200
    14.3 @@ -1,12 +1,12 @@
    14.4  <tr class="parity{parity}">
    14.5 -  <td>{date|age}</td>
    14.6 -  <td>{author|person|xmlescape}</td>
    14.7 +  <td class="date">{date|age}</td>
    14.8 +  <td class="author">{author|person|xmlescape}</td>
    14.9    <td class="navigation">
   14.10      <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
   14.11      <a href="{url}shortlog/{node|short}{sessionvars%urlparameter}#{node|short}">shortlog</a>
   14.12      <a href="{url}changelog/{node|short}{sessionvars%urlparameter}#{node|short}">changelog</a>
   14.13    </td>
   14.14 -  <td width="50%"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape}</a></td>
   14.15 +  <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape}</a></td>
   14.16  </tr>
   14.17  <tr class="parity{parity}">
   14.18    <td colspan="3"></td>
    15.1 --- a/themes/mercurialweb/shortlog.tmpl	Sun Mar 20 17:38:34 2011 +0100
    15.2 +++ b/themes/mercurialweb/shortlog.tmpl	Fri Apr 01 00:56:11 2011 +0200
    15.3 @@ -13,6 +13,7 @@
    15.4      ><li><a href="{url}changelog{sessionvars%urlparameter}">Changelog</a></li
    15.5      ><li><a href="{url}graph{sessionvars%urlparameter}">Graph</a></li
    15.6      ><li><a href="{url}tags{sessionvars%urlparameter}">Tags</a></li
    15.7 +    ><li><a href="{url}branches{sessionvars%urlparameter}">Branches</a></li
    15.8      ><li><a href="{url}file{sessionvars%urlparameter}">Files</a></li
    15.9      ><li><form id="searchform" action="{url}log"><span class="container">
   15.10          <span class="hint">Search</span>&#160;<input name="rev" id="searchinput" type="text" size="20" />
    16.1 --- a/themes/mercurialweb/shortlogentry.tmpl	Sun Mar 20 17:38:34 2011 +0100
    16.2 +++ b/themes/mercurialweb/shortlogentry.tmpl	Fri Apr 01 00:56:11 2011 +0200
    16.3 @@ -1,7 +1,7 @@
    16.4  <tr class="parity{parity}" id="{node|short}">
    16.5 -  <td>{date|age}</td>
    16.6 -  <td>{author|person|xmlescape}</td>
    16.7 +  <td class="date">{date|age}</td>
    16.8 +  <td class="author">{author|person|xmlescape}</td>
    16.9    <td class="navigation"><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></td>
   16.10 -  <td width="50%" class="commentline"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape}</a></td>
   16.11 +  <td class="commentline"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape}</a></td>
   16.12    <td class="branchinfo">{branches%branchtag}{inbranch%inbranchtag}{tags%tagtag}</td>
   16.13  </tr>
    17.1 --- a/themes/mercurialweb/static/style-mercurialweb.css	Sun Mar 20 17:38:34 2011 +0100
    17.2 +++ b/themes/mercurialweb/static/style-mercurialweb.css	Fri Apr 01 00:56:11 2011 +0200
    17.3 @@ -26,6 +26,8 @@
    17.4  a:link:hover, a:link:active, a:link:focus,
    17.5  a:visited:hover, a:visited:active, a:visited:focus { text-decoration: underline; }
    17.6  
    17.7 +h3 a { color: inherit !important; }
    17.8 +
    17.9  input, select {
   17.10  
   17.11      /* Styling similar to the main site. */
   17.12 @@ -72,6 +74,28 @@
   17.13      height: 1px;
   17.14  }
   17.15  
   17.16 +/* Summary table dimensions. */
   17.17 +
   17.18 +table.summary td.author,
   17.19 +table.summary td.date,
   17.20 +table.branches td.date,
   17.21 +table.tags td.date {
   17.22 +    width: 10%;
   17.23 +}
   17.24 +
   17.25 +table.manifest td.node,
   17.26 +table.summary.branches td.date,
   17.27 +table.summary.tags td.date {
   17.28 +    width: 20%;
   17.29 +}
   17.30 +
   17.31 +table.summary td.navigation,
   17.32 +table.branches td.navigation,
   17.33 +table.tags td.navigation,
   17.34 +table.manifest td.navigation {
   17.35 +    width: 5%;
   17.36 +}
   17.37 +
   17.38  /* Styling of headings from the main site. */
   17.39  
   17.40  h1 { font-size: 2em; }
   17.41 @@ -80,10 +104,15 @@
   17.42  
   17.43  /* Repository information. */
   17.44  
   17.45 +td.branchinfo,
   17.46 +td.branches,
   17.47 +td.tags {
   17.48 +    text-align: right;
   17.49 +}
   17.50 +
   17.51  td.branchinfo {
   17.52      padding-top: 0.15em;
   17.53      padding-bottom: 0.15em;
   17.54 -    text-align: right;
   17.55  }
   17.56  
   17.57  td.branchinfo.graphlabel {
   17.58 @@ -91,6 +120,14 @@
   17.59      padding-bottom: 0;
   17.60  }
   17.61  
   17.62 +td.node {
   17.63 +    font-family: monospace;
   17.64 +
   17.65 +    /* Monospace inline text frequently looks smaller than the surrounding text. */
   17.66 +
   17.67 +    font-size: 120%;
   17.68 +}
   17.69 +
   17.70  span.tag,
   17.71  span.branch,
   17.72  span.inbranch {
   17.73 @@ -166,10 +203,6 @@
   17.74      background: #999;
   17.75  }
   17.76  
   17.77 -.changeset-navigation {
   17.78 -    line-height: 2em;
   17.79 -}
   17.80 -
   17.81  .navigation {
   17.82      white-space: nowrap;
   17.83  }
   17.84 @@ -191,6 +224,11 @@
   17.85      padding: 0 16px;
   17.86  }
   17.87  
   17.88 +.changeset-navigation {
   17.89 +    line-height: 2em;
   17.90 +    padding-top: 0;
   17.91 +}
   17.92 +
   17.93  .changeset-navigation a,
   17.94  .navigation a {
   17.95      padding: 0.25em 0.5em;
    18.1 --- a/themes/mercurialweb/summary.tmpl	Sun Mar 20 17:38:34 2011 +0100
    18.2 +++ b/themes/mercurialweb/summary.tmpl	Fri Apr 01 00:56:11 2011 +0200
    18.3 @@ -13,6 +13,7 @@
    18.4      ><li><a href="{url}changelog{sessionvars%urlparameter}">Changelog</a></li
    18.5      ><li><a href="{url}graph{sessionvars%urlparameter}">Graph</a></li
    18.6      ><li><a href="{url}tags{sessionvars%urlparameter}">Tags</a></li
    18.7 +    ><li><a href="{url}branches{sessionvars%urlparameter}">Branches</a></li
    18.8      ><li><a href="{url}file{sessionvars%urlparameter}">Files</a></li
    18.9      ><li><form id="searchform" action="{url}log"><span class="container">
   18.10          <span class="hint">Search</span>&#160;<input name="rev" id="searchinput" type="text" size="20" />
   18.11 @@ -48,25 +49,25 @@
   18.12  
   18.13  <hr />
   18.14  
   18.15 -<h3>Shortlog</h3>
   18.16 +<h3><a href="{url}shortlog{sessionvars%urlparameter}">Shortlog</a></h3>
   18.17  
   18.18 -<table>
   18.19 +<table class="summary">
   18.20    <tbody>
   18.21  {shortlog}
   18.22    </tbody>
   18.23  </table>
   18.24  
   18.25 -<h3>Tags</h3>
   18.26 +<h3><a href="{url}tags{sessionvars%urlparameter}">Tags</a></h3>
   18.27  
   18.28 -<table>
   18.29 +<table class="summary tags">
   18.30    <tbody>
   18.31  {tags}
   18.32    </tbody>
   18.33  </table>
   18.34  
   18.35 -<h3>Branches</h3>
   18.36 +<h3><a href="{url}branches{sessionvars%urlparameter}">Branches</a></h3>
   18.37  
   18.38 -<table>
   18.39 +<table class="summary branches">
   18.40    <tbody>
   18.41  {branches%branchentry}
   18.42    </tbody>
    19.1 --- a/themes/mercurialweb/tagentry.tmpl	Sun Mar 20 17:38:34 2011 +0100
    19.2 +++ b/themes/mercurialweb/tagentry.tmpl	Fri Apr 01 00:56:11 2011 +0200
    19.3 @@ -1,6 +1,6 @@
    19.4  <tr class="parity{parity}">
    19.5 -  <td>{date|age}</td>
    19.6 +  <td class="date">{date|age}</td>
    19.7    <td class="navigation"><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></td>
    19.8 -  <td width="55%"><span class="tag"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a></span></td>
    19.9 -  <td>{node|short}</td>
   19.10 +  <td class="node">{node|short}</td>
   19.11 +  <td class="tags"><span class="tag"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a></span></td>
   19.12  </tr>
    20.1 --- a/themes/mercurialweb/tags.tmpl	Sun Mar 20 17:38:34 2011 +0100
    20.2 +++ b/themes/mercurialweb/tags.tmpl	Fri Apr 01 00:56:11 2011 +0200
    20.3 @@ -13,6 +13,7 @@
    20.4      ><li><a href="{url}changelog{sessionvars%urlparameter}">Changelog</a></li
    20.5      ><li><a href="{url}graph{sessionvars%urlparameter}">Graph</a></li
    20.6      ><li class="current"><span>Tags</span></li
    20.7 +    ><li><a href="{url}branches{sessionvars%urlparameter}">Branches</a></li
    20.8      ><li><a href="{url}file{sessionvars%urlparameter}">Files</a></li
    20.9      ><li><form id="searchform" action="{url}log"><span class="container">
   20.10          <span class="hint">Search</span>&#160;<input name="rev" id="searchinput" type="text" size="20" />
   20.11 @@ -29,7 +30,7 @@
   20.12  
   20.13  <h3>Tags</h3>
   20.14  
   20.15 -<table>
   20.16 +<table class="tags">
   20.17    <tbody>
   20.18  {entries%tagentry}
   20.19    </tbody>