##// END OF EJS Templates
hgweb: Keep session variables (currently only style) in HTML forms, too....
hgweb: Keep session variables (currently only style) in HTML forms, too. Adjusted default and gitweb template for this.

File last commit:

r3362:887da224 default
r3362:887da224 default
Show More
map
54 lines | 4.6 KiB | text/plain | TextLexer
Vadim Gelfer
use safer string parser for template engine.
r1901 default = 'changelog'
mpm@selenic.com
Prettify the web interface...
r142 header = header.tmpl
footer = footer.tmpl
mpm@selenic.com
Add multiple keyword search to hgweb...
r538 search = search.tmpl
mpm@selenic.com
Revamped templated hgweb
r138 changelog = changelog.tmpl
Josef "Jeff" Sipek
[hgweb] Shortlog template for default theme
r2686 shortlog = shortlog.tmpl
shortlogentry = shortlogentry.tmpl
Brendan Cully
Add {getentries} to default style
r3273 naventry = '<a href="#url#log/#rev#{getentries}">#label|escape#</a> '
navshortentry = '<a href="#url#shortlog/#rev#{getentries}">#label|escape#</a> '
filedifflink = '<a href="#url#diff/#node|short#/#file|urlescape#{getentries}">#file|escape#</a> '
filenodelink = '<a href="#url#file/#node|short#/#file|urlescape#{getentries}">#file|escape#</a> '
Vadim Gelfer
use safer string parser for template engine.
r1901 fileellipses = '...'
mpm@selenic.com
Revamped templated hgweb
r138 changelogentry = changelogentry.tmpl
Thomas Arendsen Hein
Use changelogentry.tmpl for search results, too....
r708 searchentry = changelogentry.tmpl
mpm@selenic.com
Revamped templated hgweb
r138 changeset = changeset.tmpl
manifest = manifest.tmpl
Matt Mackall
hgweb: add file sizes to manifest browsing
r3305 manifestdirentry = '<tr class="parity#parity#"><td><tt>drwxr-xr-x</tt>&nbsp;<td>&nbsp;<td><a href="#url#file/#node|short##path|urlescape#{getentries}">#basename|escape#/</a>'
manifestfileentry = '<tr class="parity#parity#"><td><tt>#permissions|permissions#</tt>&nbsp;<td align=right><tt>#size#</tt>&nbsp;<td><a href="#url#file/#node|short#/#file|urlescape#{getentries}">#basename|escape#</a>'
mpm@selenic.com
Revamped templated hgweb
r138 filerevision = filerevision.tmpl
fileannotate = fileannotate.tmpl
filediff = filediff.tmpl
filelog = filelog.tmpl
Vadim Gelfer
use safer string parser for template engine.
r1901 fileline = '<div class="parity#parity#"><span class="lineno">#linenumber#</span>#line|escape#</div>'
mpm@selenic.com
Revamped templated hgweb
r138 filelogentry = filelogentry.tmpl
Brendan Cully
Add {getentries} to default style
r3273 annotateline = '<tr class="parity#parity#"><td class="annotate"><a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">#author|obfuscate#@#rev#</a></td><td><pre>#line|escape#</pre></td></tr>'
Vadim Gelfer
use safer string parser for template engine.
r1901 difflineplus = '<span class="plusline">#line|escape#</span>'
difflineminus = '<span class="minusline">#line|escape#</span>'
difflineat = '<span class="atline">#line|escape#</span>'
diffline = '#line|escape#'
Brendan Cully
Add {getentries} to default style
r3273 changelogparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td></tr>'
changesetparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td></tr>'
filerevparent = '<tr><td class="metatag">parent:</td><td><a href="#url#file/#node|short#/#file|urlescape#{getentries}">#node|short#</a></td></tr>'
filerename = '<tr><td class="metatag">parent:</td><td><a href="#url#file/#node|short#/#file|urlescape#{getentries}">#file|escape#@#node|short#</a></td></tr>'
filelogrename = '<tr><th>base:</th><td><a href="#url#file/#node|short#/#file|urlescape#{getentries}">#file|escape#@#node|short#</a></td></tr>'
fileannotateparent = '<tr><td class="metatag">parent:</td><td><a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">#node|short#</a></td></tr>'
changesetchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td></tr>'
changelogchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td></tr>'
filerevchild = '<tr><td class="metatag">child:</td><td><a href="#url#file/#node|short#/#file|urlescape#{getentries}">#node|short#</a></td></tr>'
fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">#node|short#</a></td></tr>'
mpm@selenic.com
hgweb: add tags links and manifest links...
r168 tags = tags.tmpl
Brendan Cully
Add {getentries} to default style
r3273 tagentry = '<li class="tagEntry parity#parity#"><tt class="node">#node#</tt> <a href="#url#rev/#node|short#{getentries}">#tag|escape#</a></li>'
Vadim Gelfer
use safer string parser for template engine.
r1901 diffblock = '<pre class="parity#parity#">#lines#</pre>'
changelogtag = '<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>'
changesettag = '<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>'
Brendan Cully
Add {getentries} to default style
r3273 filediffparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td></tr>'
filelogparent = '<tr><th>parent #rev#:</th><td><a href="#url#file/#node|short#/#file|urlescape#{getentries}">#node|short#</a></td></tr>'
filediffchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td></tr>'
filelogchild = '<tr><th>child #rev#:</th><td><a href="#url#file/#node|short#/#file|urlescape#{getentries}">#node|short#</a></td></tr>'
Brendan Cully
Update templates to use NewWebInterface
r3265 indexentry = '<tr class="parity#parity#"><td><a href="#url#">#name|escape#</a></td><td>#description#</td><td>#contact|obfuscate#</td><td class="age">#lastchange|age# ago</td><td class="indexlinks"><a href="#url#rss-log">RSS</a> #archives%archiveentry#</td></tr>'
mpm@selenic.com
Add a multi-repository server...
r941 index = index.tmpl
Brendan Cully
Update templates to use NewWebInterface
r3265 archiveentry = '<a href="#url#archive/#node|short##extension|urlescape#">#type|escape#</a> '
Ollivier Robert
Use a template for the error message.
r1123 notfound = notfound.tmpl
Thomas Arendsen Hein
Catch IOErrors and RepoErrors when serving repositories via hgweb.
r1554 error = error.tmpl
Thomas Arendsen Hein
hgweb: Keep session variables (currently only style) in HTML forms, too....
r3362 hiddenformentry = '<input type="hidden" name="#name#" value="#value|escape#" />'