author | Thomas Arendsen Hein <thomas@intevation.de> |
Wed, 11 Oct 2006 20:59:37 +0200 | |
changeset 3362 | 887da2247b57 |
parent 3305 | 0708bdb4987a |
child 3363 | ce8f31e0b3b8 |
permissions | -rw-r--r-- |
1901
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1695
diff
changeset
|
1 |
default = 'changelog' |
142 | 2 |
header = header.tmpl |
3 |
footer = footer.tmpl |
|
538 | 4 |
search = search.tmpl |
138 | 5 |
changelog = changelog.tmpl |
2686
d98eebc48d5e
[hgweb] Shortlog template for default theme
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
2173
diff
changeset
|
6 |
shortlog = shortlog.tmpl |
d98eebc48d5e
[hgweb] Shortlog template for default theme
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
2173
diff
changeset
|
7 |
shortlogentry = shortlogentry.tmpl |
3273
46188b9528ca
Add {getentries} to default style
Brendan Cully <brendan@kublai.com>
parents:
3265
diff
changeset
|
8 |
naventry = '<a href="#url#log/#rev#{getentries}">#label|escape#</a> ' |
46188b9528ca
Add {getentries} to default style
Brendan Cully <brendan@kublai.com>
parents:
3265
diff
changeset
|
9 |
navshortentry = '<a href="#url#shortlog/#rev#{getentries}">#label|escape#</a> ' |
46188b9528ca
Add {getentries} to default style
Brendan Cully <brendan@kublai.com>
parents:
3265
diff
changeset
|
10 |
filedifflink = '<a href="#url#diff/#node|short#/#file|urlescape#{getentries}">#file|escape#</a> ' |
46188b9528ca
Add {getentries} to default style
Brendan Cully <brendan@kublai.com>
parents:
3265
diff
changeset
|
11 |
filenodelink = '<a href="#url#file/#node|short#/#file|urlescape#{getentries}">#file|escape#</a> ' |
1901
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1695
diff
changeset
|
12 |
fileellipses = '...' |
138 | 13 |
changelogentry = changelogentry.tmpl |
708
e849b4db6c95
Use changelogentry.tmpl for search results, too.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
672
diff
changeset
|
14 |
searchentry = changelogentry.tmpl |
138 | 15 |
changeset = changeset.tmpl |
16 |
manifest = manifest.tmpl |
|
3305
0708bdb4987a
hgweb: add file sizes to manifest browsing
Matt Mackall <mpm@selenic.com>
parents:
3273
diff
changeset
|
17 |
manifestdirentry = '<tr class="parity#parity#"><td><tt>drwxr-xr-x</tt> <td> <td><a href="#url#file/#node|short##path|urlescape#{getentries}">#basename|escape#/</a>' |
0708bdb4987a
hgweb: add file sizes to manifest browsing
Matt Mackall <mpm@selenic.com>
parents:
3273
diff
changeset
|
18 |
manifestfileentry = '<tr class="parity#parity#"><td><tt>#permissions|permissions#</tt> <td align=right><tt>#size#</tt> <td><a href="#url#file/#node|short#/#file|urlescape#{getentries}">#basename|escape#</a>' |
138 | 19 |
filerevision = filerevision.tmpl |
20 |
fileannotate = fileannotate.tmpl |
|
21 |
filediff = filediff.tmpl |
|
22 |
filelog = filelog.tmpl |
|
1901
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1695
diff
changeset
|
23 |
fileline = '<div class="parity#parity#"><span class="lineno">#linenumber#</span>#line|escape#</div>' |
138 | 24 |
filelogentry = filelogentry.tmpl |
3273
46188b9528ca
Add {getentries} to default style
Brendan Cully <brendan@kublai.com>
parents:
3265
diff
changeset
|
25 |
annotateline = '<tr class="parity#parity#"><td class="annotate"><a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">#author|obfuscate#@#rev#</a></td><td><pre>#line|escape#</pre></td></tr>' |
1901
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1695
diff
changeset
|
26 |
difflineplus = '<span class="plusline">#line|escape#</span>' |
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1695
diff
changeset
|
27 |
difflineminus = '<span class="minusline">#line|escape#</span>' |
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1695
diff
changeset
|
28 |
difflineat = '<span class="atline">#line|escape#</span>' |
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1695
diff
changeset
|
29 |
diffline = '#line|escape#' |
3273
46188b9528ca
Add {getentries} to default style
Brendan Cully <brendan@kublai.com>
parents:
3265
diff
changeset
|
30 |
changelogparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td></tr>' |
46188b9528ca
Add {getentries} to default style
Brendan Cully <brendan@kublai.com>
parents:
3265
diff
changeset
|
31 |
changesetparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td></tr>' |
46188b9528ca
Add {getentries} to default style
Brendan Cully <brendan@kublai.com>
parents:
3265
diff
changeset
|
32 |
filerevparent = '<tr><td class="metatag">parent:</td><td><a href="#url#file/#node|short#/#file|urlescape#{getentries}">#node|short#</a></td></tr>' |
46188b9528ca
Add {getentries} to default style
Brendan Cully <brendan@kublai.com>
parents:
3265
diff
changeset
|
33 |
filerename = '<tr><td class="metatag">parent:</td><td><a href="#url#file/#node|short#/#file|urlescape#{getentries}">#file|escape#@#node|short#</a></td></tr>' |
46188b9528ca
Add {getentries} to default style
Brendan Cully <brendan@kublai.com>
parents:
3265
diff
changeset
|
34 |
filelogrename = '<tr><th>base:</th><td><a href="#url#file/#node|short#/#file|urlescape#{getentries}">#file|escape#@#node|short#</a></td></tr>' |
46188b9528ca
Add {getentries} to default style
Brendan Cully <brendan@kublai.com>
parents:
3265
diff
changeset
|
35 |
fileannotateparent = '<tr><td class="metatag">parent:</td><td><a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">#node|short#</a></td></tr>' |
46188b9528ca
Add {getentries} to default style
Brendan Cully <brendan@kublai.com>
parents:
3265
diff
changeset
|
36 |
changesetchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td></tr>' |
46188b9528ca
Add {getentries} to default style
Brendan Cully <brendan@kublai.com>
parents:
3265
diff
changeset
|
37 |
changelogchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td></tr>' |
46188b9528ca
Add {getentries} to default style
Brendan Cully <brendan@kublai.com>
parents:
3265
diff
changeset
|
38 |
filerevchild = '<tr><td class="metatag">child:</td><td><a href="#url#file/#node|short#/#file|urlescape#{getentries}">#node|short#</a></td></tr>' |
46188b9528ca
Add {getentries} to default style
Brendan Cully <brendan@kublai.com>
parents:
3265
diff
changeset
|
39 |
fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">#node|short#</a></td></tr>' |
168 | 40 |
tags = tags.tmpl |
3273
46188b9528ca
Add {getentries} to default style
Brendan Cully <brendan@kublai.com>
parents:
3265
diff
changeset
|
41 |
tagentry = '<li class="tagEntry parity#parity#"><tt class="node">#node#</tt> <a href="#url#rev/#node|short#{getentries}">#tag|escape#</a></li>' |
1901
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1695
diff
changeset
|
42 |
diffblock = '<pre class="parity#parity#">#lines#</pre>' |
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1695
diff
changeset
|
43 |
changelogtag = '<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>' |
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1695
diff
changeset
|
44 |
changesettag = '<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>' |
3273
46188b9528ca
Add {getentries} to default style
Brendan Cully <brendan@kublai.com>
parents:
3265
diff
changeset
|
45 |
filediffparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td></tr>' |
46188b9528ca
Add {getentries} to default style
Brendan Cully <brendan@kublai.com>
parents:
3265
diff
changeset
|
46 |
filelogparent = '<tr><th>parent #rev#:</th><td><a href="#url#file/#node|short#/#file|urlescape#{getentries}">#node|short#</a></td></tr>' |
46188b9528ca
Add {getentries} to default style
Brendan Cully <brendan@kublai.com>
parents:
3265
diff
changeset
|
47 |
filediffchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td></tr>' |
46188b9528ca
Add {getentries} to default style
Brendan Cully <brendan@kublai.com>
parents:
3265
diff
changeset
|
48 |
filelogchild = '<tr><th>child #rev#:</th><td><a href="#url#file/#node|short#/#file|urlescape#{getentries}">#node|short#</a></td></tr>' |
3265
d1aa83f199ef
Update templates to use NewWebInterface
Brendan Cully <brendan@kublai.com>
parents:
3206
diff
changeset
|
49 |
indexentry = '<tr class="parity#parity#"><td><a href="#url#">#name|escape#</a></td><td>#description#</td><td>#contact|obfuscate#</td><td class="age">#lastchange|age# ago</td><td class="indexlinks"><a href="#url#rss-log">RSS</a> #archives%archiveentry#</td></tr>' |
941 | 50 |
index = index.tmpl |
3265
d1aa83f199ef
Update templates to use NewWebInterface
Brendan Cully <brendan@kublai.com>
parents:
3206
diff
changeset
|
51 |
archiveentry = '<a href="#url#archive/#node|short##extension|urlescape#">#type|escape#</a> ' |
1123
457c23af92bd
Use a template for the error message.
Ollivier Robert <roberto@keltia.freenix.fr>
parents:
1077
diff
changeset
|
52 |
notfound = notfound.tmpl |
1554
68ec7b9e09a4
Catch IOErrors and RepoErrors when serving repositories via hgweb.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
1410
diff
changeset
|
53 |
error = error.tmpl |
3362
887da2247b57
hgweb: Keep session variables (currently only style) in HTML forms, too.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3305
diff
changeset
|
54 |
hiddenformentry = '<input type="hidden" name="#name#" value="#value|escape#" />' |