Show More
@@ -24,6 +24,30 b' perms = {' | |||
|
24 | 24 | 'pushkey': 'push', |
|
25 | 25 | } |
|
26 | 26 | |
|
27 | def makebreadcrumb(url): | |
|
28 | '''Return a 'URL breadcrumb' list | |
|
29 | ||
|
30 | A 'URL breadcrumb' is a list of URL-name pairs, | |
|
31 | corresponding to each of the path items on a URL. | |
|
32 | This can be used to create path navigation entries. | |
|
33 | ''' | |
|
34 | if url.endswith('/'): | |
|
35 | url = url[:-1] | |
|
36 | relpath = url | |
|
37 | if relpath.startswith('/'): | |
|
38 | relpath = relpath[1:] | |
|
39 | ||
|
40 | breadcrumb = [] | |
|
41 | urlel = url | |
|
42 | pathitems = [''] + relpath.split('/') | |
|
43 | for pathel in reversed(pathitems): | |
|
44 | if not pathel or not urlel: | |
|
45 | break | |
|
46 | breadcrumb.append({'url': urlel, 'name': pathel}) | |
|
47 | urlel = os.path.dirname(urlel) | |
|
48 | return reversed(breadcrumb) | |
|
49 | ||
|
50 | ||
|
27 | 51 | class hgweb(object): |
|
28 | 52 | def __init__(self, repo, name=None, baseui=None): |
|
29 | 53 | if isinstance(repo, str): |
@@ -285,7 +309,8 b' class hgweb(object):' | |||
|
285 | 309 | "header": header, |
|
286 | 310 | "footer": footer, |
|
287 | 311 | "motd": motd, |
|
288 | "sessionvars": sessionvars | |
|
312 | "sessionvars": sessionvars, | |
|
313 | "pathdef": makebreadcrumb(req.url), | |
|
289 | 314 | }) |
|
290 | 315 | return tmpl |
|
291 | 316 |
@@ -12,7 +12,7 b' from mercurial import ui, hg, scmutil, u' | |||
|
12 | 12 | from mercurial import error, encoding |
|
13 | 13 | from common import ErrorResponse, get_mtime, staticfile, paritygen, \ |
|
14 | 14 | get_contact, HTTP_OK, HTTP_NOT_FOUND, HTTP_SERVER_ERROR |
|
15 | from hgweb_mod import hgweb | |
|
15 | from hgweb_mod import hgweb, makebreadcrumb | |
|
16 | 16 | from request import wsgirequest |
|
17 | 17 | import webutil |
|
18 | 18 | |
@@ -395,6 +395,7 b' class hgwebdir(object):' | |||
|
395 | 395 | self.updatereqenv(req.env) |
|
396 | 396 | |
|
397 | 397 | return tmpl("index", entries=entries, subdir=subdir, |
|
398 | pathdef=makebreadcrumb('/' + subdir), | |
|
398 | 399 | sortcolumn=sortcolumn, descending=descending, |
|
399 | 400 | **dict(sort)) |
|
400 | 401 |
@@ -223,3 +223,4 b' notfound = ../paper/notfound.tmpl' | |||
|
223 | 223 | error = ../paper/error.tmpl |
|
224 | 224 | urlparameter = '{separator}{name}={value|urlescape}' |
|
225 | 225 | hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />' |
|
226 | breadcrumb = '> <a href="{url}">{name}</a> ' |
@@ -8,7 +8,8 b'' | |||
|
8 | 8 | <body> |
|
9 | 9 | |
|
10 | 10 | <div class="page_header"> |
|
11 |
<a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> |
|
|
11 | <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> | |
|
12 | <a href="/">Mercurial</a> {pathdef%breadcrumb} / bookmarks | |
|
12 | 13 | </div> |
|
13 | 14 | |
|
14 | 15 | <div class="page_nav"> |
@@ -8,7 +8,8 b'' | |||
|
8 | 8 | <body> |
|
9 | 9 | |
|
10 | 10 | <div class="page_header"> |
|
11 |
<a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> |
|
|
11 | <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> | |
|
12 | <a href="/">Mercurial</a> {pathdef%breadcrumb} / branches | |
|
12 | 13 | </div> |
|
13 | 14 | |
|
14 | 15 | <div class="page_nav"> |
@@ -8,7 +8,8 b'' | |||
|
8 | 8 | <body> |
|
9 | 9 | |
|
10 | 10 | <div class="page_header"> |
|
11 |
<a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> |
|
|
11 | <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> | |
|
12 | <a href="/">Mercurial</a> {pathdef%breadcrumb} / changelog | |
|
12 | 13 | </div> |
|
13 | 14 | |
|
14 | 15 | <form action="{url}log"> |
@@ -8,7 +8,8 b'' | |||
|
8 | 8 | <body> |
|
9 | 9 | |
|
10 | 10 | <div class="page_header"> |
|
11 |
<a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> |
|
|
11 | <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> | |
|
12 | <a href="/">Mercurial</a> {pathdef%breadcrumb} / changeset | |
|
12 | 13 | </div> |
|
13 | 14 | |
|
14 | 15 | <div class="page_nav"> |
@@ -8,7 +8,8 b'' | |||
|
8 | 8 | <body> |
|
9 | 9 | |
|
10 | 10 | <div class="page_header"> |
|
11 |
<a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> |
|
|
11 | <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> | |
|
12 | <a href="/">Mercurial</a> {pathdef%breadcrumb} / error | |
|
12 | 13 | </div> |
|
13 | 14 | |
|
14 | 15 | <div class="page_nav"> |
@@ -8,7 +8,8 b'' | |||
|
8 | 8 | <body> |
|
9 | 9 | |
|
10 | 10 | <div class="page_header"> |
|
11 |
<a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> |
|
|
11 | <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> | |
|
12 | <a href="/">Mercurial</a> {pathdef%breadcrumb} / annotate | |
|
12 | 13 | </div> |
|
13 | 14 | |
|
14 | 15 | <div class="page_nav"> |
@@ -8,7 +8,8 b'' | |||
|
8 | 8 | <body> |
|
9 | 9 | |
|
10 | 10 | <div class="page_header"> |
|
11 |
<a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> |
|
|
11 | <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> | |
|
12 | <a href="/">Mercurial</a> {pathdef%breadcrumb} / comparison | |
|
12 | 13 | </div> |
|
13 | 14 | |
|
14 | 15 | <div class="page_nav"> |
@@ -8,7 +8,8 b'' | |||
|
8 | 8 | <body> |
|
9 | 9 | |
|
10 | 10 | <div class="page_header"> |
|
11 |
<a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> |
|
|
11 | <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> | |
|
12 | <a href="/">Mercurial</a> {pathdef%breadcrumb} / diff | |
|
12 | 13 | </div> |
|
13 | 14 | |
|
14 | 15 | <div class="page_nav"> |
@@ -8,7 +8,8 b'' | |||
|
8 | 8 | <body> |
|
9 | 9 | |
|
10 | 10 | <div class="page_header"> |
|
11 |
<a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> |
|
|
11 | <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> | |
|
12 | <a href="/">Mercurial</a> {pathdef%breadcrumb} / file revisions | |
|
12 | 13 | </div> |
|
13 | 14 | |
|
14 | 15 | <div class="page_nav"> |
@@ -8,7 +8,8 b'' | |||
|
8 | 8 | <body> |
|
9 | 9 | |
|
10 | 10 | <div class="page_header"> |
|
11 |
<a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> |
|
|
11 | <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> | |
|
12 | <a href="/">Mercurial</a> {pathdef%breadcrumb} / file revision | |
|
12 | 13 | </div> |
|
13 | 14 | |
|
14 | 15 | <div class="page_nav"> |
@@ -9,7 +9,8 b'' | |||
|
9 | 9 | <body> |
|
10 | 10 | |
|
11 | 11 | <div class="page_header"> |
|
12 |
<a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> |
|
|
12 | <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> | |
|
13 | <a href="/">Mercurial</a> {pathdef%breadcrumb} / graph | |
|
13 | 14 | </div> |
|
14 | 15 | |
|
15 | 16 | <form action="{url}log"> |
@@ -8,7 +8,8 b'' | |||
|
8 | 8 | <body> |
|
9 | 9 | |
|
10 | 10 | <div class="page_header"> |
|
11 |
<a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> |
|
|
11 | <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> | |
|
12 | <a href="/">Mercurial</a> {pathdef%breadcrumb} / help | |
|
12 | 13 | </div> |
|
13 | 14 | |
|
14 | 15 | <div class="page_nav"> |
@@ -8,7 +8,8 b'' | |||
|
8 | 8 | <body> |
|
9 | 9 | |
|
10 | 10 | <div class="page_header"> |
|
11 |
<a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> |
|
|
11 | <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> | |
|
12 | <a href="/">Mercurial</a> {pathdef%breadcrumb} / help | |
|
12 | 13 | </div> |
|
13 | 14 | |
|
14 | 15 | <div class="page_nav"> |
@@ -5,7 +5,7 b'' | |||
|
5 | 5 | |
|
6 | 6 | <div class="page_header"> |
|
7 | 7 | <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> |
|
8 | Repositories list | |
|
8 | <a href="/">Mercurial</a> {pathdef%breadcrumb} | |
|
9 | 9 | </div> |
|
10 | 10 | |
|
11 | 11 | <table cellspacing="0"> |
@@ -8,7 +8,8 b'' | |||
|
8 | 8 | <body> |
|
9 | 9 | |
|
10 | 10 | <div class="page_header"> |
|
11 |
<a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> |
|
|
11 | <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> | |
|
12 | <a href="/">Mercurial</a> {pathdef%breadcrumb} / files | |
|
12 | 13 | </div> |
|
13 | 14 | |
|
14 | 15 | <div class="page_nav"> |
@@ -305,3 +305,4 b' indexarchiveentry = \' <a href="{url}arch' | |||
|
305 | 305 | index = index.tmpl |
|
306 | 306 | urlparameter = '{separator}{name}={value|urlescape}' |
|
307 | 307 | hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />' |
|
308 | breadcrumb = '> <a href="{url}">{name}</a> ' |
@@ -8,7 +8,8 b'' | |||
|
8 | 8 | <body> |
|
9 | 9 | |
|
10 | 10 | <div class="page_header"> |
|
11 |
<a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> |
|
|
11 | <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> | |
|
12 | <a href="/">Mercurial</a> {pathdef%breadcrumb} / search | |
|
12 | 13 | |
|
13 | 14 | <form action="{url}log"> |
|
14 | 15 | {sessionvars%hiddenformentry} |
@@ -8,7 +8,8 b'' | |||
|
8 | 8 | <body> |
|
9 | 9 | |
|
10 | 10 | <div class="page_header"> |
|
11 |
<a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> |
|
|
11 | <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> | |
|
12 | <a href="/">Mercurial</a> {pathdef%breadcrumb} / shortlog | |
|
12 | 13 | </div> |
|
13 | 14 | |
|
14 | 15 | <form action="{url}log"> |
@@ -8,8 +8,8 b'' | |||
|
8 | 8 | <body> |
|
9 | 9 | |
|
10 | 10 | <div class="page_header"> |
|
11 |
<a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> |
|
|
12 | ||
|
11 | <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> | |
|
12 | <a href="/">Mercurial</a> {pathdef%breadcrumb} / summary | |
|
13 | 13 | <form action="{url}log"> |
|
14 | 14 | {sessionvars%hiddenformentry} |
|
15 | 15 | <div class="search"> |
@@ -8,7 +8,8 b'' | |||
|
8 | 8 | <body> |
|
9 | 9 | |
|
10 | 10 | <div class="page_header"> |
|
11 |
<a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> |
|
|
11 | <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> | |
|
12 | <a href="/">Mercurial</a> {pathdef%breadcrumb} / tags | |
|
12 | 13 | </div> |
|
13 | 14 | |
|
14 | 15 | <div class="page_nav"> |
@@ -7,7 +7,7 b'' | |||
|
7 | 7 | <body> |
|
8 | 8 | <div id="container"> |
|
9 | 9 | <div class="page-header"> |
|
10 | <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / bookmarks</h1> | |
|
10 | <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / bookmarks</h1> | |
|
11 | 11 | |
|
12 | 12 | <form action="{url}log"> |
|
13 | 13 | {sessionvars%hiddenformentry} |
@@ -7,7 +7,7 b'' | |||
|
7 | 7 | <body> |
|
8 | 8 | <div id="container"> |
|
9 | 9 | <div class="page-header"> |
|
10 | <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / branches</h1> | |
|
10 | <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / branches</h1> | |
|
11 | 11 | |
|
12 | 12 | <form action="{url}log"> |
|
13 | 13 | {sessionvars%hiddenformentry} |
@@ -7,7 +7,7 b'' | |||
|
7 | 7 | <body> |
|
8 | 8 | <div id="container"> |
|
9 | 9 | <div class="page-header"> |
|
10 | <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / changelog</h1> | |
|
10 | <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / changelog</h1> | |
|
11 | 11 | |
|
12 | 12 | <form action="{url}log"> |
|
13 | 13 | {sessionvars%hiddenformentry} |
@@ -7,7 +7,7 b'' | |||
|
7 | 7 | <body> |
|
8 | 8 | <div id="container"> |
|
9 | 9 | <div class="page-header"> |
|
10 | <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / changeset</h1> | |
|
10 | <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / changeset</h1> | |
|
11 | 11 | |
|
12 | 12 | <form action="{url}log"> |
|
13 | 13 | {sessionvars%hiddenformentry} |
@@ -7,7 +7,7 b'' | |||
|
7 | 7 | <body> |
|
8 | 8 | <div id="container"> |
|
9 | 9 | <div class="page-header"> |
|
10 | <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / not found: {repo|escape}</h1> | |
|
10 | <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / not found: {repo|escape}</h1> | |
|
11 | 11 | |
|
12 | 12 | <form action="{url}log"> |
|
13 | 13 | {sessionvars%hiddenformentry} |
@@ -7,7 +7,7 b'' | |||
|
7 | 7 | <body> |
|
8 | 8 | <div id="container"> |
|
9 | 9 | <div class="page-header"> |
|
10 | <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / annotate</h1> | |
|
10 | <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / annotate</h1> | |
|
11 | 11 | |
|
12 | 12 | <form action="{url}log"> |
|
13 | 13 | {sessionvars%hiddenformentry} |
@@ -7,7 +7,7 b'' | |||
|
7 | 7 | <body> |
|
8 | 8 | <div id="container"> |
|
9 | 9 | <div class="page-header"> |
|
10 | <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / file comparison</h1> | |
|
10 | <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / file comparison</h1> | |
|
11 | 11 | |
|
12 | 12 | <form action="{url}log"> |
|
13 | 13 | {sessionvars%hiddenformentry} |
@@ -7,7 +7,7 b'' | |||
|
7 | 7 | <body> |
|
8 | 8 | <div id="container"> |
|
9 | 9 | <div class="page-header"> |
|
10 | <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / file diff</h1> | |
|
10 | <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / file diff</h1> | |
|
11 | 11 | |
|
12 | 12 | <form action="{url}log"> |
|
13 | 13 | {sessionvars%hiddenformentry} |
@@ -7,7 +7,7 b'' | |||
|
7 | 7 | <body> |
|
8 | 8 | <div id="container"> |
|
9 | 9 | <div class="page-header"> |
|
10 | <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / file revisions</h1> | |
|
10 | <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / file revisions</h1> | |
|
11 | 11 | |
|
12 | 12 | <form action="{url}log"> |
|
13 | 13 | {sessionvars%hiddenformentry} |
@@ -7,7 +7,7 b'' | |||
|
7 | 7 | <body> |
|
8 | 8 | <div id="container"> |
|
9 | 9 | <div class="page-header"> |
|
10 | <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / file revision</h1> | |
|
10 | <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / file revision</h1> | |
|
11 | 11 | |
|
12 | 12 | <form action="{url}log"> |
|
13 | 13 | {sessionvars%hiddenformentry} |
@@ -8,7 +8,7 b'' | |||
|
8 | 8 | <body> |
|
9 | 9 | <div id="container"> |
|
10 | 10 | <div class="page-header"> |
|
11 | <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / graph</h1> | |
|
11 | <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / graph</h1> | |
|
12 | 12 | |
|
13 | 13 | <form action="{url}log"> |
|
14 | 14 | {sessionvars%hiddenformentry} |
@@ -7,7 +7,7 b'' | |||
|
7 | 7 | <body> |
|
8 | 8 | <div id="container"> |
|
9 | 9 | <div class="page-header"> |
|
10 | <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / help</h1> | |
|
10 | <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / help</h1> | |
|
11 | 11 | |
|
12 | 12 | <form action="{url}log"> |
|
13 | 13 | {sessionvars%hiddenformentry} |
@@ -7,7 +7,7 b'' | |||
|
7 | 7 | <body> |
|
8 | 8 | <div id="container"> |
|
9 | 9 | <div class="page-header"> |
|
10 | <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / help</h1> | |
|
10 | <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / help</h1> | |
|
11 | 11 | |
|
12 | 12 | <form action="{url}log"> |
|
13 | 13 | {sessionvars%hiddenformentry} |
@@ -5,7 +5,7 b'' | |||
|
5 | 5 | <body> |
|
6 | 6 | <div id="container"> |
|
7 | 7 | <div class="page-header"> |
|
8 | <h1>Mercurial Repositories</h1> | |
|
8 | <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h1> | |
|
9 | 9 | <ul class="page-nav"> |
|
10 | 10 | </ul> |
|
11 | 11 | </div> |
@@ -7,7 +7,7 b'' | |||
|
7 | 7 | <body> |
|
8 | 8 | <div id="container"> |
|
9 | 9 | <div class="page-header"> |
|
10 | <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / files</h1> | |
|
10 | <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / files</h1> | |
|
11 | 11 | |
|
12 | 12 | <form action="{url}log"> |
|
13 | 13 | {sessionvars%hiddenformentry} |
@@ -259,3 +259,4 b' index = index.tmpl' | |||
|
259 | 259 | urlparameter = '{separator}{name}={value|urlescape}' |
|
260 | 260 | hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />' |
|
261 | 261 | graph = graph.tmpl |
|
262 | breadcrumb = '> <a href="{url}">{name}</a> ' |
@@ -7,7 +7,7 b'' | |||
|
7 | 7 | <body> |
|
8 | 8 | <div id="container"> |
|
9 | 9 | <div class="page-header"> |
|
10 | <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / not found: {repo|escape}</h1> | |
|
10 | <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / not found: {repo|escape}</h1> | |
|
11 | 11 | |
|
12 | 12 | <form action="{url}log"> |
|
13 | 13 | {sessionvars%hiddenformentry} |
@@ -7,7 +7,7 b'' | |||
|
7 | 7 | <body> |
|
8 | 8 | <div id="container"> |
|
9 | 9 | <div class="page-header"> |
|
10 | <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / search</h1> | |
|
10 | <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / search</h1> | |
|
11 | 11 | |
|
12 | 12 | <form action="{url}log"> |
|
13 | 13 | {sessionvars%hiddenformentry} |
@@ -7,7 +7,7 b'' | |||
|
7 | 7 | <body> |
|
8 | 8 | <div id="container"> |
|
9 | 9 | <div class="page-header"> |
|
10 | <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / shortlog</h1> | |
|
10 | <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / shortlog</h1> | |
|
11 | 11 | |
|
12 | 12 | <form action="{url}log"> |
|
13 | 13 | {sessionvars%hiddenformentry} |
@@ -7,7 +7,7 b'' | |||
|
7 | 7 | <body> |
|
8 | 8 | <div id="container"> |
|
9 | 9 | <div class="page-header"> |
|
10 | <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / summary</h1> | |
|
10 | <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / summary</h1> | |
|
11 | 11 | |
|
12 | 12 | <form action="{url}log"> |
|
13 | 13 | {sessionvars%hiddenformentry} |
@@ -7,7 +7,7 b'' | |||
|
7 | 7 | <body> |
|
8 | 8 | <div id="container"> |
|
9 | 9 | <div class="page-header"> |
|
10 | <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / tags</h1> | |
|
10 | <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb} / tags</h1> | |
|
11 | 11 | |
|
12 | 12 | <form action="{url}log"> |
|
13 | 13 | {sessionvars%hiddenformentry} |
@@ -32,7 +32,7 b'' | |||
|
32 | 32 | </div> |
|
33 | 33 | |
|
34 | 34 | <div class="main"> |
|
35 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> | |
|
35 | <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> | |
|
36 | 36 | <h3>bookmarks</h3> |
|
37 | 37 | |
|
38 | 38 | <form class="search" action="{url}log"> |
@@ -32,7 +32,7 b'' | |||
|
32 | 32 | </div> |
|
33 | 33 | |
|
34 | 34 | <div class="main"> |
|
35 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> | |
|
35 | <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> | |
|
36 | 36 | <h3>branches</h3> |
|
37 | 37 | |
|
38 | 38 | <form class="search" action="{url}log"> |
@@ -30,7 +30,7 b'' | |||
|
30 | 30 | |
|
31 | 31 | <div class="main"> |
|
32 | 32 | |
|
33 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> | |
|
33 | <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> | |
|
34 | 34 | <h3>changeset {rev}:{node|short} {changesetbranch%changelogbranchname} {changesettag} {changesetbookmark}</h3> |
|
35 | 35 | |
|
36 | 36 | <form class="search" action="{url}log"> |
@@ -23,7 +23,7 b'' | |||
|
23 | 23 | |
|
24 | 24 | <div class="main"> |
|
25 | 25 | |
|
26 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> | |
|
26 | <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> | |
|
27 | 27 | <h3>error</h3> |
|
28 | 28 | |
|
29 | 29 | <form class="search" action="{url}log"> |
@@ -36,7 +36,7 b'' | |||
|
36 | 36 | </div> |
|
37 | 37 | |
|
38 | 38 | <div class="main"> |
|
39 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> | |
|
39 | <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> | |
|
40 | 40 | <h3>annotate {file|escape} @ {rev}:{node|short}</h3> |
|
41 | 41 | |
|
42 | 42 | <form class="search" action="{url}log"> |
@@ -35,7 +35,7 b'' | |||
|
35 | 35 | </div> |
|
36 | 36 | |
|
37 | 37 | <div class="main"> |
|
38 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> | |
|
38 | <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> | |
|
39 | 39 | <h3>comparison {file|escape} @ {rev}:{node|short}</h3> |
|
40 | 40 | |
|
41 | 41 | <form class="search" action="{url}log"> |
@@ -35,7 +35,7 b'' | |||
|
35 | 35 | </div> |
|
36 | 36 | |
|
37 | 37 | <div class="main"> |
|
38 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> | |
|
38 | <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> | |
|
39 | 39 | <h3>diff {file|escape} @ {rev}:{node|short}</h3> |
|
40 | 40 | |
|
41 | 41 | <form class="search" action="{url}log"> |
@@ -43,7 +43,7 b'' | |||
|
43 | 43 | </div> |
|
44 | 44 | |
|
45 | 45 | <div class="main"> |
|
46 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> | |
|
46 | <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> | |
|
47 | 47 | <h3>log {file|escape}</h3> |
|
48 | 48 | |
|
49 | 49 | <form class="search" action="{url}log"> |
@@ -34,7 +34,7 b'' | |||
|
34 | 34 | </div> |
|
35 | 35 | |
|
36 | 36 | <div class="main"> |
|
37 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> | |
|
37 | <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> | |
|
38 | 38 | <h3>view {file|escape} @ {rev}:{node|short}</h3> |
|
39 | 39 | |
|
40 | 40 | <form class="search" action="{url}log"> |
@@ -37,7 +37,7 b'' | |||
|
37 | 37 | </div> |
|
38 | 38 | |
|
39 | 39 | <div class="main"> |
|
40 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> | |
|
40 | <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> | |
|
41 | 41 | <h3>graph</h3> |
|
42 | 42 | |
|
43 | 43 | <form class="search" action="{url}log"> |
@@ -22,7 +22,7 b'' | |||
|
22 | 22 | </div> |
|
23 | 23 | |
|
24 | 24 | <div class="main"> |
|
25 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> | |
|
25 | <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> | |
|
26 | 26 | <h3>Help: {topic}</h3> |
|
27 | 27 | |
|
28 | 28 | <form class="search" action="{url}log"> |
@@ -22,7 +22,7 b'' | |||
|
22 | 22 | </div> |
|
23 | 23 | |
|
24 | 24 | <div class="main"> |
|
25 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> | |
|
25 | <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> | |
|
26 | 26 | <form class="search" action="{url}log"> |
|
27 | 27 | {sessionvars%hiddenformentry} |
|
28 | 28 | <p><input name="rev" id="search1" type="text" size="30" /></p> |
@@ -9,7 +9,7 b'' | |||
|
9 | 9 | <img src="{staticurl}{logoimg}" width=75 height=90 border=0 alt="mercurial" /></a> |
|
10 | 10 | </div> |
|
11 | 11 | <div class="main"> |
|
12 | <h2>Mercurial Repositories</h2> | |
|
12 | <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> | |
|
13 | 13 | |
|
14 | 14 | <table class="bigtable"> |
|
15 | 15 | <tr> |
@@ -29,7 +29,7 b'' | |||
|
29 | 29 | </div> |
|
30 | 30 | |
|
31 | 31 | <div class="main"> |
|
32 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> | |
|
32 | <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> | |
|
33 | 33 | <h3>directory {path|escape} @ {rev}:{node|short} {tags%changelogtag}</h3> |
|
34 | 34 | |
|
35 | 35 | <form class="search" action="{url}log"> |
@@ -231,3 +231,4 b' notfound = notfound.tmpl' | |||
|
231 | 231 | error = error.tmpl |
|
232 | 232 | urlparameter = '{separator}{name}={value|urlescape}' |
|
233 | 233 | hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />' |
|
234 | breadcrumb = '> <a href="{url}">{name}</a> ' |
@@ -20,7 +20,7 b'' | |||
|
20 | 20 | </div> |
|
21 | 21 | |
|
22 | 22 | <div class="main"> |
|
23 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> | |
|
23 | <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> | |
|
24 | 24 | <h3>searching for '{query|escape}'</h3> |
|
25 | 25 | |
|
26 | 26 | <form class="search" action="{url}log"> |
@@ -39,7 +39,7 b'' | |||
|
39 | 39 | </div> |
|
40 | 40 | |
|
41 | 41 | <div class="main"> |
|
42 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> | |
|
42 | <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> | |
|
43 | 43 | <h3>log</h3> |
|
44 | 44 | |
|
45 | 45 | <form class="search" action="{url}log"> |
@@ -31,7 +31,7 b'' | |||
|
31 | 31 | </div> |
|
32 | 32 | |
|
33 | 33 | <div class="main"> |
|
34 | <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> | |
|
34 | <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> | |
|
35 | 35 | <h3>tags</h3> |
|
36 | 36 | |
|
37 | 37 | <form class="search" action="{url}log"> |
@@ -3,7 +3,7 b'' | |||
|
3 | 3 | </head> |
|
4 | 4 | <body> |
|
5 | 5 | |
|
6 | <h2>Mercurial Repositories</h2> | |
|
6 | <h2><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2> | |
|
7 | 7 | |
|
8 | 8 | <table> |
|
9 | 9 | <tr> |
@@ -181,3 +181,4 b' notfound = notfound.tmpl' | |||
|
181 | 181 | error = error.tmpl |
|
182 | 182 | urlparameter = '{separator}{name}={value|urlescape}' |
|
183 | 183 | hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />' |
|
184 | breadcrumb = '> <a href="{url}">{name}</a> ' |
@@ -323,3 +323,11 b' ul#graphnodes li .info {' | |||
|
323 | 323 | .block { |
|
324 | 324 | border-top: 1px solid #999; |
|
325 | 325 | } |
|
326 | ||
|
327 | .breadcrumb { | |
|
328 | color: gray; | |
|
329 | } | |
|
330 | ||
|
331 | .breadcrumb a { | |
|
332 | color: blue; | |
|
333 | } |
General Comments 0
You need to be logged in to leave comments.
Login now