annotate pylons_app/templates/monoblue_plain/map @ 44:d924b931b488

Added managment pages. + fixed routing bug done a lot in templates
author marcink
date Wed, 07 Apr 2010 16:42:11 +0200
parents bbaab7501c1a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
1 default = 'summary'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
2 mimetype = 'text/html; charset={encoding}'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
3 header = header.tmpl
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
4 footer = footer.tmpl
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
5 search = search.tmpl
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
6 changelog = changelog.tmpl
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
7 summary = summary.tmpl
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
8 error = error.tmpl
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
9 notfound = notfound.tmpl
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
10 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
11 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
12 navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
13 filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
14 filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
15 filenodelink = '<tr class="parity{parity}"><td><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td><td></td><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> | <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a></td></tr>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
16 filenolink = '<tr class="parity{parity}"><td><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td><td></td><td>file | annotate | <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a></td></tr>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
17 fileellipses = '...'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
18 changelogentry = changelogentry.tmpl
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
19 searchentry = changelogentry.tmpl
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
20 changeset = changeset.tmpl
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
21 manifest = manifest.tmpl
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
22 direntry = '<tr class="row{parity}"><td>drwxr-xr-x</td><td></td><td></td><td><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">{basename|escape}</a></td><td><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a></td></tr>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
23 fileentry = '<tr class="row{parity}"><td>{permissions|permissions}</td><td>{date|isodate}</td><td>{size}</td><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{basename|escape}</a></td><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> | <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></td></tr>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
24 filerevision = filerevision.tmpl
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
25 fileannotate = fileannotate.tmpl
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
26 filediff = filediff.tmpl
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
27 filelog = filelog.tmpl
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
28 fileline = '<tr class="row{parity}"><td class="linenr"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a></td><td class="source">{line|escape}</td></tr>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
29 annotateline = '<tr class="row{parity}"><td class="linenr"><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}" title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a></td><td class="linenr"><a href="#{lineid}" id="{lineid}">{linenumber}</a></td><td class="source">{line|escape}</td></tr>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
30 difflineplus = '<span style="color:#008800;"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
31 difflineminus = '<span style="color:#cc0000;"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
32 difflineat = '<span style="color:#990099;"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
33 diffline = '<span><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
34 changelogparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
35 changesetbranch = '<dt>branch</dt><dd>{name}</dd>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
36 changesetparent = '<dt>parent {rev}</dt><dd><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
37 filerevbranch = '<dt>branch</dt><dd>{name}</dd>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
38 filerevparent = '<dt>parent {rev}</dt><dd><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></dd>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
39 filerename = '{file|escape}@'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
40 filelogrename = '| <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">base</a>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
41 fileannotateparent = '<dt>parent {rev}</dt><dd><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></dd>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
42 changelogchild = '<dt>child {rev}:</dt><dd><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
43 changesetchild = '<dt>child {rev}</dt><dd><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
44 filerevchild = '<dt>child {rev}</dt><dd><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
45 fileannotatechild = '<dt>child {rev}</dt><dd><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
46 tags = tags.tmpl
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
47 tagentry = '<tr class="parity{parity}"><td class="nowrap">{date|age} ago</td><td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a></td><td class="nowrap"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></td></tr>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
48 branchentry = '<tr class="row{parity}"><td class="nowrap">{date|age} ago</td><td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td><td>{branch|escape}</td><td class="nowrap"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></td></tr>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
49 diffblock = '<pre>{lines}</pre>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
50 filediffparent = '<dt>parent {rev}</dt><dd><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
51 filelogparent = '<tr><td align="right">parent {rev}:&nbsp;</td><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
52 filediffchild = '<tr><td>child {rev}</td><td style="font-family:monospace"><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
53 filelogchild = '<tr><td align="right">child {rev}:&nbsp;</td><td><a href="{url}file{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
54 shortlog = shortlog.tmpl
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
55 tagtag = '<span class="tagtag" title="{name}">{name}</span> '
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
56 branchtag = '<span class="branchtag" title="{name}">{name}</span> '
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
57 inbranchtag = '<span class="inbranchtag" title="{name}">{name}</span> '
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
58 shortlogentry = '<tr class="row{parity}"><td class="nowrap">{date|age} ago</td><td>{author|person}</td><td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape} <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span></a></td><td class="nowrap"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></td></tr>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
59 filelogentry = '<tr class="row{parity}"><td class="nowrap">{date|age} ago</td><td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape}</a></td><td class="nowrap"><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> {rename%filelogrename}</td></tr>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
60 archiveentry = '<li><a href="{url}archive/{node|short}{extension}">{type|escape}</a></li>'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
61 indexentry = '<tr class="row{parity}"><td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td><td>{description}</td><td>{contact|obfuscate}</td><td>{lastchange|age} ago</td><td class="indexlinks">{archives%indexarchiveentry}</td><td><div class="rss_logo"><a href="{url}rss-log">RSS</a> <a href="{url}atom-log">Atom</a></div></td></tr>\n'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
62 indexarchiveentry = '<a href="{url}archive/{node|short}{extension}">{type|escape}</a> '
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
63 index = index.tmpl
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
64 urlparameter = '{separator}{name}={value|urlescape}'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
65 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'
bbaab7501c1a Added custom templates, did over check of code to make it work.
Marcin Kuzminski
parents:
diff changeset
66 graph = graph.tmpl