diff templates/map-gitweb @ 1572:385b8872b8e3

[hgweb] Initial import of the "gitweb" style
author Josef "Jeff" Sipek <jeffpc@optonline.net>
date Mon, 05 Dec 2005 04:30:47 -0500
parents
children 28305666f4c9
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/templates/map-gitweb
@@ -0,0 +1,42 @@
+default = "summary"
+header = header-gitweb.tmpl
+footer = footer-gitweb.tmpl
+search = search-gitweb.tmpl
+changelog = changelog-gitweb.tmpl
+summary = summary-gitweb.tmpl
+error = error-gitweb.tmpl
+naventry = "<a href="?cmd=changelog;rev=#rev#;style=gitweb">#label#</a> "
+navshortentry = "<a href="?cmd=shortlog;rev=#rev#;style=gitweb">#label#</a> "
+filedifflink = "<a href="?cmd=filediff;node=#node#;file=#file#;style=gitweb">#file#</a> "
+filenodelink = "<tr class="light"><td><a class="list" href="">#file#</a></td><td></td><td class="link"><a href="?cmd=file;filenode=#filenode#;file=#file#;style=gitweb">file</a> | <a href="http://FIXME">diff</a> | <a href="http://FIXME">revisions</a></td></tr>"
+fileellipses = "..."
+changelogentry = changelogentry-gitweb.tmpl
+searchentry = changelogentry-gitweb.tmpl
+changeset = changeset-gitweb.tmpl
+manifest = manifest-gitweb.tmpl
+manifestdirentry = "<tr class="parity#parity#"><td style="font-family:monospace">drwxr-xr-x</td><td><a href="?mf=#manifest|short#;path=#path#;style=gitweb">#basename#/</a></td><td class="link"><a href="?mf=#manifest|short#;path=#path#;style=gitweb">manifest</a></td></tr>"
+manifestfileentry = "<tr class="parity#parity#"><td style="font-family:monospace">#permissions|permissions#</td><td class="list"><a class="list" href="?f=#filenode|short#;file=#file#;style=gitweb">#basename#</a></td><td class="link"><a href="?f=#filenode|short#;file=#file#;style=gitweb">file</a> | <a href="?fl=#filenode|short#;file=#file#;style=gitweb">revisions</a> | <a href="?fa=#filenode|short#;file=#file#;style=gitweb">annotate</a></td></tr>"
+filerevision = filerevision-gitweb.tmpl
+fileannotate = fileannotate-gitweb.tmpl
+filediff = filediff-gitweb.tmpl
+filelog = filelog-gitweb.tmpl
+fileline = "<div class="pre"><a id="l#linenumber#" href="#l#linenumber#" class="linenr">   #linenumber#</a> #line|escape#</div>"
+filelogentry = filelogentry-gitweb.tmpl
+annotateline = "<tr class="parity#parity#"><td class="annotate"><a href="?cmd=changeset;node=#node#;style=gitweb">#author|obfuscate#@#rev#</a></td><td><pre>#line|escape#</pre></td></tr>"
+difflineplus = "<div class="pre" style="color:#008800;">#line|escape#</div>"
+difflineminus = "<div class="pre" style="color:#cc0000;">#line|escape#</div>"
+difflineat = "<div class="pre" style="color:#990099;">#line|escape#</div>"
+diffline = "<div class="pre">#line|escape#</div>"
+changelogparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cmd=changeset;node=#node#;style=gitweb">#node|short#</a></td></tr>"
+changesetparent = "<tr><td>parent</td><td style="font-family:monospace"><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb">#node|short#</a></td></tr>"
+filerevparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=file;file=#file#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>"
+fileannotateparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=annotate;file=#file#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>"
+tags = tags-gitweb.tmpl
+tagentry = "<tr class="parity#parity#"><td><i>#date|age# ago</i></td><td><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb"><b>#tag#</b></a></td><td class="link"><a href="?cmd=changeset;node=#node|short#;style=gitweb">changeset</a> | <a href="?cmd=changelog;rev=#node|short#;style=gitweb">changelog</a> |  <a href="?cmd=manifest;manifest=#manifest|short#;path=/;style=gitweb">manifest</a></td></tr>"
+diffblock = "#lines#"
+changelogtag = "<tr><th class="tag">tag:</th><td class="tag">#tag#</td></tr>"
+changesettag = "<tr><td>tag</td><td>#tag#</td></tr>"
+filediffparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cmd=changeset;node=#node#;style=gitweb">#node|short#</a></td></tr>"
+filelogparent = "<tr><td align="right">parent #rev#:&nbsp;</td><td><a href="?cmd=file;file=#file#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>"
+shortlog = shortlog-gitweb.tmpl
+shortlogentry = "<tr class="parity#parity#"><td><i>#date|age# ago</i></td><td><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb"><b>#desc|firstline|escape#</b></a></td><td class="link"><a href="?cmd=changeset;node=#node|short#;style=gitweb">changeset</a> |  <a href="?cmd=manifest;manifest=#manifest|short#;path=/;style=gitweb">manifest</a></td></tr>"