filerevision.tmpl
74 lines
| 2.0 KiB
| application/x-cheetah
|
CheetahLexer
Matt Mackall
|
r6436 | {header} | ||
<title>{repo|escape}: {node|short} {file|escape}</title> | ||||
</head> | ||||
<body> | ||||
Matt Mackall
|
r6453 | <div class="container"> | ||
Matt Mackall
|
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
|
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
|
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 class="active">file</li> | ||||
<li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> | ||||
<li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> | ||||
Matt Mackall
|
r6453 | <li><a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file log</a></li> | ||
Matt Mackall
|
r6436 | <li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li> | ||
</ul> | ||||
</div> | ||||
<div class="main"> | ||||
<h2>{repo|escape}</h2> | ||||
Matt Mackall
|
r6452 | <h3>view {file|escape} @ {rev}:{node|short}</h3> | ||
Matt Mackall
|
r6436 | |||
<form class="search" action="{url}log"> | ||||
{sessionvars%hiddenformentry} | ||||
<p><input name="rev" id="search1" type="text" size="30"></p> | ||||
</form> | ||||
<div class="description">{desc|strip|escape|addbreaks}</div> | ||||
<table id="changesetEntry"> | ||||
<tr> | ||||
<th class="author">author</th> | ||||
<td class="author">{author|obfuscate}</td> | ||||
</tr> | ||||
<tr> | ||||
<th class="date">date</th> | ||||
<td class="date">{date|date} ({date|age} ago)</td> | ||||
</tr> | ||||
<tr> | ||||
<th class="author">parents</th> | ||||
<td class="author">{parent%filerevparent}</td> | ||||
</tr> | ||||
<tr> | ||||
<th class="author">children</th> | ||||
<td class="author">{child%filerevchild}</td> | ||||
</tr> | ||||
{changesettag} | ||||
</table> | ||||
<div class="overflow"> | ||||
<table class="bigtable"> | ||||
<tr> | ||||
Matt Mackall
|
r6454 | <th class="lineno">line</th> | ||
<th class="source">source</th> | ||||
Matt Mackall
|
r6436 | </tr> | ||
{text%fileline} | ||||
</table> | ||||
</div> | ||||
Matt Mackall
|
r6453 | </div> | ||
Matt Mackall
|
r6436 | </div> | ||
{footer} | ||||