mercurial/templates/monoblue/index.tmpl
author Angel Ezquerra <angel.ezquerra at gmail.com>
Wed, 28 Nov 2012 20:21:26 +0100
changeset 18258 bebb05a7e249
parent 14913 44382887d012
child 18526 9409aeaafdc1
permissions -rw-r--r--
hgweb: add a "URL breadcrumb" to the index and repository pages The purpose of this change is to make it much easier to navigate up the repository tree when the hg web server is used to serve more than one repository. A "URL breadcrumb" is a path where each of the path items can be clicked to go to the corresponding path page. This lets you go up the folder hierarchy very quickly. For example, when showing the list of repositories in http://myserver/myteams/myprojects, the following "breadcrumb" will be shown: Mercurial > myteams > myprojects Clicking on "myprojects" reloads the page. Clicking on "myteams" goes up one folder. Clicking on the leftmost "Mercurial" goes to the server root. This "breadcrumb" also appears on all repository pages. For example on the summary page of the repository at http://myserver/myteams/myprojects/myrepo the following will be shown: Mercurial > myteams > myprojects > myrepo / summary This change has been applied to all templates that already had a link to the main repository page (i.e. gitweb, monoblue, paper and coal) plus to the index page of the spartan template. In order to make the breadcumb links stand out the some of the template styles have been customized.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7403
diff changeset
     1
{header}
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7403
diff changeset
     2
    <title>{repo|escape}: Mercurial repositories index</title>
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
     3
</head>
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
     4
7403
9efd596e4393 Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7111
diff changeset
     5
<body>
9efd596e4393 Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7111
diff changeset
     6
<div id="container">
9efd596e4393 Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7111
diff changeset
     7
    <div class="page-header">
18258
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 14913
diff changeset
     8
        <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h1>
7403
9efd596e4393 Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7111
diff changeset
     9
        <ul class="page-nav">
9efd596e4393 Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7111
diff changeset
    10
        </ul>
9efd596e4393 Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7111
diff changeset
    11
    </div>
10575
136eed1ac69c trailing spaces (and one stray tab)
Thomas Arendsen Hein <thomas@intevation.de>
parents: 10301
diff changeset
    12
7403
9efd596e4393 Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7111
diff changeset
    13
    <table cellspacing="0">
9efd596e4393 Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7111
diff changeset
    14
        <tr>
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7403
diff changeset
    15
            <td><a href="?sort={sort_name}">Name</a></td>
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7403
diff changeset
    16
            <td><a href="?sort={sort_description}">Description</a></td>
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7403
diff changeset
    17
            <td><a href="?sort={sort_contact}">Contact</a></td>
10301
56b50194617f templates: rename `Last change' column in hgwebdir repository list.
Dan Villiom Podlaski Christiansen <danchr@gmail.com>
parents: 9999
diff changeset
    18
            <td><a href="?sort={sort_lastchange}">Last modified</a></td>
7403
9efd596e4393 Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7111
diff changeset
    19
            <td>&nbsp;</td>
9efd596e4393 Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7111
diff changeset
    20
            <td>&nbsp;</td>
9efd596e4393 Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7111
diff changeset
    21
        </tr>
8430
8b47efdf40ee monoblue: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7403
diff changeset
    22
        {entries%indexentry}
7403
9efd596e4393 Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7111
diff changeset
    23
    </table>
9efd596e4393 Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7111
diff changeset
    24
    <div class="page-footer">
9efd596e4393 Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7111
diff changeset
    25
        {motd}
9efd596e4393 Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7111
diff changeset
    26
    </div>
9efd596e4393 Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7111
diff changeset
    27
9efd596e4393 Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7111
diff changeset
    28
    <div id="powered-by">
14913
44382887d012 hgweb: add a "web/logoimg" setting to customize the web logo image
Angel Ezquerra <angel.ezquerra@gmail.com>
parents: 13964
diff changeset
    29
        <p><a href="{logourl}" title="Mercurial"><img src="{staticurl}{logoimg}" width=75 height=90 border=0 alt="mercurial"></a></p>
7403
9efd596e4393 Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7111
diff changeset
    30
    </div>
9efd596e4393 Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7111
diff changeset
    31
9efd596e4393 Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7111
diff changeset
    32
    <div id="corner-top-left"></div>
9efd596e4393 Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7111
diff changeset
    33
    <div id="corner-top-right"></div>
9efd596e4393 Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7111
diff changeset
    34
    <div id="corner-bottom-left"></div>
9efd596e4393 Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7111
diff changeset
    35
    <div id="corner-bottom-right"></div>
9efd596e4393 Improve the monoblue theme for hgwebdir
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents: 7111
diff changeset
    36
7111
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
    37
</div>
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
    38
</body>
91b0ada2d94b added monoblue hgweb theme
Hiroshi Funai <hfunai@gmail.com>
parents:
diff changeset
    39
</html>