Mercurial > hg > compact-paper
view mercurial/templates/compact-paper/summary.tmpl @ 36722:b2c1a35d18f2 draft default tip
WIP: hgweb: add compact-paper style
DONE:
- new summary page looks good-ish
- shortlog is reasonable looking
- tags is reasonable looking
- bookmarks is reasonable looking
- branches is reasonable looking
- help is reasonable looking
- changeset is reasonable looking
TODO:
- convert other pages to use the same header
- graph
- browse
author | Josef 'Jeff' Sipek <jeffpc@josefsipek.net> |
---|---|
date | Wed, 21 Feb 2018 16:40:41 -0500 |
parents | |
children |
line wrap: on
line source
{header} <title>{repo|escape}: summary</title> <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}" /> <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}" /> </head> <body> <div class="main"> <div class="logo"> <a href="{logourl}"> <img src="{staticurl|urlescape}{logoimg}" alt="mercurial" /></a> </div> <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> {searchform} <div class="menu"> <ul> <li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">log</a></li> <li><a href="{url|urlescape}graph/{symrev}{sessionvars%urlparameter}">graph</a></li> <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> </ul> <ul> <li><a href="{url|urlescape}rev/{symrev}{sessionvars%urlparameter}">changeset</a></li> <li><a href="{url|urlescape}file/{symrev}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> </ul> <ul> {archives%archiveentry} </ul> <ul> <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> <li><a href="{url|urlescape}atom-log" title="subscribe to atom feed">atom</a></li> </ul> </div> <table class="bigtable"> <thead> <tr> <th class="age">age</th> <th class="author">author</th> <th class="description">description</th> </tr> </thead> <tbody class="stripes2"> {shortlog} </tbody> </table> <div class="spacer" /> <table class="bigtable"> <thead> <tr> <th class="description">tag</th> <th class="node">node</th> </tr> </thead> <tbody class="stripes2"> {tags} </tbody> </table> <div class="spacer" /> {if("{bookmarks}","{summary_bookmarks}<div class=\"spacer\" />","")} <table class="bigtable"> <thead> <tr> <th class="description">branch</th> <th class="node">node</th> </tr> </thead> <tbody class="stripes2"> {branches%branchentry} </tbody> </table> </div> {footer}