annotate mercurial/templates/monoblue/map @ 10254:8d5de52431f2

hgweb: changenav: separate pages before and after the current position This should allow styles to customize more precisely navigation bar, for example inserting a cursor to show where we are in the navigation bar.
author Nicolas Dumazet <nicdumz.commits@gmail.com>
date Sat, 16 Jan 2010 02:33:06 +0100
parents f91e5630ce7e
children ead4e21f49f1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
1 default = 'summary'
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
2 mimetype = 'text/html; charset={encoding}'
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
3 header = header.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
4 footer = footer.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
5 search = search.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
6 changelog = changelog.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
7 summary = summary.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
8 error = error.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
9 notfound = notfound.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
10 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
11 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
12 navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
13 filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a>'
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
14 filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
15 filenodelink = '
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
16 <tr class="parity{parity}">
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
17 <td><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
18 <td></td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
19 <td>
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
20 <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> |
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
21 <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> |
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
22 <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> |
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
23 <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
24 </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
25 </tr>'
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
26 filenolink = '
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
27 <tr class="parity{parity}">
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
28 <td>
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
29 <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td><td></td><td>file |
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
30 annotate |
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
31 <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> |
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
32 <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
33 </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
34 </tr>'
10254
8d5de52431f2 hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 9999
diff changeset
35
8d5de52431f2 hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 9999
diff changeset
36 nav = '{before%naventry} {after%naventry}'
8d5de52431f2 hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 9999
diff changeset
37 navshort = '{before%navshortentry}{after%navshortentry}'
8d5de52431f2 hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 9999
diff changeset
38 navgraph = '{before%navgraphentry}{after%navgraphentry}'
8d5de52431f2 hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 9999
diff changeset
39 filenav = '{before%filenaventry}{after%filenaventry}'
8d5de52431f2 hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 9999
diff changeset
40
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
41 fileellipses = '...'
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
42 changelogentry = changelogentry.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
43 searchentry = changelogentry.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
44 changeset = changeset.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
45 manifest = manifest.tmpl
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
46 direntry = '
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
47 <tr class="parity{parity}">
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
48 <td>drwxr-xr-x</td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
49 <td></td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
50 <td></td>
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
51 <td><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">{basename|escape}</a></td>
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
52 <td><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a></td>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
53 </tr>'
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
54 fileentry = '
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
55 <tr class="parity{parity}">
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
56 <td>{permissions|permissions}</td>
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
57 <td>{date|isodate}</td>
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
58 <td>{size}</td>
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
59 <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{basename|escape}</a></td>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
60 <td>
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
61 <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> |
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
62 <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> |
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
63 <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
64 </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
65 </tr>'
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
66 filerevision = filerevision.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
67 fileannotate = fileannotate.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
68 filediff = filediff.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
69 filelog = filelog.tmpl
8487
338412820a57 gitweb, monoblue: break long line in map file
Martin Geisler <mg@lazybytes.net>
parents: 8430
diff changeset
70 fileline = '
338412820a57 gitweb, monoblue: break long line in map file
Martin Geisler <mg@lazybytes.net>
parents: 8430
diff changeset
71 <div style="font-family:monospace" class="parity{parity}">
9113
f439d82f018c gitweb, monoblue: fix double-spacing in file view (issue1733)
Martin Geisler <mg@lazybytes.net>
parents: 8713
diff changeset
72 <pre><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</pre>
8487
338412820a57 gitweb, monoblue: break long line in map file
Martin Geisler <mg@lazybytes.net>
parents: 8430
diff changeset
73 </div>'
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
74 annotateline = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
75 <tr class="parity{parity}">
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
76 <td class="linenr">
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
77 <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}"
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
78 title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
79 </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
80 <td class="lineno">
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
81 <a href="#{lineid}" id="{lineid}">{linenumber}</a>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
82 </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
83 <td class="source">{line|escape}</td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
84 </tr>'
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
85 difflineplus = '<span style="color:#008800;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
86 difflineminus = '<span style="color:#cc0000;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
87 difflineat = '<span style="color:#990099;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
88 diffline = '<span><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
89 changelogparent = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
90 <tr>
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
91 <th class="parent">parent {rev}:</th>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
92 <td class="parent">
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
93 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
94 </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
95 </tr>'
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
96 changesetbranch = '<dt>branch</dt><dd>{name}</dd>'
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
97 changesetparent = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
98 <dt>parent {rev}</dt>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
99 <dd><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>'
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
100 filerevbranch = '<dt>branch</dt><dd>{name}</dd>'
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
101 filerevparent = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
102 <dt>parent {rev}</dt>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
103 <dd>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
104 <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
105 {rename%filerename}{node|short}
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
106 </a>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
107 </dd>'
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
108 filerename = '{file|escape}@'
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
109 filelogrename = '| <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">base</a>'
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
110 fileannotateparent = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
111 <dt>parent {rev}</dt>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
112 <dd>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
113 <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
114 {rename%filerename}{node|short}
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
115 </a>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
116 </dd>'
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
117 changelogchild = '
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
118 <dt>child {rev}:</dt>
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
119 <dd><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>'
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
120 changesetchild = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
121 <dt>child {rev}</dt>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
122 <dd><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>'
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
123 filerevchild = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
124 <dt>child {rev}</dt>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
125 <dd>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
126 <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
127 </dd>'
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
128 fileannotatechild = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
129 <dt>child {rev}</dt>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
130 <dd>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
131 <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
132 </dd>'
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
133 tags = tags.tmpl
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
134 tagentry = '
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
135 <tr class="parity{parity}">
9721
1d75c683ada1 templater: put 'ago' inside the age template filter
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 9113
diff changeset
136 <td class="nowrap">{date|age}</td>
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
137 <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a></td>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
138 <td class="nowrap">
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
139 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
140 <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> |
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
141 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
142 </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
143 </tr>'
8355
5ba798f339c8 monoblue: add branches page
Sune Foldager <cryo@cyanite.org>
parents: 8235
diff changeset
144 branches = branches.tmpl
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
145 branchentry = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
146 <tr class="parity{parity}">
9721
1d75c683ada1 templater: put 'ago' inside the age template filter
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 9113
diff changeset
147 <td class="nowrap">{date|age}</td>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
148 <td><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
8713
de6bb29e208a hgweb: allow distinction between open/closed branches on branches page
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8487
diff changeset
149 <td class="{status}">{branch|escape}</td>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
150 <td class="nowrap">
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
151 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
152 <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> |
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
153 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
154 </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
155 </tr>'
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
156 diffblock = '<pre>{lines}</pre>'
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
157 filediffparent = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
158 <dt>parent {rev}</dt>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
159 <dd><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>'
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
160 filelogparent = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
161 <tr>
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
162 <td align="right">parent {rev}:&nbsp;</td>
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
163 <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
164 </tr>'
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
165 filediffchild = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
166 <dt>child {rev}</dt>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
167 <dd><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>'
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
168 filelogchild = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
169 <tr>
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
170 <td align="right">child {rev}:&nbsp;</td>
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
171 <td><a href="{url}file{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
172 </tr>'
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
173 shortlog = shortlog.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
174 tagtag = '<span class="tagtag" title="{name}">{name}</span> '
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
175 branchtag = '<span class="branchtag" title="{name}">{name}</span> '
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
176 inbranchtag = '<span class="inbranchtag" title="{name}">{name}</span> '
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
177 shortlogentry = '
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
178 <tr class="parity{parity}">
9721
1d75c683ada1 templater: put 'ago' inside the age template filter
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 9113
diff changeset
179 <td class="nowrap">{date|age}</td>
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
180 <td>{author|person}</td>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
181 <td>
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
182 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
183 {desc|strip|firstline|escape|nonempty}
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
184 <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
185 </a>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
186 </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
187 <td class="nowrap">
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
188 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
189 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
190 </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
191 </tr>'
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
192 filelogentry = '
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
193 <tr class="parity{parity}">
9721
1d75c683ada1 templater: put 'ago' inside the age template filter
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 9113
diff changeset
194 <td class="nowrap">{date|age}</td>
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
195 <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a></td>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
196 <td class="nowrap">
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
197 <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a>&nbsp;|&nbsp;<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a>&nbsp;|&nbsp;<a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a>
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
198 {rename%filelogrename}
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
199 </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
200 </tr>'
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
201 archiveentry = '<li><a href="{url}archive/{node|short}{extension}">{type|escape}</a></li>'
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
202 indexentry = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
203 <tr class="parity{parity}">
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
204 <td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
205 <td>{description}</td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
206 <td>{contact|obfuscate}</td>
9721
1d75c683ada1 templater: put 'ago' inside the age template filter
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 9113
diff changeset
207 <td>{lastchange|age}</td>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
208 <td class="indexlinks">{archives%indexarchiveentry}</td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
209 <td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
210 <div class="rss_logo">
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
211 <a href="{url}rss-log">RSS</a>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
212 <a href="{url}atom-log">Atom</a>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
213 </div>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
214 </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
215 </tr>\n'
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
216 indexarchiveentry = '<a href="{url}archive/{node|short}{extension}">{type|escape}</a> '
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
217 index = index.tmpl
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
218 urlparameter = '{separator}{name}={value|urlescape}'
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
219 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
220 graph = graph.tmpl