##// END OF EJS Templates
hgweb: centralize permission checks for protocol commands...
hgweb: centralize permission checks for protocol commands Consistently enforces authorization checks set up in hgrc up front, so that the actual commands don't have to worry about them and implementers of hgweb alternatives can easily implement their own permission checks.

File last commit:

r6775:54ccf417 default
r6779:d3147b4e default
Show More
manifest.tmpl
52 lines | 1.3 KiB | application/x-cheetah | CheetahLexer
Matt Mackall
templates: add coal web theme
r6436 {header}
<title>{repo|escape}: {node|short} {path|escape}</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 class="active">browse</li>
</ul>
<ul>
{archives%archiveentry}
</ul>
</div>
<div class="main">
<h2>{repo|escape}</h2>
Matt Mackall
coal: more tweaks...
r6452 <h3>directory {path|escape} @ {rev}:{node|short} {tags%changelogtag}</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>
</form>
<table class="bigtable">
<tr>
Matt Mackall
coal: even more tweaks...
r6454 <th class="name">name</th>
<th class="size">size</th>
Matt Mackall
templates: add coal web theme
r6436 <th class="permissions">permissions</th>
</tr>
Matt Mackall
coal: even more tweaks...
r6454 <tr class="fileline parity{upparity}">
<td class="name"><a href="{url}file/{node|short}{up|urlescape}{sessionvars%urlparameter}">[up]</a></td>
<td class="size"></td>
<td class="permissions">drwxr-xr-x</td>
Matt Mackall
templates: add coal web theme
r6436 </tr>
{dentries%direntry}
{fentries%fileentry}
</table>
Matt Mackall
coal: more tweaking...
r6453 </div>
</div>
Matt Mackall
templates: add coal web theme
r6436 {footer}