Mercurial > hg-stable
changeset 7338:fecfe4392e94
hgweb: move old style to spartan/
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 06 Nov 2008 11:57:37 -0600 |
parents | feb0b76b6717 |
children | d11473955d30 |
files | templates/changelog.tmpl templates/changelogentry.tmpl templates/changeset.tmpl templates/error.tmpl templates/fileannotate.tmpl templates/filediff.tmpl templates/filelog.tmpl templates/filelogentry.tmpl templates/filerevision.tmpl templates/footer.tmpl templates/graph.tmpl templates/header.tmpl templates/index.tmpl templates/manifest.tmpl templates/map templates/notfound.tmpl templates/search.tmpl templates/shortlog.tmpl templates/shortlogentry.tmpl templates/spartan/changelog.tmpl templates/spartan/changelogentry.tmpl templates/spartan/changeset.tmpl templates/spartan/error.tmpl templates/spartan/fileannotate.tmpl templates/spartan/filediff.tmpl templates/spartan/filelog.tmpl templates/spartan/filelogentry.tmpl templates/spartan/filerevision.tmpl templates/spartan/footer.tmpl templates/spartan/graph.tmpl templates/spartan/header.tmpl templates/spartan/index.tmpl templates/spartan/manifest.tmpl templates/spartan/map templates/spartan/notfound.tmpl templates/spartan/search.tmpl templates/spartan/shortlog.tmpl templates/spartan/shortlogentry.tmpl templates/spartan/tags.tmpl templates/tags.tmpl |
diffstat | 40 files changed, 649 insertions(+), 649 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/changelog.tmpl Thu Nov 06 11:56:01 2008 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,42 +0,0 @@ -#header# -<title>#repo|escape#: changelog</title> -<link rel="alternate" type="application/atom+xml" - href="#url#atom-log" title="Atom feed for #repo|escape#"> -<link rel="alternate" type="application/rss+xml" - href="#url#rss-log" title="RSS feed for #repo|escape#"> -</head> -<body> - -<div class="buttons"> -<a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a> -<a href="#url#graph{sessionvars%urlparameter}">graph</a> -<a href="#url#tags{sessionvars%urlparameter}">tags</a> -<a href="#url#file/#node|short#{sessionvars%urlparameter}">files</a> -#archives%archiveentry# -<a type="application/rss+xml" href="#url#rss-log">rss</a> -<a type="application/atom+xml" href="#url#atom-log" title="Atom feed for #repo|escape#">atom</a> -</div> - -<h2>changelog for #repo|escape#</h2> - -<form action="#url#log"> -{sessionvars%hiddenformentry} -<p> -<label for="search1">search:</label> -<input name="rev" id="search1" type="text" size="30"> -navigate: <small class="navigate">#changenav%naventry#</small> -</p> -</form> - -#entries%changelogentry# - -<form action="#url#log"> -{sessionvars%hiddenformentry} -<p> -<label for="search2">search:</label> -<input name="rev" id="search2" type="text" size="30"> -navigate: <small class="navigate">#changenav%naventry#</small> -</p> -</form> - -#footer#
--- a/templates/changelogentry.tmpl Thu Nov 06 11:56:01 2008 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -<table class="logEntry parity#parity#"> - <tr> - <th class="age">#date|age# ago:</th> - <th class="firstline">#desc|strip|firstline|escape#</th> - </tr> - <tr> - <th class="revision">changeset #rev#:</th> - <td class="node"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td> - </tr> - #parent%changelogparent# - #child%changelogchild# - #changelogtag# - <tr> - <th class="author">author:</th> - <td class="author">#author|obfuscate#</td> - </tr> - <tr> - <th class="date">date:</th> - <td class="date">#date|date#</td> - </tr> - <tr> - <th class="files"><a href="#url#file/#node|short#{sessionvars%urlparameter}">files</a>:</th> - <td class="files">#files#</td> - </tr> -</table>
--- a/templates/changeset.tmpl Thu Nov 06 11:56:01 2008 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,50 +0,0 @@ -#header# -<title>#repo|escape#: changeset #node|short#</title> -</head> -<body> - -<div class="buttons"> -<a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a> -<a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a> -<a href="#url#graph{sessionvars%urlparameter}">graph</a> -<a href="#url#tags{sessionvars%urlparameter}">tags</a> -<a href="#url#file/#node|short#{sessionvars%urlparameter}">files</a> -<a href="#url#raw-rev/#node|short#">raw</a> -#archives%archiveentry# -</div> - -<h2>changeset: #desc|strip|escape|firstline#</h2> - -<table id="changesetEntry"> -<tr> - <th class="changeset">changeset #rev#:</th> - <td class="changeset"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td> -</tr> -#parent%changesetparent# -#child%changesetchild# -#changesettag# -<tr> - <th class="author">author:</th> - <td class="author">#author|obfuscate#</td> -</tr> -<tr> - <th class="date">date:</th> - <td class="date">#date|date# (#date|age# ago)</td> -</tr> -<tr> - <th class="files">files:</th> - <td class="files">#files#</td> -</tr> -<tr> - <th class="description">description:</th> - <td class="description">#desc|strip|escape|addbreaks#</td> -</tr> -</table> - -<div id="changesetDiff"> -#diff# -</div> - -#footer# - -
--- a/templates/error.tmpl Thu Nov 06 11:56:01 2008 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ -#header# -<title>Mercurial Error</title> -</head> -<body> - -<h2>Mercurial Error</h2> - -<p> -An error occurred while processing your request: -</p> -<p> -#error|escape# -</p> - -#footer#
--- a/templates/fileannotate.tmpl Thu Nov 06 11:56:01 2008 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,49 +0,0 @@ -#header# -<title>#repo|escape#: #file|escape# annotate</title> -</head> -<body> - -<div class="buttons"> -<a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a> -<a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a> -<a href="#url#graph{sessionvars%urlparameter}">graph</a> -<a href="#url#tags{sessionvars%urlparameter}">tags</a> -<a href="#url#rev/#node|short#{sessionvars%urlparameter}">changeset</a> -<a href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</a> -<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#raw-annotate/#node|short#/#file|urlescape#">raw</a> -</div> - -<h2>Annotate #file|escape#</h2> - -<table> -<tr> - <td class="metatag">changeset #rev#:</td> - <td><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr> -#parent%fileannotateparent# -#child%fileannotatechild# -<tr> - <td class="metatag">author:</td> - <td>#author|obfuscate#</td></tr> -<tr> - <td class="metatag">date:</td> - <td>#date|date# (#date|age# ago)</td> -</tr> -<tr> - <td class="metatag">permissions:</td> - <td>#permissions|permissions#</td> -</tr> -<tr> - <td class="metatag">description:</td> - <td>{desc|strip|escape|addbreaks}</td> -</tr> -</table> - -<br/> - -<table cellspacing="0" cellpadding="0"> -#annotate%annotateline# -</table> - -#footer#
--- a/templates/filediff.tmpl Thu Nov 06 11:56:01 2008 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,35 +0,0 @@ -#header# -<title>#repo|escape#: #file|escape# diff</title> -</head> -<body> - -<div class="buttons"> -<a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a> -<a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a> -<a href="#url#graph{sessionvars%urlparameter}">graph</a> -<a href="#url#tags{sessionvars%urlparameter}">tags</a> -<a href="#url#rev/#node|short#{sessionvars%urlparameter}">changeset</a> -<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> -<a href="#url#raw-diff/#node|short#/#file|urlescape#">raw</a> -</div> - -<h2>#file|escape#</h2> - -<table id="filediffEntry"> -<tr> - <th class="revision">revision #rev#:</th> - <td class="revision"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td> -</tr> -#parent%filediffparent# -#child%filediffchild# -</table> - -<div id="fileDiff"> -#diff# -</div> - -#footer# - -
--- a/templates/filelog.tmpl Thu Nov 06 11:56:01 2008 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ -#header# -<title>#repo|escape#: #file|escape# history</title> -<link rel="alternate" type="application/atom+xml" - href="#url#atom-log/tip/#file|urlescape#" title="Atom feed for #repo|escape#:#file#"> -<link rel="alternate" type="application/rss+xml" - href="#url#rss-log/tip/#file|urlescape#" title="RSS feed for #repo|escape#:#file#"> -</head> -<body> - -<div class="buttons"> -<a href="#url#log{sessionvars%urlparameter}">changelog</a> -<a href="#url#shortlog{sessionvars%urlparameter}">shortlog</a> -<a href="#url#graph{sessionvars%urlparameter}">graph</a> -<a href="#url#tags{sessionvars%urlparameter}">tags</a> -<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 type="application/rss+xml" href="#url#rss-log/tip/#file|urlescape#">rss</a> -<a type="application/atom+xml" href="#url#atom-log/tip/#file|urlescape#" title="Atom feed for #repo|escape#:#file#">atom</a> -</div> - -<h2>#file|escape# revision history</h2> - -<p>navigate: <small class="navigate">{nav%filenaventry}</small></p> - -#entries%filelogentry# - -#footer#
--- a/templates/filelogentry.tmpl Thu Nov 06 11:56:01 2008 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -<table class="logEntry parity#parity#"> - <tr> - <th class="age">#date|age# ago:</th> - <th class="firstline"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#desc|strip|firstline|escape#</a></th> - </tr> - <tr> - <th class="revision">revision #filerev#:</td> - <td class="node"> - <a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a> - <a href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">(diff)</a> - <a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">(annotate)</a> - </td> - </tr> - #rename%filelogrename# - <tr> - <th class="author">author:</th> - <td class="author">#author|obfuscate#</td> - </tr> - <tr> - <th class="date">date:</th> - <td class="date">#date|date#</td> - </tr> -</table> - -
--- a/templates/filerevision.tmpl Thu Nov 06 11:56:01 2008 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,45 +0,0 @@ -#header# -<title>#repo|escape#:#file|escape#</title> -</head> -<body> - -<div class="buttons"> -<a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a> -<a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a> -<a href="#url#graph{sessionvars%urlparameter}">graph</a> -<a href="#url#tags{sessionvars%urlparameter}">tags</a> -<a href="#url#rev/#node|short#{sessionvars%urlparameter}">changeset</a> -<a href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</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> -<a href="#url#raw-file/#node|short#/#file|urlescape#">raw</a> -</div> - -<h2>#file|escape#</h2> - -<table> -<tr> - <td class="metatag">changeset #rev#:</td> - <td><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr> -#parent%filerevparent# -#child%filerevchild# -<tr> - <td class="metatag">author:</td> - <td>#author|obfuscate#</td></tr> -<tr> - <td class="metatag">date:</td> - <td>#date|date# (#date|age# ago)</td></tr> -<tr> - <td class="metatag">permissions:</td> - <td>#permissions|permissions#</td></tr> -<tr> - <td class="metatag">description:</td> - <td>{desc|strip|escape|addbreaks}</td> -</tr> -</table> - -<pre> -#text%fileline# -</pre> - -#footer#
--- a/templates/footer.tmpl Thu Nov 06 11:56:01 2008 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,8 +0,0 @@ -#motd# -<div class="logo"> -<a href="http://www.selenic.com/mercurial/"> -<img src="#staticurl#hglogo.png" width=75 height=90 border=0 alt="mercurial"></a> -</div> - -</body> -</html>
--- a/templates/graph.tmpl Thu Nov 06 11:56:01 2008 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,95 +0,0 @@ -#header# -<title>#repo|escape#: graph</title> -<link rel="alternate" type="application/atom+xml" - href="#url#atom-tags" title="Atom feed for #repo|escape#: tags"> -<link rel="alternate" type="application/rss+xml" - href="#url#rss-tags" title="RSS feed for #repo|escape#: tags"> -<!--[if IE]><script type="text/javascript" src="#staticurl#excanvas.js"></script><![endif]--> -</head> -<body> - -<div class="buttons"> -<a href="#url#log{sessionvars%urlparameter}">changelog</a> -<a href="#url#shortlog{sessionvars%urlparameter}">shortlog</a> -<a href="#url#tags{sessionvars%urlparameter}">tags</a> -<a href="#url#file/#node|short#/{sessionvars%urlparameter}">files</a> -</div> - -<h2>graph</h2> - -<form action="#url#log"> -{sessionvars%hiddenformentry} -<p> -<label for="search1">search:</label> -<input name="rev" id="search1" type="text" size="30"> -navigate: <small class="navigate">#changenav%navgraphentry#</small> -</p> -</form> - -<noscript>The revision graph only works with JavaScript-enabled browsers.</noscript> - -<div id="wrapper"> -<ul id="nodebgs"></ul> -<canvas id="graph" width="224" height="#canvasheight#"></canvas> -<ul id="graphnodes"></ul> -</div> - -<script type="text/javascript" src="#staticurl#graph.js"></script> -<script type="text/javascript"> -<!-- hide script content - -var data = {jsdata|json}; -var graph = new Graph(); -graph.scale({bg_height}); - -graph.edge = function(x0, y0, x1, y1, color) { - - this.setColor(color, 0.0, 0.65); - this.ctx.beginPath(); - this.ctx.moveTo(x0, y0); - this.ctx.lineTo(x1, y1); - this.ctx.stroke(); - -} - -var revlink = '<li style="_STYLE"><span class="desc">'; -revlink += '<a href="{url}rev/_NODEID{sessionvars%urlparameter}" title="_NODEID">_DESC</a>'; -revlink += '</span><span class="info">_DATE ago, by _USER</span></li>'; - -graph.vertex = function(x, y, color, parity, cur) { - - this.ctx.beginPath(); - color = this.setColor(color, 0.25, 0.75); - this.ctx.arc(x, y, radius, 0, Math.PI * 2, true); - this.ctx.fill(); - - var bg = '<li class="bg parity' + parity + '"></li>'; - var left = (this.columns + 1) * this.bg_height; - var nstyle = 'padding-left: ' + left + 'px;'; - var item = revlink.replace(/_STYLE/, nstyle); - item = item.replace(/_PARITY/, 'parity' + parity); - item = item.replace(/_NODEID/, cur[0]); - item = item.replace(/_NODEID/, cur[0]); - item = item.replace(/_DESC/, cur[3]); - item = item.replace(/_USER/, cur[4]); - item = item.replace(/_DATE/, cur[5]); - - return [bg, item]; - -} - -graph.render(data); - -// stop hiding script --> -</script> - -<form action="#url#log"> -{sessionvars%hiddenformentry} -<p> -<label for="search1">search:</label> -<input name="rev" id="search1" type="text" size="30"> -navigate: <small class="navigate">#changenav%navgraphentry#</small> -</p> -</form> - -#footer#
--- a/templates/header.tmpl Thu Nov 06 11:56:01 2008 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,6 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<link rel="icon" href="#staticurl#hgicon.png" type="image/png"> -<meta name="robots" content="index, nofollow" /> -<link rel="stylesheet" href="#staticurl#style.css" type="text/css" />
--- a/templates/index.tmpl Thu Nov 06 11:56:01 2008 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -#header# -<title>Mercurial repositories index</title> -</head> -<body> - -<h2>Mercurial Repositories</h2> - -<table> - <tr> - <td><a href="?sort=#sort_name#">Name</a></td> - <td><a href="?sort=#sort_description#">Description</a></td> - <td><a href="?sort=#sort_contact#">Contact</a></td> - <td><a href="?sort=#sort_lastchange#">Last change</a></td> - <td> </td> - </tr> - #entries%indexentry# -</table> - -#footer#
--- a/templates/manifest.tmpl Thu Nov 06 11:56:01 2008 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ -#header# -<title>#repo|escape#: files for changeset #node|short#</title> -</head> -<body> - -<div class="buttons"> -<a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a> -<a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a> -<a href="#url#graph{sessionvars%urlparameter}">graph</a> -<a href="#url#tags{sessionvars%urlparameter}">tags</a> -<a href="#url#rev/#node|short#{sessionvars%urlparameter}">changeset</a> -#archives%archiveentry# -</div> - -<h2>files for changeset #node|short#: #path|escape#</h2> - -<table cellpadding="0" cellspacing="0"> -<tr class="parity#upparity#"> - <td><tt>drwxr-xr-x</tt> - <td> - <td> - <td><a href="#url#file/#node|short##up|urlescape#{sessionvars%urlparameter}">[up]</a> -</tr> -#dentries%direntry# -#fentries%fileentry# -</table> -#footer#
--- a/templates/map Thu Nov 06 11:56:01 2008 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,60 +0,0 @@ -default = 'shortlog' -mimetype = 'text/html; charset={encoding}' -header = header.tmpl -footer = footer.tmpl -search = search.tmpl -changelog = changelog.tmpl -shortlog = shortlog.tmpl -shortlogentry = shortlogentry.tmpl -graph = graph.tmpl -naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' -navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' -navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' -filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> ' -filedifflink = '<a href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#file|escape#</a> ' -filenodelink = '<a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#file|escape#</a> ' -filenolink = '{file|escape} ' -fileellipses = '...' -changelogentry = changelogentry.tmpl -searchentry = changelogentry.tmpl -changeset = changeset.tmpl -manifest = manifest.tmpl -direntry = '<tr class="parity#parity#"><td><tt>drwxr-xr-x</tt> <td> <td> <td><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|urlescape#</a>' -fileentry = '<tr class="parity#parity#"><td><tt>#permissions|permissions#</tt> <td align=right><tt class="date">#date|isodate#</tt> <td align=right><tt>#size#</tt> <td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#basename|escape#</a>' -filerevision = filerevision.tmpl -fileannotate = fileannotate.tmpl -filediff = filediff.tmpl -filelog = filelog.tmpl -fileline = '<div class="parity#parity#"><a class="lineno" href="##lineid#" id="#lineid#">#linenumber#</a>#line|escape#</div>' -filelogentry = filelogentry.tmpl -annotateline = '<tr class="parity#parity#"><td class="annotate"><a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}#l{targetline}" title="{node|short}: {desc|escape|firstline}">#author|user#@#rev#</a></td><td><a class="lineno" href="##lineid#" id="#lineid#">#linenumber#</a></td><td><pre>#line|escape#</pre></td></tr>' -difflineplus = '<span class="plusline"><a class="lineno" href="##lineid#" id="#lineid#">#linenumber#</a>#line|escape#</span>' -difflineminus = '<span class="minusline"><a class="lineno" href="##lineid#" id="#lineid#">#linenumber#</a>#line|escape#</span>' -difflineat = '<span class="atline"><a class="lineno" href="##lineid#" id="#lineid#">#linenumber#</a>#line|escape#</span>' -diffline = '<a class="lineno" href="##lineid#" id="#lineid#">#linenumber#</a>#line|escape#' -changelogparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>' -changesetparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>' -filerevparent = '<tr><td class="metatag">parent:</td><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></td></tr>' -filerename = '{file|escape}@' -filelogrename = '<tr><th>base:</th><td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#file|escape#@#node|short#</a></td></tr>' -fileannotateparent = '<tr><td class="metatag">parent:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></td></tr>' -changesetchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>' -changelogchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>' -filerevchild = '<tr><td class="metatag">child:</td><td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>' -fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>' -tags = tags.tmpl -tagentry = '<li class="tagEntry parity#parity#"><tt class="node">#node#</tt> <a href="#url#rev/#node|short#{sessionvars%urlparameter}">#tag|escape#</a></li>' -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>' -filediffparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>' -filelogparent = '<tr><th>parent #rev#:</th><td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>' -filediffchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>' -filelogchild = '<tr><th>child #rev#:</th><td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>' -indexentry = '<tr class="parity#parity#"><td><a href="#url#{sessionvars%urlparameter}">#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> <a href="#url#atom-log">Atom</a> #archives%archiveentry#</td></tr>' -index = index.tmpl -archiveentry = '<a href="#url#archive/#node|short##extension|urlescape#">#type|escape#</a> ' -notfound = notfound.tmpl -error = error.tmpl -urlparameter = '#separator##name#=#value|urlescape#' -hiddenformentry = '<input type="hidden" name="#name#" value="#value|escape#" />'
--- a/templates/notfound.tmpl Thu Nov 06 11:56:01 2008 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -#header# -<title>Mercurial repository not found</title> -</head> -<body> - -<h2>Mercurial repository not found</h2> - -The specified repository "#repo|escape#" is unknown, sorry. - -Please go back to the main repository list page. - -#footer#
--- a/templates/search.tmpl Thu Nov 06 11:56:01 2008 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,35 +0,0 @@ -#header# -<title>#repo|escape#: searching for #query|escape#</title> -</head> -<body> - -<div class="buttons"> -<a href="#url#log{sessionvars%urlparameter}">changelog</a> -<a href="#url#shortlog{sessionvars%urlparameter}">shortlog</a> -<a href="#url#graph{sessionvars%urlparameter}">graph</a> -<a href="#url#tags{sessionvars%urlparameter}">tags</a> -<a href="#url#file/#node|short#{sessionvars%urlparameter}">files</a> -#archives%archiveentry# -</div> - -<h2>searching for #query|escape#</h2> - -<form> -{sessionvars%hiddenformentry} -<p> -search: -<input name="rev" type="text" width="30" value="#query|escape#"> -</p> -</form> - -#entries# - -<form> -{sessionvars%hiddenformentry} -<p> -search: -<input name="rev" type="text" width="30" value="#query|escape#"> -</p> -</form> - -#footer#
--- a/templates/shortlog.tmpl Thu Nov 06 11:56:01 2008 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,42 +0,0 @@ -#header# -<title>#repo|escape#: shortlog</title> -<link rel="alternate" type="application/atom+xml" - href="#url#atom-log" title="Atom feed for #repo|escape#"> -<link rel="alternate" type="application/rss+xml" - href="#url#rss-log" title="RSS feed for #repo|escape#"> -</head> -<body> - -<div class="buttons"> -<a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a> -<a href="#url#graph{sessionvars%urlparameter}">graph</a> -<a href="#url#tags{sessionvars%urlparameter}">tags</a> -<a href="#url#file/#node|short#/{sessionvars%urlparameter}">files</a> -#archives%archiveentry# -<a type="application/rss+xml" href="#url#rss-log">rss</a> -<a type="application/rss+xml" href="#url#atom-log" title="Atom feed for #repo|escape#">atom</a> -</div> - -<h2>shortlog for #repo|escape#</h2> - -<form action="#url#log"> -{sessionvars%hiddenformentry} -<p> -<label for="search1">search:</label> -<input name="rev" id="search1" type="text" size="30"> -navigate: <small class="navigate">#changenav%navshortentry#</small> -</p> -</form> - -#entries%shortlogentry# - -<form action="#url#log"> -{sessionvars%hiddenformentry} -<p> -<label for="search2">search:</label> -<input name="rev" id="search2" type="text" size="30"> -navigate: <small class="navigate">#changenav%navshortentry#</small> -</p> -</form> - -#footer#
--- a/templates/shortlogentry.tmpl Thu Nov 06 11:56:01 2008 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ -<table class="slogEntry parity#parity#"> - <tr> - <td class="age">#date|age#</td> - <td class="author">#author|person#</td> - <td class="node"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#desc|strip|firstline|escape#</a></td> - </tr> -</table>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/spartan/changelog.tmpl Thu Nov 06 11:57:37 2008 -0600 @@ -0,0 +1,42 @@ +#header# +<title>#repo|escape#: changelog</title> +<link rel="alternate" type="application/atom+xml" + href="#url#atom-log" title="Atom feed for #repo|escape#"> +<link rel="alternate" type="application/rss+xml" + href="#url#rss-log" title="RSS feed for #repo|escape#"> +</head> +<body> + +<div class="buttons"> +<a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a> +<a href="#url#graph{sessionvars%urlparameter}">graph</a> +<a href="#url#tags{sessionvars%urlparameter}">tags</a> +<a href="#url#file/#node|short#{sessionvars%urlparameter}">files</a> +#archives%archiveentry# +<a type="application/rss+xml" href="#url#rss-log">rss</a> +<a type="application/atom+xml" href="#url#atom-log" title="Atom feed for #repo|escape#">atom</a> +</div> + +<h2>changelog for #repo|escape#</h2> + +<form action="#url#log"> +{sessionvars%hiddenformentry} +<p> +<label for="search1">search:</label> +<input name="rev" id="search1" type="text" size="30"> +navigate: <small class="navigate">#changenav%naventry#</small> +</p> +</form> + +#entries%changelogentry# + +<form action="#url#log"> +{sessionvars%hiddenformentry} +<p> +<label for="search2">search:</label> +<input name="rev" id="search2" type="text" size="30"> +navigate: <small class="navigate">#changenav%naventry#</small> +</p> +</form> + +#footer#
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/spartan/changelogentry.tmpl Thu Nov 06 11:57:37 2008 -0600 @@ -0,0 +1,25 @@ +<table class="logEntry parity#parity#"> + <tr> + <th class="age">#date|age# ago:</th> + <th class="firstline">#desc|strip|firstline|escape#</th> + </tr> + <tr> + <th class="revision">changeset #rev#:</th> + <td class="node"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td> + </tr> + #parent%changelogparent# + #child%changelogchild# + #changelogtag# + <tr> + <th class="author">author:</th> + <td class="author">#author|obfuscate#</td> + </tr> + <tr> + <th class="date">date:</th> + <td class="date">#date|date#</td> + </tr> + <tr> + <th class="files"><a href="#url#file/#node|short#{sessionvars%urlparameter}">files</a>:</th> + <td class="files">#files#</td> + </tr> +</table>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/spartan/changeset.tmpl Thu Nov 06 11:57:37 2008 -0600 @@ -0,0 +1,50 @@ +#header# +<title>#repo|escape#: changeset #node|short#</title> +</head> +<body> + +<div class="buttons"> +<a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a> +<a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a> +<a href="#url#graph{sessionvars%urlparameter}">graph</a> +<a href="#url#tags{sessionvars%urlparameter}">tags</a> +<a href="#url#file/#node|short#{sessionvars%urlparameter}">files</a> +<a href="#url#raw-rev/#node|short#">raw</a> +#archives%archiveentry# +</div> + +<h2>changeset: #desc|strip|escape|firstline#</h2> + +<table id="changesetEntry"> +<tr> + <th class="changeset">changeset #rev#:</th> + <td class="changeset"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td> +</tr> +#parent%changesetparent# +#child%changesetchild# +#changesettag# +<tr> + <th class="author">author:</th> + <td class="author">#author|obfuscate#</td> +</tr> +<tr> + <th class="date">date:</th> + <td class="date">#date|date# (#date|age# ago)</td> +</tr> +<tr> + <th class="files">files:</th> + <td class="files">#files#</td> +</tr> +<tr> + <th class="description">description:</th> + <td class="description">#desc|strip|escape|addbreaks#</td> +</tr> +</table> + +<div id="changesetDiff"> +#diff# +</div> + +#footer# + +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/spartan/error.tmpl Thu Nov 06 11:57:37 2008 -0600 @@ -0,0 +1,15 @@ +#header# +<title>Mercurial Error</title> +</head> +<body> + +<h2>Mercurial Error</h2> + +<p> +An error occurred while processing your request: +</p> +<p> +#error|escape# +</p> + +#footer#
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/spartan/fileannotate.tmpl Thu Nov 06 11:57:37 2008 -0600 @@ -0,0 +1,49 @@ +#header# +<title>#repo|escape#: #file|escape# annotate</title> +</head> +<body> + +<div class="buttons"> +<a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a> +<a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a> +<a href="#url#graph{sessionvars%urlparameter}">graph</a> +<a href="#url#tags{sessionvars%urlparameter}">tags</a> +<a href="#url#rev/#node|short#{sessionvars%urlparameter}">changeset</a> +<a href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</a> +<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#raw-annotate/#node|short#/#file|urlescape#">raw</a> +</div> + +<h2>Annotate #file|escape#</h2> + +<table> +<tr> + <td class="metatag">changeset #rev#:</td> + <td><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr> +#parent%fileannotateparent# +#child%fileannotatechild# +<tr> + <td class="metatag">author:</td> + <td>#author|obfuscate#</td></tr> +<tr> + <td class="metatag">date:</td> + <td>#date|date# (#date|age# ago)</td> +</tr> +<tr> + <td class="metatag">permissions:</td> + <td>#permissions|permissions#</td> +</tr> +<tr> + <td class="metatag">description:</td> + <td>{desc|strip|escape|addbreaks}</td> +</tr> +</table> + +<br/> + +<table cellspacing="0" cellpadding="0"> +#annotate%annotateline# +</table> + +#footer#
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/spartan/filediff.tmpl Thu Nov 06 11:57:37 2008 -0600 @@ -0,0 +1,35 @@ +#header# +<title>#repo|escape#: #file|escape# diff</title> +</head> +<body> + +<div class="buttons"> +<a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a> +<a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a> +<a href="#url#graph{sessionvars%urlparameter}">graph</a> +<a href="#url#tags{sessionvars%urlparameter}">tags</a> +<a href="#url#rev/#node|short#{sessionvars%urlparameter}">changeset</a> +<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> +<a href="#url#raw-diff/#node|short#/#file|urlescape#">raw</a> +</div> + +<h2>#file|escape#</h2> + +<table id="filediffEntry"> +<tr> + <th class="revision">revision #rev#:</th> + <td class="revision"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td> +</tr> +#parent%filediffparent# +#child%filediffchild# +</table> + +<div id="fileDiff"> +#diff# +</div> + +#footer# + +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/spartan/filelog.tmpl Thu Nov 06 11:57:37 2008 -0600 @@ -0,0 +1,27 @@ +#header# +<title>#repo|escape#: #file|escape# history</title> +<link rel="alternate" type="application/atom+xml" + href="#url#atom-log/tip/#file|urlescape#" title="Atom feed for #repo|escape#:#file#"> +<link rel="alternate" type="application/rss+xml" + href="#url#rss-log/tip/#file|urlescape#" title="RSS feed for #repo|escape#:#file#"> +</head> +<body> + +<div class="buttons"> +<a href="#url#log{sessionvars%urlparameter}">changelog</a> +<a href="#url#shortlog{sessionvars%urlparameter}">shortlog</a> +<a href="#url#graph{sessionvars%urlparameter}">graph</a> +<a href="#url#tags{sessionvars%urlparameter}">tags</a> +<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 type="application/rss+xml" href="#url#rss-log/tip/#file|urlescape#">rss</a> +<a type="application/atom+xml" href="#url#atom-log/tip/#file|urlescape#" title="Atom feed for #repo|escape#:#file#">atom</a> +</div> + +<h2>#file|escape# revision history</h2> + +<p>navigate: <small class="navigate">{nav%filenaventry}</small></p> + +#entries%filelogentry# + +#footer#
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/spartan/filelogentry.tmpl Thu Nov 06 11:57:37 2008 -0600 @@ -0,0 +1,25 @@ +<table class="logEntry parity#parity#"> + <tr> + <th class="age">#date|age# ago:</th> + <th class="firstline"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#desc|strip|firstline|escape#</a></th> + </tr> + <tr> + <th class="revision">revision #filerev#:</td> + <td class="node"> + <a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a> + <a href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">(diff)</a> + <a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">(annotate)</a> + </td> + </tr> + #rename%filelogrename# + <tr> + <th class="author">author:</th> + <td class="author">#author|obfuscate#</td> + </tr> + <tr> + <th class="date">date:</th> + <td class="date">#date|date#</td> + </tr> +</table> + +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/spartan/filerevision.tmpl Thu Nov 06 11:57:37 2008 -0600 @@ -0,0 +1,45 @@ +#header# +<title>#repo|escape#:#file|escape#</title> +</head> +<body> + +<div class="buttons"> +<a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a> +<a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a> +<a href="#url#graph{sessionvars%urlparameter}">graph</a> +<a href="#url#tags{sessionvars%urlparameter}">tags</a> +<a href="#url#rev/#node|short#{sessionvars%urlparameter}">changeset</a> +<a href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</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> +<a href="#url#raw-file/#node|short#/#file|urlescape#">raw</a> +</div> + +<h2>#file|escape#</h2> + +<table> +<tr> + <td class="metatag">changeset #rev#:</td> + <td><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr> +#parent%filerevparent# +#child%filerevchild# +<tr> + <td class="metatag">author:</td> + <td>#author|obfuscate#</td></tr> +<tr> + <td class="metatag">date:</td> + <td>#date|date# (#date|age# ago)</td></tr> +<tr> + <td class="metatag">permissions:</td> + <td>#permissions|permissions#</td></tr> +<tr> + <td class="metatag">description:</td> + <td>{desc|strip|escape|addbreaks}</td> +</tr> +</table> + +<pre> +#text%fileline# +</pre> + +#footer#
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/spartan/footer.tmpl Thu Nov 06 11:57:37 2008 -0600 @@ -0,0 +1,8 @@ +#motd# +<div class="logo"> +<a href="http://www.selenic.com/mercurial/"> +<img src="#staticurl#hglogo.png" width=75 height=90 border=0 alt="mercurial"></a> +</div> + +</body> +</html>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/spartan/graph.tmpl Thu Nov 06 11:57:37 2008 -0600 @@ -0,0 +1,95 @@ +#header# +<title>#repo|escape#: graph</title> +<link rel="alternate" type="application/atom+xml" + href="#url#atom-tags" title="Atom feed for #repo|escape#: tags"> +<link rel="alternate" type="application/rss+xml" + href="#url#rss-tags" title="RSS feed for #repo|escape#: tags"> +<!--[if IE]><script type="text/javascript" src="#staticurl#excanvas.js"></script><![endif]--> +</head> +<body> + +<div class="buttons"> +<a href="#url#log{sessionvars%urlparameter}">changelog</a> +<a href="#url#shortlog{sessionvars%urlparameter}">shortlog</a> +<a href="#url#tags{sessionvars%urlparameter}">tags</a> +<a href="#url#file/#node|short#/{sessionvars%urlparameter}">files</a> +</div> + +<h2>graph</h2> + +<form action="#url#log"> +{sessionvars%hiddenformentry} +<p> +<label for="search1">search:</label> +<input name="rev" id="search1" type="text" size="30"> +navigate: <small class="navigate">#changenav%navgraphentry#</small> +</p> +</form> + +<noscript>The revision graph only works with JavaScript-enabled browsers.</noscript> + +<div id="wrapper"> +<ul id="nodebgs"></ul> +<canvas id="graph" width="224" height="#canvasheight#"></canvas> +<ul id="graphnodes"></ul> +</div> + +<script type="text/javascript" src="#staticurl#graph.js"></script> +<script type="text/javascript"> +<!-- hide script content + +var data = {jsdata|json}; +var graph = new Graph(); +graph.scale({bg_height}); + +graph.edge = function(x0, y0, x1, y1, color) { + + this.setColor(color, 0.0, 0.65); + this.ctx.beginPath(); + this.ctx.moveTo(x0, y0); + this.ctx.lineTo(x1, y1); + this.ctx.stroke(); + +} + +var revlink = '<li style="_STYLE"><span class="desc">'; +revlink += '<a href="{url}rev/_NODEID{sessionvars%urlparameter}" title="_NODEID">_DESC</a>'; +revlink += '</span><span class="info">_DATE ago, by _USER</span></li>'; + +graph.vertex = function(x, y, color, parity, cur) { + + this.ctx.beginPath(); + color = this.setColor(color, 0.25, 0.75); + this.ctx.arc(x, y, radius, 0, Math.PI * 2, true); + this.ctx.fill(); + + var bg = '<li class="bg parity' + parity + '"></li>'; + var left = (this.columns + 1) * this.bg_height; + var nstyle = 'padding-left: ' + left + 'px;'; + var item = revlink.replace(/_STYLE/, nstyle); + item = item.replace(/_PARITY/, 'parity' + parity); + item = item.replace(/_NODEID/, cur[0]); + item = item.replace(/_NODEID/, cur[0]); + item = item.replace(/_DESC/, cur[3]); + item = item.replace(/_USER/, cur[4]); + item = item.replace(/_DATE/, cur[5]); + + return [bg, item]; + +} + +graph.render(data); + +// stop hiding script --> +</script> + +<form action="#url#log"> +{sessionvars%hiddenformentry} +<p> +<label for="search1">search:</label> +<input name="rev" id="search1" type="text" size="30"> +navigate: <small class="navigate">#changenav%navgraphentry#</small> +</p> +</form> + +#footer#
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/spartan/header.tmpl Thu Nov 06 11:57:37 2008 -0600 @@ -0,0 +1,6 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<link rel="icon" href="#staticurl#hgicon.png" type="image/png"> +<meta name="robots" content="index, nofollow" /> +<link rel="stylesheet" href="#staticurl#style.css" type="text/css" />
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/spartan/index.tmpl Thu Nov 06 11:57:37 2008 -0600 @@ -0,0 +1,19 @@ +#header# +<title>Mercurial repositories index</title> +</head> +<body> + +<h2>Mercurial Repositories</h2> + +<table> + <tr> + <td><a href="?sort=#sort_name#">Name</a></td> + <td><a href="?sort=#sort_description#">Description</a></td> + <td><a href="?sort=#sort_contact#">Contact</a></td> + <td><a href="?sort=#sort_lastchange#">Last change</a></td> + <td> </td> + </tr> + #entries%indexentry# +</table> + +#footer#
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/spartan/manifest.tmpl Thu Nov 06 11:57:37 2008 -0600 @@ -0,0 +1,27 @@ +#header# +<title>#repo|escape#: files for changeset #node|short#</title> +</head> +<body> + +<div class="buttons"> +<a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a> +<a href="#url#shortlog/#rev#{sessionvars%urlparameter}">shortlog</a> +<a href="#url#graph{sessionvars%urlparameter}">graph</a> +<a href="#url#tags{sessionvars%urlparameter}">tags</a> +<a href="#url#rev/#node|short#{sessionvars%urlparameter}">changeset</a> +#archives%archiveentry# +</div> + +<h2>files for changeset #node|short#: #path|escape#</h2> + +<table cellpadding="0" cellspacing="0"> +<tr class="parity#upparity#"> + <td><tt>drwxr-xr-x</tt> + <td> + <td> + <td><a href="#url#file/#node|short##up|urlescape#{sessionvars%urlparameter}">[up]</a> +</tr> +#dentries%direntry# +#fentries%fileentry# +</table> +#footer#
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/spartan/map Thu Nov 06 11:57:37 2008 -0600 @@ -0,0 +1,60 @@ +default = 'shortlog' +mimetype = 'text/html; charset={encoding}' +header = header.tmpl +footer = footer.tmpl +search = search.tmpl +changelog = changelog.tmpl +shortlog = shortlog.tmpl +shortlogentry = shortlogentry.tmpl +graph = graph.tmpl +naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' +navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' +navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> ' +filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> ' +filedifflink = '<a href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#file|escape#</a> ' +filenodelink = '<a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#file|escape#</a> ' +filenolink = '{file|escape} ' +fileellipses = '...' +changelogentry = changelogentry.tmpl +searchentry = changelogentry.tmpl +changeset = changeset.tmpl +manifest = manifest.tmpl +direntry = '<tr class="parity#parity#"><td><tt>drwxr-xr-x</tt> <td> <td> <td><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|urlescape#</a>' +fileentry = '<tr class="parity#parity#"><td><tt>#permissions|permissions#</tt> <td align=right><tt class="date">#date|isodate#</tt> <td align=right><tt>#size#</tt> <td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#basename|escape#</a>' +filerevision = filerevision.tmpl +fileannotate = fileannotate.tmpl +filediff = filediff.tmpl +filelog = filelog.tmpl +fileline = '<div class="parity#parity#"><a class="lineno" href="##lineid#" id="#lineid#">#linenumber#</a>#line|escape#</div>' +filelogentry = filelogentry.tmpl +annotateline = '<tr class="parity#parity#"><td class="annotate"><a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}#l{targetline}" title="{node|short}: {desc|escape|firstline}">#author|user#@#rev#</a></td><td><a class="lineno" href="##lineid#" id="#lineid#">#linenumber#</a></td><td><pre>#line|escape#</pre></td></tr>' +difflineplus = '<span class="plusline"><a class="lineno" href="##lineid#" id="#lineid#">#linenumber#</a>#line|escape#</span>' +difflineminus = '<span class="minusline"><a class="lineno" href="##lineid#" id="#lineid#">#linenumber#</a>#line|escape#</span>' +difflineat = '<span class="atline"><a class="lineno" href="##lineid#" id="#lineid#">#linenumber#</a>#line|escape#</span>' +diffline = '<a class="lineno" href="##lineid#" id="#lineid#">#linenumber#</a>#line|escape#' +changelogparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>' +changesetparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>' +filerevparent = '<tr><td class="metatag">parent:</td><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></td></tr>' +filerename = '{file|escape}@' +filelogrename = '<tr><th>base:</th><td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#file|escape#@#node|short#</a></td></tr>' +fileannotateparent = '<tr><td class="metatag">parent:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></td></tr>' +changesetchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>' +changelogchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>' +filerevchild = '<tr><td class="metatag">child:</td><td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>' +fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>' +tags = tags.tmpl +tagentry = '<li class="tagEntry parity#parity#"><tt class="node">#node#</tt> <a href="#url#rev/#node|short#{sessionvars%urlparameter}">#tag|escape#</a></li>' +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>' +filediffparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>' +filelogparent = '<tr><th>parent #rev#:</th><td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>' +filediffchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>' +filelogchild = '<tr><th>child #rev#:</th><td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>' +indexentry = '<tr class="parity#parity#"><td><a href="#url#{sessionvars%urlparameter}">#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> <a href="#url#atom-log">Atom</a> #archives%archiveentry#</td></tr>' +index = index.tmpl +archiveentry = '<a href="#url#archive/#node|short##extension|urlescape#">#type|escape#</a> ' +notfound = notfound.tmpl +error = error.tmpl +urlparameter = '#separator##name#=#value|urlescape#' +hiddenformentry = '<input type="hidden" name="#name#" value="#value|escape#" />'
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/spartan/notfound.tmpl Thu Nov 06 11:57:37 2008 -0600 @@ -0,0 +1,12 @@ +#header# +<title>Mercurial repository not found</title> +</head> +<body> + +<h2>Mercurial repository not found</h2> + +The specified repository "#repo|escape#" is unknown, sorry. + +Please go back to the main repository list page. + +#footer#
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/spartan/search.tmpl Thu Nov 06 11:57:37 2008 -0600 @@ -0,0 +1,35 @@ +#header# +<title>#repo|escape#: searching for #query|escape#</title> +</head> +<body> + +<div class="buttons"> +<a href="#url#log{sessionvars%urlparameter}">changelog</a> +<a href="#url#shortlog{sessionvars%urlparameter}">shortlog</a> +<a href="#url#graph{sessionvars%urlparameter}">graph</a> +<a href="#url#tags{sessionvars%urlparameter}">tags</a> +<a href="#url#file/#node|short#{sessionvars%urlparameter}">files</a> +#archives%archiveentry# +</div> + +<h2>searching for #query|escape#</h2> + +<form> +{sessionvars%hiddenformentry} +<p> +search: +<input name="rev" type="text" width="30" value="#query|escape#"> +</p> +</form> + +#entries# + +<form> +{sessionvars%hiddenformentry} +<p> +search: +<input name="rev" type="text" width="30" value="#query|escape#"> +</p> +</form> + +#footer#
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/spartan/shortlog.tmpl Thu Nov 06 11:57:37 2008 -0600 @@ -0,0 +1,42 @@ +#header# +<title>#repo|escape#: shortlog</title> +<link rel="alternate" type="application/atom+xml" + href="#url#atom-log" title="Atom feed for #repo|escape#"> +<link rel="alternate" type="application/rss+xml" + href="#url#rss-log" title="RSS feed for #repo|escape#"> +</head> +<body> + +<div class="buttons"> +<a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a> +<a href="#url#graph{sessionvars%urlparameter}">graph</a> +<a href="#url#tags{sessionvars%urlparameter}">tags</a> +<a href="#url#file/#node|short#/{sessionvars%urlparameter}">files</a> +#archives%archiveentry# +<a type="application/rss+xml" href="#url#rss-log">rss</a> +<a type="application/rss+xml" href="#url#atom-log" title="Atom feed for #repo|escape#">atom</a> +</div> + +<h2>shortlog for #repo|escape#</h2> + +<form action="#url#log"> +{sessionvars%hiddenformentry} +<p> +<label for="search1">search:</label> +<input name="rev" id="search1" type="text" size="30"> +navigate: <small class="navigate">#changenav%navshortentry#</small> +</p> +</form> + +#entries%shortlogentry# + +<form action="#url#log"> +{sessionvars%hiddenformentry} +<p> +<label for="search2">search:</label> +<input name="rev" id="search2" type="text" size="30"> +navigate: <small class="navigate">#changenav%navshortentry#</small> +</p> +</form> + +#footer#
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/spartan/shortlogentry.tmpl Thu Nov 06 11:57:37 2008 -0600 @@ -0,0 +1,7 @@ +<table class="slogEntry parity#parity#"> + <tr> + <td class="age">#date|age#</td> + <td class="author">#author|person#</td> + <td class="node"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#desc|strip|firstline|escape#</a></td> + </tr> +</table>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/spartan/tags.tmpl Thu Nov 06 11:57:37 2008 -0600 @@ -0,0 +1,25 @@ +#header# +<title>#repo|escape#: tags</title> +<link rel="alternate" type="application/atom+xml" + href="#url#atom-tags" title="Atom feed for #repo|escape#: tags"> +<link rel="alternate" type="application/rss+xml" + href="#url#rss-tags" title="RSS feed for #repo|escape#: tags"> +</head> +<body> + +<div class="buttons"> +<a href="#url#log{sessionvars%urlparameter}">changelog</a> +<a href="#url#shortlog{sessionvars%urlparameter}">shortlog</a> +<a href="#url#graph{sessionvars%urlparameter}">graph</a> +<a href="#url#file/#node|short#/{sessionvars%urlparameter}">files</a> +<a type="application/rss+xml" href="#url#rss-tags">rss</a> +<a type="application/atom+xml" href="#url#atom-tags">atom</a> +</div> + +<h2>tags:</h2> + +<ul id="tagEntries"> +#entries%tagentry# +</ul> + +#footer#
--- a/templates/tags.tmpl Thu Nov 06 11:56:01 2008 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -#header# -<title>#repo|escape#: tags</title> -<link rel="alternate" type="application/atom+xml" - href="#url#atom-tags" title="Atom feed for #repo|escape#: tags"> -<link rel="alternate" type="application/rss+xml" - href="#url#rss-tags" title="RSS feed for #repo|escape#: tags"> -</head> -<body> - -<div class="buttons"> -<a href="#url#log{sessionvars%urlparameter}">changelog</a> -<a href="#url#shortlog{sessionvars%urlparameter}">shortlog</a> -<a href="#url#graph{sessionvars%urlparameter}">graph</a> -<a href="#url#file/#node|short#/{sessionvars%urlparameter}">files</a> -<a type="application/rss+xml" href="#url#rss-tags">rss</a> -<a type="application/atom+xml" href="#url#atom-tags">atom</a> -</div> - -<h2>tags:</h2> - -<ul id="tagEntries"> -#entries%tagentry# -</ul> - -#footer#