Mercurial > hg
annotate mercurial/templates/paper/bookmarks.tmpl @ 13964:616ad3f6fd33
hgweb: support alternate logo url
Clicking on the logo image/text in the hgweb interface brings the
user to the Mercurial project page. The majority of users expect that
this would bring them to the top level index. I have added a new template
variable named `logourl' which allows an administrator to change this
behavior. To stay compatible with existing behavior, `logourl' will
default to http://mercurial.selenic.com/. This change is very useful in
large installations where jumping to the index is common.
author | Steven Stallion <sstallion@gmail.com> |
---|---|
date | Tue, 19 Apr 2011 23:37:06 -0400 |
parents | 38c9837b1f75 |
children | 44382887d012 |
rev | line source |
---|---|
13597
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
1 {header} |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
2 <title>{repo|escape}: bookmarks</title> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
3 <link rel="alternate" type="application/atom+xml" |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
4 href="{url}atom-bookmarks" title="Atom feed for {repo|escape}: bookmarks" /> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
5 <link rel="alternate" type="application/rss+xml" |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
6 href="{url}rss-bookmarks" title="RSS feed for {repo|escape}: bookmarks" /> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
7 </head> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
8 <body> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
9 |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
10 <div class="container"> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
11 <div class="menu"> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
12 <div class="logo"> |
13964
616ad3f6fd33
hgweb: support alternate logo url
Steven Stallion <sstallion@gmail.com>
parents:
13597
diff
changeset
|
13 <a href="{logourl}"> |
13597
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
14 <img src="{staticurl}hglogo.png" alt="mercurial" /></a> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
15 </div> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
16 <ul> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
17 <li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
18 <li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
19 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
20 <li class="active">bookmarks</li> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
21 <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
22 </ul> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
23 <ul> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
24 <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
25 </ul> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
26 </div> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
27 |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
28 <div class="main"> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
29 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
30 <h3>bookmarks</h3> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
31 |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
32 <form class="search" action="{url}log"> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
33 {sessionvars%hiddenformentry} |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
34 <p><input name="rev" id="search1" type="text" size="30" /></p> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
35 <div id="hint">find changesets by author, revision, |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
36 files, or words in the commit message</div> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
37 </form> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
38 |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
39 <table class="bigtable"> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
40 <tr> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
41 <th>bookmark</th> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
42 <th>node</th> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
43 </tr> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
44 {entries%bookmarkentry} |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
45 </table> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
46 </div> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
47 </div> |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
48 |
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
diff
changeset
|
49 {footer} |