mercurial/templates/paper/helptopics.tmpl
author Augie Fackler <augie@google.com>
Wed, 17 Jan 2018 21:48:37 -0500
changeset 35840 b43b314cc46a
parent 32758 cba4461aa0a0
permissions -rw-r--r--
localrepo: pass transaction kwargs as strings, not bytes Differential Revision: https://phab.mercurial-scm.org/D1899
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
     1
{header}
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
     2
<title>Help: {title}</title>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
     3
</head>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
     4
<body>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
     5
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
     6
<div class="container">
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
     7
<div class="menu">
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
     8
<div class="logo">
13964
616ad3f6fd33 hgweb: support alternate logo url
Steven Stallion <sstallion@gmail.com>
parents: 13597
diff changeset
     9
<a href="{logourl}">
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
    10
<img src="{staticurl|urlescape}{logoimg}" alt="mercurial" /></a>
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
    11
</div>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
    12
<ul>
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
    13
<li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">log</a></li>
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
    14
<li><a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a></li>
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
    15
<li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li>
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
    16
<li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li>
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 18258
diff changeset
    17
<li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li>
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
    18
</ul>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
    19
<ul>
27580
34c3ea65d6d1 templates: support linking to main help page
Gregory Szorc <gregory.szorc@gmail.com>
parents: 27578
diff changeset
    20
{if(subindex,
34c3ea65d6d1 templates: support linking to main help page
Gregory Szorc <gregory.szorc@gmail.com>
parents: 27578
diff changeset
    21
  '<li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li>',
34c3ea65d6d1 templates: support linking to main help page
Gregory Szorc <gregory.szorc@gmail.com>
parents: 27578
diff changeset
    22
  '<li class="active">help</li>'
34c3ea65d6d1 templates: support linking to main help page
Gregory Szorc <gregory.szorc@gmail.com>
parents: 27578
diff changeset
    23
)}
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
    24
</ul>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
    25
</div>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
    26
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
    27
<div class="main">
18258
bebb05a7e249 hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents: 18194
diff changeset
    28
<h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2>
32758
cba4461aa0a0 hgweb: consolidate search form for paper
Gregory Szorc <gregory.szorc@gmail.com>
parents: 30019
diff changeset
    29
{searchform}
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
    30
<table class="bigtable">
30019
6ca3c54f801b hgweb: make anchor name actually match its href on help index page
Anton Shestakov <av6@dwimlabs.net>
parents: 27580
diff changeset
    31
<tr><td colspan="2"><h2><a name="topics" href="#topics">Topics</a></h2></td></tr>
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
    32
{topics % helpentry}
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
    33
27578
d35ff0b0d0da templates: make earlycommands and othercommands optional
Gregory Szorc <gregory.szorc@gmail.com>
parents: 19795
diff changeset
    34
{if(earlycommands, '
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
    35
<tr><td colspan="2"><h2><a name="main" href="#main">Main Commands</a></h2></td></tr>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
    36
{earlycommands % helpentry}
27578
d35ff0b0d0da templates: make earlycommands and othercommands optional
Gregory Szorc <gregory.szorc@gmail.com>
parents: 19795
diff changeset
    37
')}
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
    38
27578
d35ff0b0d0da templates: make earlycommands and othercommands optional
Gregory Szorc <gregory.szorc@gmail.com>
parents: 19795
diff changeset
    39
{if(othercommands, '
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
    40
<tr><td colspan="2"><h2><a name="other" href="#other">Other Commands</a></h2></td></tr>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
    41
{othercommands % helpentry}
27578
d35ff0b0d0da templates: make earlycommands and othercommands optional
Gregory Szorc <gregory.szorc@gmail.com>
parents: 19795
diff changeset
    42
')}
d35ff0b0d0da templates: make earlycommands and othercommands optional
Gregory Szorc <gregory.szorc@gmail.com>
parents: 19795
diff changeset
    43
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
    44
</table>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
    45
</div>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
    46
</div>
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
    47
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
    48
{footer}