author | Brendan Cully <brendan@kublai.com> |
Thu, 05 Oct 2006 14:27:14 -0700 | |
changeset 3271 | 36fa5db79dd5 |
parent 3234 | 9d13e21f4e3c |
permissions | -rw-r--r-- |
1901
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1668
diff
changeset
|
1 |
default = 'summary' |
3234
9d13e21f4e3c
Move gitweb theme into subdirectory
Brendan Cully <brendan@kublai.com>
parents:
3230
diff
changeset
|
2 |
header = gitweb/header.tmpl |
9d13e21f4e3c
Move gitweb theme into subdirectory
Brendan Cully <brendan@kublai.com>
parents:
3230
diff
changeset
|
3 |
footer = gitweb/footer.tmpl |
9d13e21f4e3c
Move gitweb theme into subdirectory
Brendan Cully <brendan@kublai.com>
parents:
3230
diff
changeset
|
4 |
search = gitweb/search.tmpl |
9d13e21f4e3c
Move gitweb theme into subdirectory
Brendan Cully <brendan@kublai.com>
parents:
3230
diff
changeset
|
5 |
changelog = gitweb/changelog.tmpl |
9d13e21f4e3c
Move gitweb theme into subdirectory
Brendan Cully <brendan@kublai.com>
parents:
3230
diff
changeset
|
6 |
summary = gitweb/summary.tmpl |
9d13e21f4e3c
Move gitweb theme into subdirectory
Brendan Cully <brendan@kublai.com>
parents:
3230
diff
changeset
|
7 |
error = gitweb/error.tmpl |
3271
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
8 |
naventry = '<a href="#url#log/#rev#{getentries}">#label|escape#</a> ' |
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
9 |
navshortentry = '<a href="#url#shortlog/#rev#{getentries}">#label|escape#</a> ' |
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
10 |
filedifflink = '<a href="#url#diff/#node|short#/#file|urlescape#{getentries}">#file|escape#</a> ' |
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
11 |
filenodelink = '<tr class="parity#parity#"><td><a class="list" href="">#file|escape#</a></td><td></td><td class="link"><a href="#url#file/#node|short#/#file|urlescape#{getentries}">file</a> | <a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">annotate</a> <!-- FIX ME | <a href="#url#diff/#node|short#/#file|urlescape#{getentries}">diff</a> --> | <a href="#url#log/#node|short#/#file|urlescape#{getentries}">revisions</a></td></tr>' |
1901
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1668
diff
changeset
|
12 |
fileellipses = '...' |
3234
9d13e21f4e3c
Move gitweb theme into subdirectory
Brendan Cully <brendan@kublai.com>
parents:
3230
diff
changeset
|
13 |
changelogentry = gitweb/changelogentry.tmpl |
9d13e21f4e3c
Move gitweb theme into subdirectory
Brendan Cully <brendan@kublai.com>
parents:
3230
diff
changeset
|
14 |
searchentry = gitweb/changelogentry.tmpl |
9d13e21f4e3c
Move gitweb theme into subdirectory
Brendan Cully <brendan@kublai.com>
parents:
3230
diff
changeset
|
15 |
changeset = gitweb/changeset.tmpl |
9d13e21f4e3c
Move gitweb theme into subdirectory
Brendan Cully <brendan@kublai.com>
parents:
3230
diff
changeset
|
16 |
manifest = gitweb/manifest.tmpl |
3271
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
17 |
manifestdirentry = '<tr class="parity#parity#"><td style="font-family:monospace">drwxr-xr-x</td><td><a href="#url#file/#node|short##path|urlescape#{getentries}">#basename|escape#/</a></td><td class="link"><a href="#url#file/#node|short##path|urlescape#{getentries}">manifest</a></td></tr>' |
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
18 |
manifestfileentry = '<tr class="parity#parity#"><td style="font-family:monospace">#permissions|permissions#</td><td class="list"><a class="list" href="#url#file/#node|short#/#file|urlescape#{getentries}">#basename|escape#</a></td><td class="link"><a href="#url#file/#node|short#/#file|urlescape#{getentries}">file</a> | <a href="#url#log/#node|short#/#file|urlescape#{getentries}">revisions</a> | <a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">annotate</a></td></tr>' |
3234
9d13e21f4e3c
Move gitweb theme into subdirectory
Brendan Cully <brendan@kublai.com>
parents:
3230
diff
changeset
|
19 |
filerevision = gitweb/filerevision.tmpl |
9d13e21f4e3c
Move gitweb theme into subdirectory
Brendan Cully <brendan@kublai.com>
parents:
3230
diff
changeset
|
20 |
fileannotate = gitweb/fileannotate.tmpl |
9d13e21f4e3c
Move gitweb theme into subdirectory
Brendan Cully <brendan@kublai.com>
parents:
3230
diff
changeset
|
21 |
filelog = gitweb/filelog.tmpl |
3023
a7d93a22f28c
gitweb: fix file page display problem on IE (6.0)
TK Soh <teekaysoh@yahoo.com>
parents:
3022
diff
changeset
|
22 |
fileline = '<div style="font-family:monospace" class="parity#parity#"><pre><span class="linenr"> #linenumber#</span> #line|escape#</pre></div>' |
3271
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
23 |
annotateline = '<tr style="font-family:monospace" class="parity#parity#"><td class="linenr" style="text-align: right;"><a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">#author|obfuscate#@#rev#</a></td><td><pre>#line|escape#</pre></td></tr>' |
3022 | 24 |
difflineplus = '<div style="color:#008800;">#line|escape#</div>' |
25 |
difflineminus = '<div style="color:#cc0000;">#line|escape#</div>' |
|
26 |
difflineat = '<div style="color:#990099;">#line|escape#</div>' |
|
27 |
diffline = '<div>#line|escape#</div>' |
|
3271
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
28 |
changelogparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td></tr>' |
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
29 |
changesetparent = '<tr><td>parent</td><td style="font-family:monospace"><a class="list" href="#url#rev/#node|short#{getentries}">#node|short#</a></td></tr>' |
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
30 |
filerevparent = '<tr><td class="metatag">parent:</td><td><a href="{url}file/{node|short}/#file|urlescape#{getentries}">#node|short#</a></td></tr>' |
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
31 |
filerename = '<tr><td class="metatag">parent:</td><td><a href="{url}file/#node|short#/#file|urlescape#{getentries}">#file|escape#@#node|short#</a></td></tr>' |
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
32 |
filelogrename = '| <a href="{url}file/#node|short#/#file|urlescape#{getentries}">base</a>' |
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
33 |
fileannotateparent = '<tr><td class="metatag">parent:</td><td><a href="{url}annotate/{node|short}/#file|urlescape#{getentries}">#node|short#</a></td></tr>' |
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
34 |
changelogchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="{url}rev/#node|short#{getentries}">#node|short#</a></td></tr>' |
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
35 |
changesetchild = '<tr><td>child</td><td style="font-family:monospace"><a class="list" href="{url}rev/#node|short#{getentries}">#node|short#</a></td></tr>' |
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
36 |
filerevchild = '<tr><td class="metatag">child:</td><td><a href="{url}file/{node|short}#file|urlescape#{getentries}">#node|short#</a></td></tr>' |
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
37 |
fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="{url}annotate/{node|short}/#file|urlescape#{getentries}">#node|short#</a></td></tr>' |
3234
9d13e21f4e3c
Move gitweb theme into subdirectory
Brendan Cully <brendan@kublai.com>
parents:
3230
diff
changeset
|
38 |
tags = gitweb/tags.tmpl |
3271
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
39 |
tagentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><a class="list" href="{url}rev/{node|short}{getentries}"><b>#tag|escape#</b></a></td><td class="link"><a href="{url}rev/#node|short#{getentries}">changeset</a> | <a href="{url}log/#node|short#{getentries}">changelog</a> | <a href="{url}file/#node|short#{getentries}">manifest</a></td></tr>' |
3022 | 40 |
diffblock = '<pre>#lines#</pre>' |
1901
c64bef3d7043
use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents:
1668
diff
changeset
|
41 |
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:
1668
diff
changeset
|
42 |
changesettag = '<tr><td>tag</td><td>#tag|escape#</td></tr>' |
3271
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
43 |
filediffparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="{url}rev/#node|short#{getentries}">#node|short#</a></td></tr>' |
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
44 |
filelogparent = '<tr><td align="right">parent #rev#: </td><td><a href="{url}file/{node|short}/#file|urlescape#{getentries}">#node|short#</a></td></tr>' |
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
45 |
filediffchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="{url}rev/#node|short#{getentries}">#node|short#</a></td></tr>' |
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
46 |
filelogchild = '<tr><td align="right">child #rev#: </td><td><a href="{url}file{node|short}/#file|urlescape#{getentries}">#node|short#</a></td></tr>' |
3234
9d13e21f4e3c
Move gitweb theme into subdirectory
Brendan Cully <brendan@kublai.com>
parents:
3230
diff
changeset
|
47 |
shortlog = gitweb/shortlog.tmpl |
3271
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
48 |
shortlogentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><i>#author#</i></td><td><a class="list" href="{url}rev/#node|short#{getentries}"><b>#desc|strip|firstline|escape#</b></a></td><td class="link"><a href="{url}rev/#node|short#{getentries}">changeset</a> | <a href="{url}file/#node|short#{getentries}">manifest</a></td></tr>' |
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
49 |
filelogentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><a class="list" href="{url}rev/#node|short#{getentries}"><b>#desc|strip|firstline|escape#</b></a></td><td class="link"><a href="{url}file/#node|short#/#file|urlescape#{getentries}">file</a> | <!-- FIXME: <a href="{url}diff/#node|short#/#file|urlescape#{getentries}">diff</a> | --> <a href="{url}annotate/#node|short#/#file|urlescape#{getentries}">annotate</a> #rename%filelogrename#</td></tr>' |
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
50 |
archiveentry = ' | <a href="{url}archive/{node|short}{extension}">#type|escape#</a> ' |
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
51 |
indexentry = '<tr class="parity#parity#"><td><a class="list" href="#url#"><b>#name|escape#</b></a></td><td>#description#</td><td>#contact|obfuscate#</td><td class="age">#lastchange|age# ago</td><td class="indexlinks"><a class="rss_logo" href="#url#rss-log">RSS</a> #archives%archiveentry#</td></tr>' |
3234
9d13e21f4e3c
Move gitweb theme into subdirectory
Brendan Cully <brendan@kublai.com>
parents:
3230
diff
changeset
|
52 |
index = gitweb/index.tmpl |