templates/monoblue/map
author Martin Geisler <mg@lazybytes.net>
Mon, 03 Aug 2009 00:02:00 +0200
changeset 9299 fbe7172026f7
parent 9113 f439d82f018c
child 9721 1d75c683ada1
permissions -rw-r--r--
help: un-indent list in "hg help diffs"
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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>'
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
    35
fileellipses = '...'
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
    36
changelogentry = changelogentry.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
    37
searchentry = changelogentry.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
    38
changeset = changeset.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
    39
manifest = manifest.tmpl
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
    40
direntry = '
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
    41
  <tr class="parity{parity}">
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
    42
    <td>drwxr-xr-x</td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
    43
    <td></td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
    44
    <td></td>
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
    45
    <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
    46
    <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
    47
  </tr>'
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
    48
fileentry = '
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
    49
  <tr class="parity{parity}">
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
    50
    <td>{permissions|permissions}</td>
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
    51
    <td>{date|isodate}</td>
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
    52
    <td>{size}</td>
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
    53
    <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
    54
    <td>
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
    55
      <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
    56
      <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
    57
      <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
    58
    </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
    59
  </tr>'
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
    60
filerevision = filerevision.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
    61
fileannotate = fileannotate.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
    62
filediff = filediff.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
    63
filelog = filelog.tmpl
8487
338412820a57 gitweb, monoblue: break long line in map file
Martin Geisler <mg@lazybytes.net>
parents: 8430
diff changeset
    64
fileline = '
338412820a57 gitweb, monoblue: break long line in map file
Martin Geisler <mg@lazybytes.net>
parents: 8430
diff changeset
    65
  <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
    66
    <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
    67
  </div>'
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
    68
annotateline = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
    69
  <tr class="parity{parity}">
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
    70
    <td class="linenr">
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
    71
      <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
    72
         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
    73
    </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
    74
    <td class="lineno">
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
    75
      <a href="#{lineid}" id="{lineid}">{linenumber}</a>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
    76
    </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
    77
    <td class="source">{line|escape}</td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
    78
  </tr>'
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
    79
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
    80
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
    81
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
    82
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
    83
changelogparent = '
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
    <th class="parent">parent {rev}:</th>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
    86
    <td class="parent">
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
    87
      <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
    88
    </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
    89
  </tr>'
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
    90
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
    91
changesetparent = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
    92
  <dt>parent {rev}</dt>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
    93
  <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
    94
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
    95
filerevparent = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
    96
  <dt>parent {rev}</dt>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
    97
  <dd>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
    98
    <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
    99
      {rename%filerename}{node|short}
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   100
    </a>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   101
  </dd>'
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
   102
filerename = '{file|escape}@'
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
   103
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
   104
fileannotateparent = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   105
  <dt>parent {rev}</dt>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   106
  <dd>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   107
    <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
   108
      {rename%filerename}{node|short}
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   109
    </a>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   110
  </dd>'
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   111
changelogchild = '
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
   112
  <dt>child {rev}:</dt>
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
   113
  <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
   114
changesetchild = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   115
  <dt>child {rev}</dt>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   116
  <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
   117
filerevchild = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   118
  <dt>child {rev}</dt>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   119
  <dd>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   120
    <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
   121
  </dd>'
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   122
fileannotatechild = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   123
  <dt>child {rev}</dt>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   124
  <dd>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   125
    <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
   126
  </dd>'
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
   127
tags = tags.tmpl
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   128
tagentry = '
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
   129
  <tr class="parity{parity}">
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
   130
    <td class="nowrap">{date|age} ago</td>
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
   131
    <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
   132
    <td class="nowrap">
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
   133
      <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
   134
      <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
   135
      <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
   136
    </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   137
  </tr>'
8355
5ba798f339c8 monoblue: add branches page
Sune Foldager <cryo@cyanite.org>
parents: 8235
diff changeset
   138
branches = branches.tmpl
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   139
branchentry = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   140
  <tr class="parity{parity}">
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   141
    <td class="nowrap">{date|age} ago</td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   142
    <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
   143
    <td class="{status}">{branch|escape}</td>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   144
    <td class="nowrap">
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   145
      <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
   146
      <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
   147
      <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
   148
    </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   149
  </tr>'
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
   150
diffblock = '<pre>{lines}</pre>'
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   151
filediffparent = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   152
  <dt>parent {rev}</dt>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   153
  <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
   154
filelogparent = '
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
    <td align="right">parent {rev}:&nbsp;</td>
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
   157
    <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
   158
  </tr>'
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   159
filediffchild = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   160
  <dt>child {rev}</dt>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   161
  <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
   162
filelogchild = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   163
  <tr>
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
   164
    <td align="right">child {rev}:&nbsp;</td>
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
   165
    <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
   166
  </tr>'
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
   167
shortlog = shortlog.tmpl
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
   168
tagtag = '<span class="tagtag" title="{name}">{name}</span> '
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
   169
branchtag = '<span class="branchtag" title="{name}">{name}</span> '
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
   170
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
   171
shortlogentry = '
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
   172
  <tr class="parity{parity}">
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
   173
    <td class="nowrap">{date|age} ago</td>
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
   174
    <td>{author|person}</td>
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   175
    <td>
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
   176
      <a href="{url}rev/{node|short}{sessionvars%urlparameter}">
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
   177
        {desc|strip|firstline|escape|nonempty}
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   178
        <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
   179
      </a>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   180
    </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   181
    <td class="nowrap">
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}">changeset</a> |
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
   183
      <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
   184
    </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   185
  </tr>'
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   186
filelogentry = '
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
   187
  <tr class="parity{parity}">
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
   188
    <td class="nowrap">{date|age} ago</td>
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
   189
    <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
   190
    <td class="nowrap">
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
   191
      <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
   192
      {rename%filelogrename}
8375
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   193
    </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   194
  </tr>'
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
   195
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
   196
indexentry = '
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   197
  <tr class="parity{parity}">
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   198
    <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
   199
    <td>{description}</td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   200
    <td>{contact|obfuscate}</td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   201
    <td>{lastchange|age} ago</td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   202
    <td class="indexlinks">{archives%indexarchiveentry}</td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   203
    <td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   204
      <div class="rss_logo">
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   205
        <a href="{url}rss-log">RSS</a>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   206
        <a href="{url}atom-log">Atom</a>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   207
      </div>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   208
    </td>
7c28949d1d1e monoblue: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8355
diff changeset
   209
  </tr>\n'
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
   210
indexarchiveentry = '<a href="{url}archive/{node|short}{extension}">{type|escape}</a> '
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
   211
index = index.tmpl
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
   212
urlparameter = '{separator}{name}={value|urlescape}'
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8375
diff changeset
   213
hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
   214
graph = graph.tmpl