1.1 --- a/themes/mercurialweb/changeset.tmpl Mon Jul 12 01:48:38 2010 +0200
1.2 +++ b/themes/mercurialweb/changeset.tmpl Mon Jul 12 02:26:23 2010 +0200
1.3 @@ -38,19 +38,20 @@
1.4 <tr>
1.5 <td>{date|age}</td>
1.6 <td>{author|person}</td>
1.7 - <td class="navigation"><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></td>
1.8 + <td class="navigation">
1.9 + <a href="{url}raw-rev/{node|short}{sessionvars%urlparameter}">raw</a>
1.10 + <a href="{url}files/{node|short}{sessionvars%urlparameter}">files</a>
1.11 + <a href="{url}shortlog/{node|short}{sessionvars%urlparameter}#{node|short}">shortlog</a>
1.12 + </td>
1.13 <td width="50%">{desc|strip|escape}</td>
1.14 <td>{branches%branchtag}{inbranch%inbranchtag}{tags%tagtag}</td>
1.15 </tr>
1.16 <tr>
1.17 - <td colspan="5" class="diff">
1.18 - {diff}
1.19 - </td>
1.20 - </tr>
1.21 - <tr>
1.22 <td colspan="5" class="files">{files}</td>
1.23 </tr>
1.24 </tbody>
1.25 </table>
1.26
1.27 +<div class="diff">{diff}</div>
1.28 +
1.29 {footer}
2.1 --- a/themes/mercurialweb/filerevision.tmpl Mon Jul 12 01:48:38 2010 +0200
2.2 +++ b/themes/mercurialweb/filerevision.tmpl Mon Jul 12 02:26:23 2010 +0200
2.3 @@ -13,7 +13,7 @@
2.4 ><li><a href="{url}changelog{sessionvars%urlparameter}">Changelog</a></li
2.5 ><li><a href="{url}tags{sessionvars%urlparameter}">Tags</a></li
2.6 ><li><a href="{url}branches{sessionvars%urlparameter}">Branches</a></li
2.7 - ><li class="current"><span>Files</span></li
2.8 + ><li><a href="{url}files{sessionvars%urlparameter}">Files</a></li
2.9 ><li><form id="searchform" action="{url}log"><span class="container">
2.10 <span class="hint">Search</span> <input name="rev" id="searchinput" type="text" size="20" />
2.11 </span>
2.12 @@ -38,16 +38,17 @@
2.13 <tr>
2.14 <td>{date|age}</td>
2.15 <td>{author|person}</td>
2.16 - <td class="navigation"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></td>
2.17 + <td class="navigation">
2.18 + <a href="{url}raw-file/{node|short}{sessionvars%urlparameter}">raw</a>
2.19 + <a href="{url}files/{node|short}{sessionvars%urlparameter}">files</a>
2.20 + <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a>
2.21 + </td>
2.22 <td width="50%">{desc|strip|escape}</td>
2.23 <td>{branch%branchlabel}</td>
2.24 </tr>
2.25 - <tr>
2.26 - <td colspan="5" class="file">
2.27 - <pre>{text%fileline}</pre>
2.28 - </td>
2.29 - </tr>
2.30 </tbody>
2.31 </table>
2.32
2.33 +<div class="file"><pre>{text%fileline}</pre></div>
2.34 +
2.35 {footer}
3.1 --- a/themes/mercurialweb/map Mon Jul 12 01:48:38 2010 +0200
3.2 +++ b/themes/mercurialweb/map Mon Jul 12 02:26:23 2010 +0200
3.3 @@ -22,12 +22,12 @@
3.4
3.5 archiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}">{type|escape}</a> '
3.6 branchlabel = '<span class="branch">{name}</span> '
3.7 -branchtag = '<span class="branch"><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{name}</a></span> '
3.8 +branchtag = '<span class="branch"><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}#{node|short}">{name}</a></span> '
3.9 changesetlink = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{rev}:{node|short}</a> '
3.10 filerevlink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rev}:{node|short}</a> '
3.11 inbranchlabel = '<span class="inbranch">{name}</span> '
3.12 -inbranchtag = '<span class="inbranch"><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{name}</a></span> '
3.13 -shortloglink = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
3.14 +inbranchtag = '<span class="inbranch"><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}#{node|short}">{name}</a></span> '
3.15 +shortloglink = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}#{node|short}">{label|escape}</a> '
3.16 tagtag = '<span class="tag">{name}</span> '
3.17
3.18 diffblock = '<div class="source parity{parity}"><pre>{lines}</pre></div>'
4.1 --- a/themes/mercurialweb/shortlogentry.tmpl Mon Jul 12 01:48:38 2010 +0200
4.2 +++ b/themes/mercurialweb/shortlogentry.tmpl Mon Jul 12 02:26:23 2010 +0200
4.3 @@ -1,4 +1,4 @@
4.4 -<tr class="parity{parity}">
4.5 +<tr class="parity{parity}" id="{node|short}">
4.6 <td>{date|age}</td>
4.7 <td>{author|person}</td>
4.8 <td class="navigation"><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></td>
5.1 --- a/themes/mercurialweb/static/style-mercurialweb.css Mon Jul 12 01:48:38 2010 +0200
5.2 +++ b/themes/mercurialweb/static/style-mercurialweb.css Mon Jul 12 02:26:23 2010 +0200
5.3 @@ -343,6 +343,10 @@
5.4 background-color: #eee;
5.5 }
5.6
5.7 +.file, .diff {
5.8 + overflow: hidden;
5.9 +}
5.10 +
5.11 .plusline {
5.12 color: #090;
5.13 }