Mercurial > hg
changeset 8355:5ba798f339c8
monoblue: add branches page
author | Sune Foldager <cryo@cyanite.org> |
---|---|
date | Mon, 11 May 2009 21:14:43 +0200 |
parents | 418ea63f00fb |
children | 439663cd043a |
files | templates/monoblue/branches.tmpl templates/monoblue/changelog.tmpl templates/monoblue/changeset.tmpl templates/monoblue/error.tmpl templates/monoblue/fileannotate.tmpl templates/monoblue/filediff.tmpl templates/monoblue/filelog.tmpl templates/monoblue/filerevision.tmpl templates/monoblue/graph.tmpl templates/monoblue/manifest.tmpl templates/monoblue/map templates/monoblue/notfound.tmpl templates/monoblue/search.tmpl templates/monoblue/shortlog.tmpl templates/monoblue/summary.tmpl templates/monoblue/tags.tmpl |
diffstat | 16 files changed, 53 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/monoblue/branches.tmpl Mon May 11 21:14:43 2009 +0200 @@ -0,0 +1,36 @@ +#header# + <title>#repo|escape#: Branches</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> / Branches</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">branches</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%branchentry# + </table> + +#footer#
--- a/templates/monoblue/changelog.tmpl Tue May 12 10:23:45 2009 +0200 +++ b/templates/monoblue/changelog.tmpl Mon May 11 21:14:43 2009 +0200 @@ -23,6 +23,7 @@ <li class="current">changelog</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}branches{sessionvars%urlparameter}">branches</a></li> <li><a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a>#archives%archiveentry#</li> </ul> </div>
--- a/templates/monoblue/changeset.tmpl Tue May 12 10:23:45 2009 +0200 +++ b/templates/monoblue/changeset.tmpl Mon May 11 21:14:43 2009 +0200 @@ -23,6 +23,7 @@ <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><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> <li><a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a></li> </ul> </div>
--- a/templates/monoblue/error.tmpl Tue May 12 10:23:45 2009 +0200 +++ b/templates/monoblue/error.tmpl Mon May 11 21:14:43 2009 +0200 @@ -23,6 +23,7 @@ <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}branches{sessionvars%urlparameter}">branches</a></li> <li><a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a></li> </ul> </div>
--- a/templates/monoblue/fileannotate.tmpl Tue May 12 10:23:45 2009 +0200 +++ b/templates/monoblue/fileannotate.tmpl Mon May 11 21:14:43 2009 +0200 @@ -23,6 +23,7 @@ <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}branches{sessionvars%urlparameter}">branches</a></li> <li><a href="{url}file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</a></li> </ul> </div>
--- a/templates/monoblue/filediff.tmpl Tue May 12 10:23:45 2009 +0200 +++ b/templates/monoblue/filediff.tmpl Mon May 11 21:14:43 2009 +0200 @@ -23,6 +23,7 @@ <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}branches{sessionvars%urlparameter}">branches</a></li> <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a></li> </ul> </div>
--- a/templates/monoblue/filelog.tmpl Tue May 12 10:23:45 2009 +0200 +++ b/templates/monoblue/filelog.tmpl Mon May 11 21:14:43 2009 +0200 @@ -23,6 +23,7 @@ <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}branches{sessionvars%urlparameter}">branches</a></li> <li><a href="{url}file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</a></li> </ul> </div>
--- a/templates/monoblue/filerevision.tmpl Tue May 12 10:23:45 2009 +0200 +++ b/templates/monoblue/filerevision.tmpl Mon May 11 21:14:43 2009 +0200 @@ -23,6 +23,7 @@ <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><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> <li><a href="{url}file/#node|short##path|urlescape#{sessionvars%urlparameter}">files</a></li> </ul> </div>
--- a/templates/monoblue/graph.tmpl Tue May 12 10:23:45 2009 +0200 +++ b/templates/monoblue/graph.tmpl Mon May 11 21:14:43 2009 +0200 @@ -24,6 +24,7 @@ <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}branches{sessionvars%urlparameter}">branches</a></li> <li><a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a></li> </ul> </div>
--- a/templates/monoblue/manifest.tmpl Tue May 12 10:23:45 2009 +0200 +++ b/templates/monoblue/manifest.tmpl Mon May 11 21:14:43 2009 +0200 @@ -23,6 +23,7 @@ <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><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> <li class="current">files</li> </ul> </div>
--- a/templates/monoblue/map Tue May 12 10:23:45 2009 +0200 +++ b/templates/monoblue/map Mon May 11 21:14:43 2009 +0200 @@ -45,7 +45,8 @@ 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>' +branches = branches.tmpl +branchentry = '<tr class="parity{parity}"><td class="nowrap">{date|age} ago</td><td><a href="{url}shortlog/{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#: </td><td><a href="{url}file/{node|short}/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>'
--- a/templates/monoblue/notfound.tmpl Tue May 12 10:23:45 2009 +0200 +++ b/templates/monoblue/notfound.tmpl Mon May 11 21:14:43 2009 +0200 @@ -23,6 +23,7 @@ <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}branches{sessionvars%urlparameter}">branches</a></li> <li><a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a>#archives%archiveentry#</li> </ul> </div>
--- a/templates/monoblue/search.tmpl Tue May 12 10:23:45 2009 +0200 +++ b/templates/monoblue/search.tmpl Mon May 11 21:14:43 2009 +0200 @@ -23,6 +23,7 @@ <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}branches{sessionvars%urlparameter}">branches</a></li> <li><a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a>#archives%archiveentry# </ul> </div>
--- a/templates/monoblue/shortlog.tmpl Tue May 12 10:23:45 2009 +0200 +++ b/templates/monoblue/shortlog.tmpl Mon May 11 21:14:43 2009 +0200 @@ -23,6 +23,7 @@ <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}branches{sessionvars%urlparameter}">branches</a></li> <li><a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a>#archives%archiveentry#</li> </ul> </div>
--- a/templates/monoblue/summary.tmpl Tue May 12 10:23:45 2009 +0200 +++ b/templates/monoblue/summary.tmpl Mon May 11 21:14:43 2009 +0200 @@ -23,6 +23,7 @@ <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}branches{sessionvars%urlparameter}">branches</a></li> <li><a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a></li> </ul> </div>
--- a/templates/monoblue/tags.tmpl Tue May 12 10:23:45 2009 +0200 +++ b/templates/monoblue/tags.tmpl Mon May 11 21:14:43 2009 +0200 @@ -23,6 +23,7 @@ <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}branches{sessionvars%urlparameter}">branches</a></li> <li><a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a></li> </ul> </div> @@ -32,4 +33,4 @@ #entries%tagentry# </table> -#footer# _______________________________________________ +#footer#