Mercurial > hg
annotate mercurial/templates/gitweb/footer.tmpl @ 26670:ab2cd800f1b0
gitweb: visually highlight source lines when hovering over line numbers
Due to how the line links now reside outside of the source lines, hovering over
line numbers doesn't count as hovering over the appropriate source line. It can
be worked around by using a "+" css selector. However, it's necessary to
reorder the elements and put <a> before <span> (which is actually quite
logical). It works without further css tweaks because <a> is already
absolute-positioned and so the order doesn't matter visually.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 15 Oct 2015 00:04:58 +0800 |
parents | 9409aeaafdc1 |
children | eb7de21b15be |
rev | line source |
---|---|
14046
b24e5a708fad
web: Made elapsed time calculation dynamic (javascript).
Benoit Allard <benoit@aeteurope.nl>
parents:
9999
diff
changeset
|
1 <script type="text/javascript">process_dates()</script> |
1572
385b8872b8e3
[hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
2 <div class="page_footer"> |
6218
345a23eca8f6
gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents:
6210
diff
changeset
|
3 <div class="page_footer_text">{repo|escape}</div> |
345a23eca8f6
gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents:
6210
diff
changeset
|
4 <div class="rss_logo"> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
14046
diff
changeset
|
5 <a href="{url|urlescape}rss-log">RSS</a> |
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
14046
diff
changeset
|
6 <a href="{url|urlescape}atom-log">Atom</a> |
6218
345a23eca8f6
gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents:
6210
diff
changeset
|
7 </div> |
3478
2896ce093ec4
Add #motd# to gitweb pages. Needs to pass self.motd to index template, too.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
3271
diff
changeset
|
8 <br /> |
6218
345a23eca8f6
gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents:
6210
diff
changeset
|
9 {motd} |
1572
385b8872b8e3
[hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
10 </div> |
385b8872b8e3
[hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
11 </body> |
385b8872b8e3
[hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
12 </html> |