MercurialWebTheme

themes/mercurialweb/search.tmpl

8:73bdffb4a922
2010-07-10 Paul Boddie Added changeset and "not found" page support. Tidied up the branch indicators. Made the search pop-up hint appear at a different z-index. Insisted that the stylesheet is UTF-8 encoded. Added the repository name as a heading on each page. Adjusted the column width in various entry tables. Added a branch status indicator to branch entries. Updated the copyright information.
     1 {header}     2 <title>{repo|escape} (search)</title>     3 </head>     4      5 <body>     6      7 <div id="header">     8   <div id="logo"><a href="{url}..{sessionvars%urlparameter}"><img src="{staticurl}mercurial-logo.png" alt="Mercurial logo" /></a></div>     9   <div class="controls">    10     <ul id="navibar">    11     <li><a href="{url}summary{sessionvars%urlparameter}">Summary</a></li    12     ><li><a href="{url}shortlog{sessionvars%urlparameter}">Shortlog</a></li    13     ><li><a href="{url}changelog{sessionvars%urlparameter}">Changelog</a></li    14     ><li><a href="{url}branches{sessionvars%urlparameter}">Branches</a></li    15     ><li><a href="{url}tags{sessionvars%urlparameter}">Tags</a></li    16     ><li><a href="{url}files{sessionvars%urlparameter}">Files</a></li    17     ><li><form id="searchform" action="{url}log"><span class="container">    18         <span class="hint">Search</span>&nbsp;<input name="rev" id="searchinput" type="text" size="20" />    19       </span>    20       {sessionvars%hiddenformentry}    21       </form>    22     </li>    23     </ul>    24   </div>    25   <div id="pageline"></div>    26 </div>    27     28 <h2>{repo|escape}</h2>    29     30 <h3>Results</h3>    31     32 <table>    33   <tbody>    34 {entries}    35   </tbody>    36 </table>    37     38 {footer}