Mercurial > hg
changeset 13860:b5b84dd43613 stable
hgweb: add separate bookmarks listing to monoblue theme (based on 38c9837b1f75)
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mercurial/templates/monoblue/bookmarks.tmpl Sun Apr 03 22:53:20 2011 +0900 @@ -0,0 +1,38 @@ +{header} + <title>{repo|escape}: Bookmarks</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> / Bookmarks</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">bookmarks</li> + <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> + <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li> + <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> + </ul> + </div> + + <h2 class="no-link no-border">bookmarks</h2> + <table cellspacing="0"> +{entries%bookmarkentry} + </table> + +{footer}
--- a/mercurial/templates/monoblue/branches.tmpl Sun Apr 03 22:53:19 2011 +0900 +++ b/mercurial/templates/monoblue/branches.tmpl Sun Apr 03 22:53:20 2011 +0900 @@ -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}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> <li class="current">branches</li> <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li> <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
--- a/mercurial/templates/monoblue/changelog.tmpl Sun Apr 03 22:53:19 2011 +0900 +++ b/mercurial/templates/monoblue/changelog.tmpl Sun Apr 03 22:53:20 2011 +0900 @@ -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}bookmarks{sessionvars%urlparameter}">bookmarks</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> <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
--- a/mercurial/templates/monoblue/changeset.tmpl Sun Apr 03 22:53:19 2011 +0900 +++ b/mercurial/templates/monoblue/changeset.tmpl Sun Apr 03 22:53:20 2011 +0900 @@ -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}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li> <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
--- a/mercurial/templates/monoblue/error.tmpl Sun Apr 03 22:53:19 2011 +0900 +++ b/mercurial/templates/monoblue/error.tmpl Sun Apr 03 22:53:20 2011 +0900 @@ -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}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li> <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
--- a/mercurial/templates/monoblue/fileannotate.tmpl Sun Apr 03 22:53:19 2011 +0900 +++ b/mercurial/templates/monoblue/fileannotate.tmpl Sun Apr 03 22:53:20 2011 +0900 @@ -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}bookmarks{sessionvars%urlparameter}">bookmarks</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> <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
--- a/mercurial/templates/monoblue/filediff.tmpl Sun Apr 03 22:53:19 2011 +0900 +++ b/mercurial/templates/monoblue/filediff.tmpl Sun Apr 03 22:53:20 2011 +0900 @@ -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}bookmarks{sessionvars%urlparameter}">bookmarks</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> <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
--- a/mercurial/templates/monoblue/filelog.tmpl Sun Apr 03 22:53:19 2011 +0900 +++ b/mercurial/templates/monoblue/filelog.tmpl Sun Apr 03 22:53:20 2011 +0900 @@ -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}bookmarks{sessionvars%urlparameter}">bookmarks</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> <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
--- a/mercurial/templates/monoblue/filerevision.tmpl Sun Apr 03 22:53:19 2011 +0900 +++ b/mercurial/templates/monoblue/filerevision.tmpl Sun Apr 03 22:53:20 2011 +0900 @@ -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}bookmarks{sessionvars%urlparameter}">bookmarks</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> <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
--- a/mercurial/templates/monoblue/graph.tmpl Sun Apr 03 22:53:19 2011 +0900 +++ b/mercurial/templates/monoblue/graph.tmpl Sun Apr 03 22:53:20 2011 +0900 @@ -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}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li> <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
--- a/mercurial/templates/monoblue/help.tmpl Sun Apr 03 22:53:19 2011 +0900 +++ b/mercurial/templates/monoblue/help.tmpl Sun Apr 03 22:53:20 2011 +0900 @@ -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}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li> <li class="current">help</li>
--- a/mercurial/templates/monoblue/helptopics.tmpl Sun Apr 03 22:53:19 2011 +0900 +++ b/mercurial/templates/monoblue/helptopics.tmpl Sun Apr 03 22:53:20 2011 +0900 @@ -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}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> <li><a href="{url}help{sessionvars%urlparameter}">branches</a></li> <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li> <li class="current">help</li>
--- a/mercurial/templates/monoblue/manifest.tmpl Sun Apr 03 22:53:19 2011 +0900 +++ b/mercurial/templates/monoblue/manifest.tmpl Sun Apr 03 22:53:20 2011 +0900 @@ -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}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> <li class="current">files</li> <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
--- a/mercurial/templates/monoblue/map Sun Apr 03 22:53:19 2011 +0900 +++ b/mercurial/templates/monoblue/map Sun Apr 03 22:53:20 2011 +0900 @@ -147,6 +147,17 @@ <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> </td> </tr>' +bookmarks = bookmarks.tmpl +bookmarkentry = ' + <tr class="parity{parity}"> + <td class="nowrap">{date|age}</td> + <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{bookmark|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>' branches = branches.tmpl branchentry = ' <tr class="parity{parity}">
--- a/mercurial/templates/monoblue/notfound.tmpl Sun Apr 03 22:53:19 2011 +0900 +++ b/mercurial/templates/monoblue/notfound.tmpl Sun Apr 03 22:53:20 2011 +0900 @@ -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}bookmarks{sessionvars%urlparameter}">bookmarks</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> <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
--- a/mercurial/templates/monoblue/search.tmpl Sun Apr 03 22:53:19 2011 +0900 +++ b/mercurial/templates/monoblue/search.tmpl Sun Apr 03 22:53:20 2011 +0900 @@ -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}bookmarks{sessionvars%urlparameter}">bookmarks</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><a href="{url}help{sessionvars%urlparameter}">help</a></li>
--- a/mercurial/templates/monoblue/shortlog.tmpl Sun Apr 03 22:53:19 2011 +0900 +++ b/mercurial/templates/monoblue/shortlog.tmpl Sun Apr 03 22:53:20 2011 +0900 @@ -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}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li> {archives%archiveentry}
--- a/mercurial/templates/monoblue/summary.tmpl Sun Apr 03 22:53:19 2011 +0900 +++ b/mercurial/templates/monoblue/summary.tmpl Sun Apr 03 22:53:20 2011 +0900 @@ -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}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li> <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
--- a/mercurial/templates/monoblue/tags.tmpl Sun Apr 03 22:53:19 2011 +0900 +++ b/mercurial/templates/monoblue/tags.tmpl Sun Apr 03 22:53:20 2011 +0900 @@ -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}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li> <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>