view mercurial/templates/gitweb/index.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 20ed56771b21
children eb7de21b15be
line wrap: on
line source

{header}
<title>Mercurial repositories index</title>
</head>
<body>

<div class="page_header">
    <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a>
    <a href="/">Mercurial</a> {pathdef%breadcrumb}
</div>

<table cellspacing="0">
    <tr>
        <td><a href="?sort={sort_name}">Name</a></td>
        <td><a href="?sort={sort_description}">Description</a></td>
        <td><a href="?sort={sort_contact}">Contact</a></td>
        <td><a href="?sort={sort_lastchange}">Last modified</a></td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
    </tr>
    {entries%indexentry}
</table>
<div class="page_footer">
{motd}
</div>
<script type="text/javascript">process_dates()</script>
</body>
</html>