mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
3816d83a29
AFAICT this was mostly a bunch of copy pasta. The only variation is some pages defined a "value" attribute. The "query" variable will just be empty on pages that don't accept it. So let's consolidate the template and remove the redundancy.
54 lines
1.4 KiB
Cheetah
54 lines
1.4 KiB
Cheetah
{header}
|
|
<title>{repo|escape}: bookmarks</title>
|
|
<link rel="alternate" type="application/atom+xml"
|
|
href="{url|urlescape}atom-bookmarks" title="Atom feed for {repo|escape}: bookmarks" />
|
|
<link rel="alternate" type="application/rss+xml"
|
|
href="{url|urlescape}rss-bookmarks" title="RSS feed for {repo|escape}: bookmarks" />
|
|
</head>
|
|
<body>
|
|
|
|
<div class="container">
|
|
<div class="menu">
|
|
<div class="logo">
|
|
<a href="{logourl}">
|
|
<img src="{staticurl|urlescape}{logoimg}" alt="mercurial" /></a>
|
|
</div>
|
|
<ul>
|
|
<li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">log</a></li>
|
|
<li><a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a></li>
|
|
<li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li>
|
|
<li class="active">bookmarks</li>
|
|
<li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li>
|
|
</ul>
|
|
<ul>
|
|
<li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li>
|
|
</ul>
|
|
<div class="atom-logo">
|
|
<a href="{url|urlescape}atom-bookmarks" title="subscribe to atom feed">
|
|
<img class="atom-logo" src="{staticurl|urlescape}feed-icon-14x14.png" alt="atom feed" />
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="main">
|
|
<h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2>
|
|
<h3>bookmarks</h3>
|
|
|
|
{searchform}
|
|
|
|
<table class="bigtable">
|
|
<thead>
|
|
<tr>
|
|
<th>bookmark</th>
|
|
<th>node</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="stripes2">
|
|
{entries%bookmarkentry}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
{footer}
|