##// END OF EJS Templates
commit: trade O(n^2) file checks for O(n^2) dir checks
commit: trade O(n^2) file checks for O(n^2) dir checks

File last commit:

r8487:33841282 default
r8710:bcb6e5be default
Show More
map
250 lines | 10.3 KiB | text/plain | TextLexer
Thomas Arendsen Hein
Moved hgweb map-* files into their style directories and adjusted them.
r3277 default = 'summary'
Dirkjan Ochtman
hgweb: move HTTP content types out of header templates...
r5928 mimetype = 'text/html; charset={encoding}'
Thomas Arendsen Hein
Moved hgweb map-* files into their style directories and adjusted them.
r3277 header = header.tmpl
footer = footer.tmpl
search = search.tmpl
changelog = changelog.tmpl
summary = summary.tmpl
error = error.tmpl
Brendan Cully
gitweb: add notfound template
r4842 notfound = notfound.tmpl
Brendan Cully
Convert changenav bar from revisions to hashes (closes issue189)
r3422 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
Dirkjan Ochtman
templates: fix navigation links for graph entries
r6701 navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
Brendan Cully
Convert changenav bar from revisions to hashes (closes issue189)
r3422 filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
Martin Geisler
gitweb: break long lines in map file
r8374 filenodelink = '
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <tr class="parity{parity}">
<td><a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td>
Martin Geisler
gitweb: break long lines in map file
r8374 <td></td>
<td class="link">
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <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>
Martin Geisler
gitweb: break long lines in map file
r8374 </td>
</tr>'
filenolink = '
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <tr class="parity{parity}">
<td><a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td>
Martin Geisler
gitweb: break long lines in map file
r8374 <td></td>
<td class="link">
file |
annotate |
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> |
<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a>
Martin Geisler
gitweb: break long lines in map file
r8374 </td>
</tr>'
Thomas Arendsen Hein
Moved hgweb map-* files into their style directories and adjusted them.
r3277 fileellipses = '...'
changelogentry = changelogentry.tmpl
searchentry = changelogentry.tmpl
changeset = changeset.tmpl
manifest = manifest.tmpl
Martin Geisler
gitweb: break long lines in map file
r8374 direntry = '
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <tr class="parity{parity}">
Martin Geisler
gitweb: break long lines in map file
r8374 <td style="font-family:monospace">drwxr-xr-x</td>
<td style="font-family:monospace"></td>
<td style="font-family:monospace"></td>
<td>
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">{basename|escape}</a>
<a href="{url}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">{emptydirs|escape}</a>
Martin Geisler
gitweb: break long lines in map file
r8374 </td>
<td class="link">
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a>
Martin Geisler
gitweb: break long lines in map file
r8374 </td>
</tr>'
fileentry = '
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <tr class="parity{parity}">
<td style="font-family:monospace">{permissions|permissions}</td>
<td style="font-family:monospace" align=right>{date|isodate}</td>
<td style="font-family:monospace" align=right>{size}</td>
Martin Geisler
gitweb: break long lines in map file
r8374 <td class="list">
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <a class="list" href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{basename|escape}</a>
Martin Geisler
gitweb: break long lines in map file
r8374 </td>
<td class="link">
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <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>
Martin Geisler
gitweb: break long lines in map file
r8374 </td>
</tr>'
Thomas Arendsen Hein
Moved hgweb map-* files into their style directories and adjusted them.
r3277 filerevision = filerevision.tmpl
fileannotate = fileannotate.tmpl
Brendan Cully
gitweb: add file diff view
r3353 filediff = filediff.tmpl
Thomas Arendsen Hein
Moved hgweb map-* files into their style directories and adjusted them.
r3277 filelog = filelog.tmpl
Martin Geisler
gitweb, monoblue: break long line in map file
r8487 fileline = '
<div style="font-family:monospace" class="parity{parity}">
<pre>
<a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}
</pre>
</div>'
Martin Geisler
gitweb: break long lines in map file
r8374 annotateline = '
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <tr style="font-family:monospace" class="parity{parity}">
Martin Geisler
gitweb: break long lines in map file
r8374 <td class="linenr" style="text-align: right;">
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}"
title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a>
Martin Geisler
gitweb: break long lines in map file
r8374 </td>
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <td><pre><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a></pre></td>
<td><pre>{line|escape}</pre></td>
Martin Geisler
gitweb: break long lines in map file
r8374 </tr>'
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 difflineplus = '<span style="color:#008800;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
difflineminus = '<span style="color:#cc0000;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
difflineat = '<span style="color:#990099;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
diffline = '<span><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
Martin Geisler
gitweb: break long lines in map file
r8374 changelogparent = '
<tr>
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <th class="parent">parent {rev}:</th>
Martin Geisler
gitweb: break long lines in map file
r8374 <td class="parent">
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
Martin Geisler
gitweb: break long lines in map file
r8374 </td>
</tr>'
Florent Guillaume
gitweb: show branches in most of the templates
r6250 changesetbranch = '<tr><td>branch</td><td>{name}</td></tr>'
Martin Geisler
gitweb: break long lines in map file
r8374 changesetparent = '
<tr>
<td>parent {rev}</td>
<td style="font-family:monospace">
<a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
</td>
</tr>'
Florent Guillaume
gitweb: show branches in most of the templates
r6250 filerevbranch = '<tr><td>branch</td><td>{name}</td></tr>'
Martin Geisler
gitweb: break long lines in map file
r8374 filerevparent = '
<tr>
<td>parent {rev}</td>
<td style="font-family:monospace">
<a class="list" href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
{rename%filerename}{node|short}
</a>
</td>
</tr>'
Brendan Cully
hgweb: better file rename links
r3393 filerename = '{file|escape}@'
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 filelogrename = '| <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">base</a>'
Martin Geisler
gitweb: break long lines in map file
r8374 fileannotateparent = '
<tr>
<td>parent {rev}</td>
<td style="font-family:monospace">
<a class="list" href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
{rename%filerename}{node|short}
</a>
</td>
</tr>'
changelogchild = '
<tr>
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <th class="child">child {rev}:</th>
<td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
Martin Geisler
gitweb: break long lines in map file
r8374 </tr>'
changesetchild = '
<tr>
<td>child {rev}</td>
<td style="font-family:monospace">
<a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
</td>
</tr>'
filerevchild = '
<tr>
<td>child {rev}</td>
<td style="font-family:monospace">
<a class="list" href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
</tr>'
fileannotatechild = '
<tr>
<td>child {rev}</td>
<td style="font-family:monospace">
<a class="list" href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
</tr>'
Thomas Arendsen Hein
Moved hgweb map-* files into their style directories and adjusted them.
r3277 tags = tags.tmpl
Martin Geisler
gitweb: break long lines in map file
r8374 tagentry = '
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <tr class="parity{parity}">
<td class="age"><i>{date|age} ago</i></td>
<td><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"><b>{tag|escape}</b></a></td>
Martin Geisler
gitweb: break long lines in map file
r8374 <td class="link">
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <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>
Martin Geisler
gitweb: break long lines in map file
r8374 </td>
</tr>'
Sune Foldager
gitweb: add branches page
r8356 branches = branches.tmpl
Martin Geisler
gitweb: break long lines in map file
r8374 branchentry = '
<tr class="parity{parity}">
<td class="age"><i>{date|age} ago</i></td>
<td><a class="list" href="{url}shortlog/{node|short}{sessionvars%urlparameter}"><b>{node|short}</b></a></td>
<td>{branch|escape}</td>
<td class="link">
<a href="{url}changeset/{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>'
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 diffblock = '<pre>{lines}</pre>'
Martin Geisler
gitweb: break long lines in map file
r8374 filediffparent = '
<tr>
<td>parent {rev}</td>
<td style="font-family:monospace">
<a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
{node|short}
</a>
</td>
</tr>'
filelogparent = '
<tr>
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <td align="right">parent {rev}:&nbsp;</td>
<td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
Martin Geisler
gitweb: break long lines in map file
r8374 </tr>'
filediffchild = '
<tr>
<td>child {rev}</td>
<td style="font-family:monospace">
<a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a>
</td>
</tr>'
filelogchild = '
<tr>
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <td align="right">child {rev}:&nbsp;</td>
<td><a href="{url}file{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
Martin Geisler
gitweb: break long lines in map file
r8374 </tr>'
Thomas Arendsen Hein
Moved hgweb map-* files into their style directories and adjusted them.
r3277 shortlog = shortlog.tmpl
Augie Fackler
hgweb: Fix up non-coal styles to support graph.
r6693 graph = graph.tmpl
Josef "Jeff" Sipek
gitweb: Display branch and tag labels...
r4538 tagtag = '<span class="tagtag" title="{name}">{name}</span> '
branchtag = '<span class="branchtag" title="{name}">{name}</span> '
Florent Guillaume
gitweb: show branches in most of the templates
r6250 inbranchtag = '<span class="inbranchtag" title="{name}">{name}</span> '
Martin Geisler
gitweb: break long lines in map file
r8374 shortlogentry = '
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <tr class="parity{parity}">
<td class="age"><i>{date|age} ago</i></td>
<td><i>{author|person}</i></td>
Martin Geisler
gitweb: break long lines in map file
r8374 <td>
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">
<b>{desc|strip|firstline|escape|nonempty}</b>
Martin Geisler
gitweb: break long lines in map file
r8374 <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span>
</a>
</td>
<td class="link" nowrap>
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
<a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
Martin Geisler
gitweb: break long lines in map file
r8374 </td>
</tr>'
filelogentry = '
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <tr class="parity{parity}">
<td class="age"><i>{date|age} ago</i></td>
Martin Geisler
gitweb: break long lines in map file
r8374 <td>
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">
<b>{desc|strip|firstline|escape|nonempty}</b>
Martin Geisler
gitweb: break long lines in map file
r8374 </a>
</td>
<td class="link">
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 <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>
Martin Geisler
gitweb: break long lines in map file
r8374 </tr>'
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 archiveentry = ' | <a href="{url}archive/{node|short}{extension}">{type|escape}</a> '
Martin Geisler
gitweb: break long lines in map file
r8374 indexentry = '
<tr class="parity{parity}">
<td>
<a class="list" href="{url}{sessionvars%urlparameter}">
<b>{name|escape}</b>
</a>
</td>
<td>{description}</td>
<td>{contact|obfuscate}</td>
<td class="age">{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'
Brendan Cully
gitweb: remove some line breaks in archive and rss columns....
r6218 indexarchiveentry = ' <a href="{url}archive/{node|short}{extension}">{type|escape}</a> '
Thomas Arendsen Hein
Moved hgweb map-* files into their style directories and adjusted them.
r3277 index = index.tmpl
Dirkjan Ochtman
git: use newer template syntax everywhere
r8427 urlparameter = '{separator}{name}={value|urlescape}'
hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'