Mercurial > hg > compact-paper
comparison 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 |
comparison
equal
deleted
inserted
replaced
36721:6bacb2f663cb | 36722:b2c1a35d18f2 |
---|---|
1 {header} | |
2 <title>{repo|escape}: summary</title> | |
3 <link rel="alternate" type="application/atom+xml" | |
4 href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}" /> | |
5 <link rel="alternate" type="application/rss+xml" | |
6 href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}" /> | |
7 </head> | |
8 <body> | |
9 | |
10 <div class="main"> | |
11 <div class="logo"> | |
12 <a href="{logourl}"> | |
13 <img src="{staticurl|urlescape}{logoimg}" alt="mercurial" /></a> | |
14 </div> | |
15 <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> | |
16 | |
17 {searchform} | |
18 | |
19 <div class="menu"> | |
20 <ul> | |
21 <li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">log</a></li> | |
22 <li><a href="{url|urlescape}graph/{symrev}{sessionvars%urlparameter}">graph</a></li> | |
23 <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li> | |
24 <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> | |
25 <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li> | |
26 </ul> | |
27 <ul> | |
28 <li><a href="{url|urlescape}rev/{symrev}{sessionvars%urlparameter}">changeset</a></li> | |
29 <li><a href="{url|urlescape}file/{symrev}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> | |
30 </ul> | |
31 <ul> | |
32 {archives%archiveentry} | |
33 </ul> | |
34 <ul> | |
35 <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li> | |
36 <li><a href="{url|urlescape}atom-log" title="subscribe to atom feed">atom</a></li> | |
37 </ul> | |
38 </div> | |
39 | |
40 <table class="bigtable"> | |
41 <thead> | |
42 <tr> | |
43 <th class="age">age</th> | |
44 <th class="author">author</th> | |
45 <th class="description">description</th> | |
46 </tr> | |
47 </thead> | |
48 <tbody class="stripes2"> | |
49 {shortlog} | |
50 </tbody> | |
51 </table> | |
52 | |
53 <div class="spacer" /> | |
54 | |
55 <table class="bigtable"> | |
56 <thead> | |
57 <tr> | |
58 <th class="description">tag</th> | |
59 <th class="node">node</th> | |
60 </tr> | |
61 </thead> | |
62 <tbody class="stripes2"> | |
63 {tags} | |
64 </tbody> | |
65 </table> | |
66 | |
67 <div class="spacer" /> | |
68 | |
69 {if("{bookmarks}","{summary_bookmarks}<div class=\"spacer\" />","")} | |
70 | |
71 <table class="bigtable"> | |
72 <thead> | |
73 <tr> | |
74 <th class="description">branch</th> | |
75 <th class="node">node</th> | |
76 </tr> | |
77 </thead> | |
78 <tbody class="stripes2"> | |
79 {branches%branchentry} | |
80 </tbody> | |
81 </table> | |
82 | |
83 </div> | |
84 | |
85 {footer} |