##// END OF EJS Templates
hgweb (coal/paper): make file, diff and annotate easier to render...
hgweb (coal/paper): make file, diff and annotate easier to render This patch removes tables altogether for file and diff, and removes one column from annotate, making firefox's incremental renderer much faster for large files.

File last commit:

r7394:03b60f2f default
r7394:03b60f2f default
Show More
filediff.tmpl
71 lines | 1.9 KiB | application/x-cheetah | CheetahLexer
Matt Mackall
templates: add coal web theme
r6436 {header}
<title>{repo|escape}: {file|escape} diff</title>
</head>
<body>
Matt Mackall
coal: more tweaking...
r6453 <div class="container">
Matt Mackall
templates: add coal web theme
r6436 <div class="menu">
<div class="logo">
<a href="http://www.selenic.com/mercurial/">
<img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
</div>
<ul>
Brendan Cully
coal: include current node in log, graph menu links
r6775 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
<li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
Matt Mackall
templates: add coal web theme
r6436 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
</ul>
<ul>
<li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
<li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
</ul>
<ul>
<li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li>
<li class="active">diff</li>
<li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li>
<li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li>
<li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li>
</ul>
</div>
<div class="main">
Thomas Arendsen Hein
Keep sessionvars with repository links added in a0843c82d1a2...
r7331 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
Matt Mackall
coal: more tweaks...
r6452 <h3>diff {file|escape} @ {rev}:{node|short}</h3>
Matt Mackall
templates: add coal web theme
r6436
<form class="search" action="{url}log">
{sessionvars%hiddenformentry}
<p><input name="rev" id="search1" type="text" size="30"></p>
Thomas Arendsen Hein
Kill trailing whitespace in templates
r7327 <span>find changesets by author, revision,
Benoit Allard
coal/paper: show a search tip when hovering over search box...
r7299 files, or words in the commit message</span>
Matt Mackall
templates: add coal web theme
r6436 </form>
<div class="description">{desc|strip|escape|addbreaks}</div>
<table id="changesetEntry">
<tr>
<th>author</th>
<td>{author|obfuscate}</td>
</tr>
<tr>
<th>date</th>
<td>{date|date} ({date|age} ago)</td>
</tr>
<tr>
<th>parents</th>
<td>{parent%filerevparent}</td>
</tr>
<tr>
<th>children</th>
<td>{child%filerevchild}</td>
</tr>
{changesettag}
</table>
<div class="overflow">
Brendan Cully
hgweb (coal/paper): make file, diff and annotate easier to render...
r7394 <div class="sourcefirst"> line diff</div>
Rocco Rutte
coal/paper: make output well-formed and fix css syntax error breaking rendering
r6905
Matt Mackall
templates: add coal web theme
r6436 {diff}
</div>
Rocco Rutte
coal/paper: make output well-formed and fix css syntax error breaking rendering
r6905 </div>
Matt Mackall
coal: more tweaking...
r6453 </div>
Matt Mackall
templates: add coal web theme
r6436
{footer}