[PATCH 2 of 3] monoblue hg web theme

Hiroshi Funai hfunai at gmail.com
Thu Oct 9 08:40:32 CDT 2008


diff -r f29b674cc221 -r 7d536a2e61e2 templates/monoblue/graph.tmpl
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/monoblue/graph.tmpl	Thu Oct 09 02:52:22 2008 +0900
@@ -0,0 +1,95 @@
+#header#
+    <title>#repo|escape#: graph</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#"/>
+    <!--[if IE]><script type="text/javascript"
src="#staticurl#excanvas.js"></script><![endif]-->
+</head>
+
+<body>
+<div id="container">
+    <div class="page-header">
+        <h1><a
href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> /
graph</h1>
+
+        <form action="{url}log">
+            {sessionvars%hiddenformentry}
+            <dl class="search">
+                <dt><label>Search: </label></dt>
+                <dd><input type="text" name="rev" /></dd>
+            </dl>
+        </form>
+
+        <ul class="page-nav">
+            <li><a
href="{url}summary{sessionvars%urlparameter}">summary</a></li>
+            <li><a
href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li>
+            <li><a
href="{url}changelog{sessionvars%urlparameter}">changelog</a></li>
+            <li class="current">graph</li>
+            <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
+            <li><a
href="{url}file/#node|short#{sessionvars%urlparameter}">files</a></li>
+        </ul>
+    </div>
+
+    <h2 class="no-link no-border">graph</h2>
+
+    <div id="noscript">The revision graph only works with
JavaScript-enabled browsers.</div>
+    <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>
+    <!-- hide script content
+
+    document.getElementById('noscript').style.display = 'none';
+
+    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>
+
+    <div class="page-path">
+#changenav%navgraphentry#
+    </div>
+
+#footer#
diff -r f29b674cc221 -r 7d536a2e61e2 templates/monoblue/header.tmpl
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/monoblue/header.tmpl	Thu Oct 09 02:52:22 2008 +0900
@@ -0,0 +1,6 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+    <link rel="icon" href="{staticurl}hgicon.png" type="image/png" />
+    <meta name="robots" content="index, nofollow"/>
+    <link rel="stylesheet" href="{staticurl}style-monoblue.css"
type="text/css" />
diff -r f29b674cc221 -r 7d536a2e61e2 templates/monoblue/index.tmpl
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/monoblue/index.tmpl	Thu Oct 09 02:52:22 2008 +0900
@@ -0,0 +1,26 @@
+#header#
+    <title>#repo|escape#: Mercurial repositories index</title>
+</head>
+<body>
+
+<div class="page_header">
+    <a href="http://www.selenic.com/mercurial/" title="Mercurial"
style="float: right;">Mercurial</a>
+    Repositories list
+</div>
+
+<table cellspacing="0">
+    <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>&nbsp;</td>
+        <td>&nbsp;</td>
+    </tr>
+    #entries%indexentry#
+</table>
+<div class="page-footer">
+#motd#
+</div>
+</body>
+</html>
diff -r f29b674cc221 -r 7d536a2e61e2 templates/monoblue/manifest.tmpl
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/monoblue/manifest.tmpl	Thu Oct 09 02:52:22 2008 +0900
@@ -0,0 +1,50 @@
+#header#
+<title>#repo|escape#: files</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 id="container">
+    <div class="page-header">
+        <h1><a
href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> /
files</h1>
+
+        <form action="{url}log">
+            {sessionvars%hiddenformentry}
+            <dl class="search">
+                <dt><label>Search: </label></dt>
+                <dd><input type="text" name="rev" /></dd>
+            </dl>
+        </form>
+
+        <ul class="page-nav">
+            <li><a
href="{url}summary{sessionvars%urlparameter}">summary</a></li>
+            <li><a
href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li>
+            <li><a
href="{url}changelog{sessionvars%urlparameter}">changelog</a></li>
+            <li><a
href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
+            <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
+            <li class="current">files</li>
+        </ul>
+    </div>
+
+    <ul class="submenu">
+        <li><a
href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a>
#archives%archiveentry#</li>
+        {archives%archiveentry}
+    </ul>
+
+    <h2 class="no-link no-border">files</h2>
+    <p class="files">#path|escape# <span
class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span></p>
+
+    <table>
+        <tr class="parity#upparity#">
+            <td>drwxr-xr-x</td>
+            <td></td>
+            <td></td>
+            <td><a
href="{url}file/#node|short##up|urlescape#{sessionvars%urlparameter}">[up]</a></td>
+            <td class="link">&nbsp;</td>
+        </tr>
+        #dentries%direntry#
+        #fentries%fileentry#
+    </table>
+
+#footer#
diff -r f29b674cc221 -r 7d536a2e61e2 templates/monoblue/map
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/monoblue/map	Thu Oct 09 02:52:22 2008 +0900
@@ -0,0 +1,65 @@
+default = 'summary'
+mimetype = 'text/html; charset={encoding}'
+header = header.tmpl
+footer = footer.tmpl
+search = search.tmpl
+changelog = changelog.tmpl
+summary = summary.tmpl
+error = error.tmpl
+notfound = notfound.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 = '<tr class="parity#parity#"><td><a
href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">#file|escape#</a></td><td></td><td><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></td></tr>'
+fileellipses = '...'
+changelogentry = changelogentry.tmpl
+searchentry = changelogentry.tmpl
+changeset = changeset.tmpl
+manifest = manifest.tmpl
+direntry = '<tr
class="parity#parity#"><td>drwxr-xr-x</td><td></td><td></td><td><a
href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">#basename|escape#</a></td><td><a
href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</a></td></tr>'
+fileentry = '<tr
class="parity#parity#"><td>#permissions|permissions#</td><td>#date|isodate#</td><td>#size#</td><td><a
href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#basename|escape#</a></td><td><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></td></tr>'
+filerevision = filerevision.tmpl
+fileannotate = fileannotate.tmpl
+filediff = filediff.tmpl
+filelog = filelog.tmpl
+fileline = '<div style="font-family:monospace"
class="parity#parity#"><pre><a class="linenr" href="##lineid#"
id="#lineid#">#linenumber#</a> #line|escape#</pre></div>'
+annotateline = '<tr class="parity{parity}"><td class="linenr"><a
href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}"
title="{node|short}:
{desc|escape|firstline}">{author|user}@{rev}</a></td><td
class="lineno"><a href="#{lineid}"
id="{lineid}">{linenumber}</a></td><td
class="source">{line|escape}</td></tr>'
+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>'
+changelogparent = '<tr><th class="parent">parent #rev#:</th><td
class="parent"><a
href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>'
+changesetbranch = '<dt>branch</dt><dd>{name}</dd>'
+changesetparent = '<dt>parent {rev}</dt><dd><a
href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>'
+filerevbranch = '<dt>branch</dt><dd>{name}</dd>'
+filerevparent = '<dt>parent {rev}</dt><dd><a
href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></dd>'
+filerename = '{file|escape}@'
+filelogrename = '| <a
href="{url}file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">base</a>'
+fileannotateparent = '<dt>parent {rev}</dt><dd><a
href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></dd>'
+changelogchild = '<dt>child #rev#:</dt><dd><a
href="{url}rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></dd>'
+changesetchild = '<dt>child {rev}</dt><dd><a
href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></dd>'
+filerevchild = '<dt>child {rev}</dt><dd><a
href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>'
+fileannotatechild = '<dt>child {rev}</dt><dd><a
href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>'
+tags = tags.tmpl
+tagentry = '<tr class="parity#parity#"><td class="nowrap">#date|age#
ago</td><td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">#tag|escape#</a></td><td
class="nowrap"><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></td></tr>'
+branchentry = '<tr class="parity{parity}"><td
class="nowrap">{date|age} ago</td><td><a
href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td><td>{branch|escape}</td><td
class="nowrap"><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></td></tr>'
+diffblock = '<pre>#lines#</pre>'
+filediffparent = '<dt>parent {rev}</dt><dd><a
href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></dd>'
+filelogparent = '<tr><td align="right">parent #rev#:&nbsp;</td><td><a
href="{url}file/{node|short}/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>'
+filediffchild = '<tr><td>child {rev}</td><td
style="font-family:monospace"><a
href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
+filelogchild = '<tr><td align="right">child #rev#:&nbsp;</td><td><a
href="{url}file{node|short}/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>'
+shortlog = shortlog.tmpl
+tagtag = '<span class="tagtag" title="{name}">{name}</span> '
+branchtag = '<span class="branchtag" title="{name}">{name}</span> '
+inbranchtag = '<span class="inbranchtag" title="{name}">{name}</span> '
+shortlogentry = '<tr class="parity#parity#"><td
class="nowrap">#date|age# ago</td><td>#author|person#</td><td><a
href="{url}rev/#node|short#{sessionvars%urlparameter}">#desc|strip|firstline|escape#
<span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span></a></td><td
class="nowrap"><a
href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a> |
<a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a></td></tr>'
+filelogentry = '<tr class="parity#parity#"><td
class="nowrap">#date|age# ago</td><td><a
href="{url}rev/#node|short#{sessionvars%urlparameter}">#desc|strip|firstline|escape#</a></td><td
class="nowrap"><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></tr>'
+archiveentry = '<li><a
href="{url}archive/{node|short}{extension}">#type|escape#</a></li>'
+indexentry = '<tr class="parity{parity}"><td><a
href="{url}{sessionvars%urlparameter}">{name|escape}</a></td><td>{description}</td><td>{contact|obfuscate}</td><td>{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'
+indexarchiveentry = '<a
href="{url}archive/{node|short}{extension}">{type|escape}</a> '
+index = index.tmpl
+urlparameter = '#separator##name#=#value|urlescape#'
+hiddenformentry = '<input type="hidden" name="#name#"
value="#value|escape#" />'
+graph = graph.tmpl
diff -r f29b674cc221 -r 7d536a2e61e2 templates/monoblue/notfound.tmpl
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/monoblue/notfound.tmpl	Thu Oct 09 02:52:22 2008 +0900
@@ -0,0 +1,34 @@
+{header}
+    <title>#repo|escape#: Mercurial repository not found</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 id="container">
+    <div class="page-header">
+        <h1><a
href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> / Not
found: {repo|escape}</h1>
+
+        <form action="{url}log">
+            {sessionvars%hiddenformentry}
+            <dl class="search">
+                <dt><label>Search: </label></dt>
+                <dd><input type="text" name="rev" /></dd>
+            </dl>
+        </form>
+
+        <ul class="page-nav">
+            <li class="current">summary</li>
+            <li><a
href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li>
+            <li><a href="{url}log{sessionvars%urlparameter}">changelog</a></li>
+            <li><a
href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
+            <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
+            <li><a
href="{url}file/#node|short#{sessionvars%urlparameter}">files</a>#archives%archiveentry#</li>
+        </ul>
+    </div>
+
+    <h2 class="no-link no-border">Not Found</h2>
+    <p class="normal">The specified repository "{repo|escape}" is
unknown, sorry.</p>
+    <p class="normal">Please go back to the <a href="{url}">main
repository list page</a>.</p>
+
+{footer}
diff -r f29b674cc221 -r 7d536a2e61e2 templates/monoblue/search.tmpl
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/monoblue/search.tmpl	Thu Oct 09 02:52:22 2008 +0900
@@ -0,0 +1,33 @@
+#header#
+    <title>#repo|escape#: Search</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 id="container">
+    <div class="page-header">
+        <h1><a
href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> /
search</h1>
+
+        <form action="{url}log">
+            {sessionvars%hiddenformentry}
+            <dl class="search">
+                <dt><label>Search: </label></dt>
+                <dd><input type="text" name="rev"
value="#query|escape#" /></dd>
+            </dl>
+        </form>
+
+        <ul class="page-nav">
+            <li><a
href="{url}summary{sessionvars%urlparameter}">summary</a></li>
+            <li><a
href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li>
+            <li><a href="{url}log{sessionvars%urlparameter}">changelog</a></li>
+            <li><a
href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
+            <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
+            <li><a
href="{url}file/#node|short#{sessionvars%urlparameter}">files</a>#archives%archiveentry#
+        </ul>
+    </div>
+
+    <h2 class="no-link no-border">searching for #query|escape#</h2>
+    #entries#
+
+#footer#
diff -r f29b674cc221 -r 7d536a2e61e2 templates/monoblue/shortlog.tmpl
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/monoblue/shortlog.tmpl	Thu Oct 09 02:52:22 2008 +0900
@@ -0,0 +1,40 @@
+#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 id="container">
+    <div class="page-header">
+        <h1><a
href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> /
shortlog</h1>
+
+        <form action="{url}log">
+            {sessionvars%hiddenformentry}
+            <dl class="search">
+                <dt><label>Search: </label></dt>
+                <dd><input type="text" name="rev" /></dd>
+            </dl>
+        </form>
+
+        <ul class="page-nav">
+            <li><a
href="{url}summary{sessionvars%urlparameter}">summary</a></li>
+            <li class="current">shortlog</li>
+            <li><a href="{url}log{sessionvars%urlparameter}">changelog</a></li>
+            <li><a
href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
+            <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
+            <li><a
href="{url}file/#node|short#{sessionvars%urlparameter}">files</a>#archives%archiveentry#</li>
+        </ul>
+    </div>
+
+    <h2 class="no-link no-border">shortlog</h2>
+
+    <table>
+#entries%shortlogentry#
+    </table>
+
+    <div class="page-path">
+#changenav%navshortentry#
+    </div>
+
+#footer#
diff -r f29b674cc221 -r 7d536a2e61e2 templates/monoblue/summary.tmpl
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/monoblue/summary.tmpl	Thu Oct 09 02:52:22 2008 +0900
@@ -0,0 +1,65 @@
+#header#
+    <title>#repo|escape#: Summary</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 id="container">
+    <div class="page-header">
+        <h1><a
href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> /
summary</h1>
+
+        <form action="{url}log">
+            {sessionvars%hiddenformentry}
+            <dl class="search">
+                <dt><label>Search: </label></dt>
+                <dd><input type="text" name="rev" /></dd>
+            </dl>
+        </form>
+
+        <ul class="page-nav">
+            <li class="current">summary</li>
+            <li><a
href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li>
+            <li><a href="{url}log{sessionvars%urlparameter}">changelog</a></li>
+            <li><a
href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
+            <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
+            <li><a
href="{url}file/#node|short#{sessionvars%urlparameter}">files</a></li>
+        </ul>
+    </div>
+
+    <h2 class="no-link no-border">Mercurial Repository Overview</h2>
+    <dl class="overview">
+        <dt>name</dt>
+        <dd>#repo|escape#</dd>
+        <dt>description</dt>
+        <dd>#desc#</dd>
+        <dt>owner</dt>
+        <dd>#owner|obfuscate#</dd>
+        <dt>last change</dt>
+        <dd>#lastchange|rfc822date#</dd>
+    </dl>
+
+    <h2><a href="{url}shortlog{sessionvars%urlparameter}">Changes</a></h2>
+    <table>
+#shortlog#
+        <tr class="light">
+            <td colspan="4"><a class="list"
href="{url}shortlog{sessionvars%urlparameter}">...</a></td>
+        </tr>
+    </table>
+
+    <h2><a href="{url}tags{sessionvars%urlparameter}">Tags</a></h2>
+    <table>
+#tags#
+        <tr class="light">
+            <td colspan="3"><a class="list"
href="{url}tags{sessionvars%urlparameter}">...</a></td>
+        </tr>
+    </table>
+
+    <h2 class="no-link">Branches</h2>
+    <table>
+    {branches%branchentry}
+        <tr class="light">
+          <td colspan="4"><a class="list"  href="#">...</a></td>
+        </tr>
+    </table>
+#footer#
diff -r f29b674cc221 -r 7d536a2e61e2 templates/monoblue/tags.tmpl
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/monoblue/tags.tmpl	Thu Oct 09 02:52:22 2008 +0900
@@ -0,0 +1,35 @@
+#header#
+    <title>#repo|escape#: Tags</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 id="container">
+    <div class="page-header">
+        <h1><a
href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> /
Tags</h1>
+
+        <form action="{url}log">
+            {sessionvars%hiddenformentry}
+            <dl class="search">
+                <dt><label>Search: </label></dt>
+                <dd><input type="text" name="rev" /></dd>
+            </dl>
+        </form>
+
+        <ul class="page-nav">
+            <li><a
href="{url}summary{sessionvars%urlparameter}">summary</a></li>
+            <li><a
href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li>
+            <li><a
href="{url}changelog{sessionvars%urlparameter}">changelog</a></li>
+            <li><a
href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
+            <li class="current">tags</li>
+            <li><a
href="{url}file/#node|short#{sessionvars%urlparameter}">files</a></li>
+        </ul>
+    </div>
+
+    <h2 class="no-link no-border">tags</h2>
+    <table cellspacing="0">
+#entries%tagentry#
+    </table>
+
+#footer#


More information about the Mercurial-devel mailing list