author | Pulkit Goyal <7895pulkit@gmail.com> |
Fri, 18 May 2018 16:28:45 +0530 | |
changeset 38106 | a0e4d654bceb |
parent 35654 | 59c842a3d1e1 |
permissions | -rw-r--r-- |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8356
diff
changeset
|
1 |
{header} |
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8356
diff
changeset
|
2 |
<title>{repo|escape}: Shortlog</title> |
5269
46c5e1ee8aaa
Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents:
4461
diff
changeset
|
3 |
<link rel="alternate" type="application/atom+xml" |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
4 |
href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> |
2684
783220e5d2d1
[hgweb] Implemented shortlog (gitweb templates only)
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
2683
diff
changeset
|
5 |
<link rel="alternate" type="application/rss+xml" |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
6 |
href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> |
2684
783220e5d2d1
[hgweb] Implemented shortlog (gitweb templates only)
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
2683
diff
changeset
|
7 |
</head> |
783220e5d2d1
[hgweb] Implemented shortlog (gitweb templates only)
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
2683
diff
changeset
|
8 |
<body> |
783220e5d2d1
[hgweb] Implemented shortlog (gitweb templates only)
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
2683
diff
changeset
|
9 |
|
783220e5d2d1
[hgweb] Implemented shortlog (gitweb templates only)
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
2683
diff
changeset
|
10 |
<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:
13964
diff
changeset
|
11 |
<a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> |
bebb05a7e249
hgweb: add a "URL breadcrumb" to the index and repository pages
Angel Ezquerra <angel.ezquerra at gmail.com>
parents:
13964
diff
changeset
|
12 |
<a href="/">Mercurial</a> {pathdef%breadcrumb} / shortlog |
2684
783220e5d2d1
[hgweb] Implemented shortlog (gitweb templates only)
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
2683
diff
changeset
|
13 |
</div> |
1572
385b8872b8e3
[hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
14 |
|
385b8872b8e3
[hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
15 |
<div class="page_nav"> |
32762
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
32761
diff
changeset
|
16 |
<div> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
17 |
<a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a> | |
3271
36fa5db79dd5
hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents:
3234
diff
changeset
|
18 |
shortlog | |
25605
dd89304687a3
hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents:
20254
diff
changeset
|
19 |
<a href="{url|urlescape}log/{symrev}{sessionvars%urlparameter}">changelog</a> | |
26666
e901df65b108
gitweb: don't drop current revision context on graph page
Anton Shestakov <av6@dwimlabs.net>
parents:
25605
diff
changeset
|
20 |
<a href="{url|urlescape}graph/{symrev}{sessionvars%urlparameter}">graph</a> | |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
21 |
<a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> | |
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
22 |
<a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a> | |
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
23 |
<a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> | |
25605
dd89304687a3
hgweb: don't dereference symbolic revision in gitweb style
Anton Shestakov <av6@dwimlabs.net>
parents:
20254
diff
changeset
|
24 |
<a href="{url|urlescape}file/{symrev}{sessionvars%urlparameter}">files</a>{archives%archiveentry} | |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18258
diff
changeset
|
25 |
<a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> |
10254
8d5de52431f2
hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
9999
diff
changeset
|
26 |
<br/>{changenav%navshort}<br/> |
1572
385b8872b8e3
[hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
27 |
</div> |
32762
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
32761
diff
changeset
|
28 |
{searchform} |
2d93d2159e30
hgweb: refresh styling of gitweb's search form
Gregory Szorc <gregory.szorc@gmail.com>
parents:
32761
diff
changeset
|
29 |
</div> |
1572
385b8872b8e3
[hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
30 |
|
4454
28778dc77a4b
gitweb: shortlog template: removed excessive whitespace, added title bar.
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
3363
diff
changeset
|
31 |
<div class="title"> </div> |
20254
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
18526
diff
changeset
|
32 |
<table class="shortlogtable" cellspacing="0"> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8356
diff
changeset
|
33 |
{entries%shortlogentry} |
1572
385b8872b8e3
[hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
34 |
</table> |
385b8872b8e3
[hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
35 |
|
32992
816a4fa7d5f8
hgweb: use separate CSS class for navigation links in footer
Gregory Szorc <gregory.szorc@gmail.com>
parents:
32762
diff
changeset
|
36 |
<div class="extra_nav"> |
10254
8d5de52431f2
hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
9999
diff
changeset
|
37 |
{changenav%navshort} |
4461
3e679426dd7f
gitweb: shortlog: display nav links near the bottom
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
4454
diff
changeset
|
38 |
</div> |
3e679426dd7f
gitweb: shortlog: display nav links near the bottom
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
4454
diff
changeset
|
39 |
|
30766
d7bf7d2bd5ab
hgweb: support Content Security Policy
Gregory Szorc <gregory.szorc@gmail.com>
parents:
26666
diff
changeset
|
40 |
<script type="text/javascript"{if(nonce, ' nonce="{nonce}"')}> |
20254
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
18526
diff
changeset
|
41 |
ajaxScrollInit( |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
18526
diff
changeset
|
42 |
'{url|urlescape}shortlog/%next%{sessionvars%urlparameter}', |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
18526
diff
changeset
|
43 |
'{nextentry%"{node}"}', <!-- NEXTHASH |
35654
59c842a3d1e1
hgweb: remove unused second argument of nextPageVarGet()
Anton Shestakov <av6@dwimlabs.net>
parents:
32992
diff
changeset
|
44 |
function (htmlText) \{ |
20254
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
18526
diff
changeset
|
45 |
var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/); |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
18526
diff
changeset
|
46 |
return m ? m[1] : null; |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
18526
diff
changeset
|
47 |
}, |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
18526
diff
changeset
|
48 |
'.shortlogtable > tbody:nth-of-type(1)', |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
18526
diff
changeset
|
49 |
'<tr class="%class%">\ |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
18526
diff
changeset
|
50 |
<td colspan="4" style="text-align: center;">%text%</td>\ |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
18526
diff
changeset
|
51 |
</tr>' |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
18526
diff
changeset
|
52 |
); |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
18526
diff
changeset
|
53 |
</script> |
3896debf0a11
hgweb: infinite scroll support for gitweb style
Takumi IINO <trot.thunder@gmail.com>
parents:
18526
diff
changeset
|
54 |
|
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8356
diff
changeset
|
55 |
{footer} |