Mercurial > hg
diff templates/map @ 142:529bf610092e
Prettify the web interface
Add header, footer templates
Add null parent handling
Combine files and directories
Add parity flag for alternating line colors
Add line numbers to filerevision
author | mpm@selenic.com |
---|---|
date | Mon, 23 May 2005 20:57:48 -0800 |
parents | c77a679e9cfa |
children | bf325dce498e |
line wrap: on
line diff
--- a/templates/map Mon May 23 16:06:25 2005 -0800 +++ b/templates/map Mon May 23 20:57:48 2005 -0800 @@ -1,3 +1,5 @@ +header = header.tmpl +footer = footer.tmpl changelog = changelog.tmpl naventry = "<a href="?cmd=changelog;pos=#rev#">#rev#</a> " filedifflink = "<a href="?cmd=filediff;node=#node#;file=#file#">#file#</a> " @@ -6,15 +8,20 @@ changelogentry = changelogentry.tmpl changeset = changeset.tmpl manifest = manifest.tmpl -manifestdirentry = "<a href="?cmd=manifest;manifest=#manifest#;path=#path#">#basename#/</a><br />" -manifestfileentry = "<a href="?cmd=file;filenode=#filenode#;file=#file#">#basename#</a><br /> " +manifestdirentry = "<div class=parity#parity#><a href="?cmd=manifest;manifest=#manifest#;path=#path#">#basename#/</a><br /></div>" +manifestfileentry = "<div class=parity#parity#><a href="?cmd=file;filenode=#filenode#;file=#file#">#basename#</a><br /></div>" filerevision = filerevision.tmpl fileannotate = fileannotate.tmpl filediff = filediff.tmpl filelog = filelog.tmpl +fileline = "<div class=parity#parity#><span class=lineno>#linenumber# </span>#line#</div>" filelogentry = filelogentry.tmpl -annotateline = "<tr><td align = right><a href="?cmd=changeset;node=#node#">#author#@#rev#</a>:</td><td><pre>#line#</pre></td></tr>" +annotateline = "<tr class=parity#parity#><td class=annotate><a href="?cmd=changeset;node=#node#">#author#@#rev#</a></td><td><pre>#line#</pre></td></tr>" difflineplus = "<span class=plusline>#line#</span>" difflineminus = "<span class=minusline>#line#</span>" difflineat = "<span class=atline>#line#</span>" -diffline = "#line#" \ No newline at end of file +diffline = "#line#" +changelogparent = "<tr><td align=right>parent: </td><td><a href="?cmd=changeset;node=#node">#rev#:#node#</a></td></tr>" +changesetparent = "<tr><td class=metatag>parent:</td><td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr>" +filerevparent = "<tr><td class=metatag>parent:</td><td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr>" +fileannotateparent = "<tr><td class=metatag>parent:</td><td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr>"