templates/paper/map
author Dirkjan Ochtman <dirkjan@ochtman.nl>
Tue, 25 Nov 2008 22:40:16 +0100
changeset 7411 b71ee3e00e81
parent 7407 7b2a77b20964
child 7668 876de22b70b8
permissions -rw-r--r--
coal/paper: move actual templates from coal to paper
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     1
default = 'shortlog'
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     2
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     3
mimetype = 'text/html; charset={encoding}'
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     4
header = header.tmpl
7411
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
     5
footer = footer.tmpl
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
     6
search = search.tmpl
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     7
7411
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
     8
changelog = shortlog.tmpl
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
     9
shortlog = shortlog.tmpl
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    10
shortlogentry = shortlogentry.tmpl
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    11
graph = graph.tmpl
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    12
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    13
naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    14
navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
6701
bf72e756c98b templates: fix navigation links for graph entries
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6692
diff changeset
    15
navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    16
filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    17
filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    18
filenodelink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
7182
295af5bc1bcc hgweb: remove links to non-existent file versions
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6905
diff changeset
    19
filenolink = '{file|escape} '
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    20
fileellipses = '...'
7411
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    21
changelogentry = shortlogentry.tmpl
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    22
searchentry = shortlogentry.tmpl
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    23
changeset = changeset.tmpl
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    24
manifest = manifest.tmpl
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    25
7305
c21d236ca897 hgweb: descend empty directories in web view
Ry4an Brase <ry4an-hg@ry4an.org>
parents: 7182
diff changeset
    26
direntry = '<tr class="fileline parity{parity}"><td class="name"><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}"><img src="{staticurl}coal-folder.png"> {basename|escape}/</a> <a href="{url}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">{emptydirs|escape}</a><td class="size"></td><td class="permissions">drwxr-xr-x</td></tr>'
6905
248e54a9456e coal/paper: make output well-formed and fix css syntax error breaking rendering
Rocco Rutte <pdmef@gmx.net>
parents: 6735
diff changeset
    27
fileentry = '<tr class="fileline parity{parity}"><td class="filename"><a href="{url}file/{node|short}/{file|urlescape}#l1{sessionvars%urlparameter}"><img src="{staticurl}coal-file.png"> {basename|escape}</a></td><td class="size">{size}</td><td class="permissions">{permissions|permissions}</td></tr>'
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    28
7411
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    29
filerevision = filerevision.tmpl
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    30
fileannotate = fileannotate.tmpl
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    31
filediff = filediff.tmpl
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    32
filelog = filelog.tmpl
7394
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7305
diff changeset
    33
fileline = '<div class="parity{parity} source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</div>'
7411
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    34
filelogentry = filelogentry.tmpl
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    35
7394
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7305
diff changeset
    36
annotateline = '<tr class="parity{parity}"><td class="annotate"><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}" title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a></td><td class="source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</td></tr>'
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    37
7394
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7305
diff changeset
    38
diffblock = '<div class="source bottomline parity{parity}">{lines}</div>'
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7305
diff changeset
    39
difflineplus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="plusline">{line|escape}</span>'
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7305
diff changeset
    40
difflineminus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="minusline">{line|escape}</span>'
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7305
diff changeset
    41
difflineat = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="atline">{line|escape}</span>'
03b60f2f90bf hgweb (coal/paper): make file, diff and annotate easier to render
Brendan Cully <brendan@kublai.com>
parents: 7305
diff changeset
    42
diffline = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}'
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    43
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    44
changelogparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    45
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    46
changesetparent = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> '
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    47
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    48
filerevparent = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a> '
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    49
filerevchild = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> '
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    50
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    51
filerename = '{file|escape}@'
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    52
filelogrename = '<tr><th>base:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}@{node|short}</a></td></tr>'
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    53
fileannotateparent = '<tr><td class="metatag">parent:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></td></tr>'
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    54
changesetchild = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>'
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    55
changelogchild = '<tr><th class="child">child</th><td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    56
fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
7411
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    57
tags = tags.tmpl
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    58
tagentry = '<tr class="tagEntry parity{parity}"><td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a></td><td class="node">{node|short}</td></tr>'
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    59
changelogtag = '<span class="tag">{name|escape}</span> '
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    60
changesettag = '<span class="tag">{tag|escape}</span> '
7407
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
    61
changelogbranchhead = '<span class="branchhead">{name|escape}</span> '
7b2a77b20964 coal/paper: display branch names in log
Benoit Allard <benoit@aeteurope.nl>
parents: 7394
diff changeset
    62
changelogbranchname = '<span class="branchname">{name|escape}</span> ' 
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    63
filediffparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    64
filelogparent = '<tr><th>parent {rev}:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    65
filediffchild = '<tr><th class="child">child {rev}:</th><td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    66
filelogchild = '<tr><th>child {rev}:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
6735
8b09b0864781 Remove RSS/atom links from coal/paper index
Brendan Cully <brendan@kublai.com>
parents: 6734
diff changeset
    67
indexentry = '<tr class="parity{parity}"><td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td><td>{description}</td><td>{contact|obfuscate}</td><td class="age">{lastchange|age} ago</td><td class="indexlinks">{archives%indexarchiveentry}</td></tr>\n'
6734
41edbc2e0b0b Improve archive links in coal/paper index
Brendan Cully <brendan@kublai.com>
parents: 6701
diff changeset
    68
indexarchiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}">&nbsp;&darr;{type|escape}</a>'
7411
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    69
index = index.tmpl
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    70
archiveentry = '<li><a href="{url}archive/{node|short}{extension|urlescape}">{type|escape}</a></li>'
7411
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    71
notfound = notfound.tmpl
b71ee3e00e81 coal/paper: move actual templates from coal to paper
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7407
diff changeset
    72
error = error.tmpl
6661
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    73
urlparameter = '{separator}{name}={value|urlescape}'
d1a312daa574 hgweb: add paper style derived from coal
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
    74
hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'