37:5f59998fb5eb
Anton Shestakov <av6@dwimlabs.net>, Wed, 15 Apr 2020 15:20:29 +0800
kit: use CSS counters to render line numbers where possible Affects changeset, file view, file diff and file annotate pages. Doesn't affect file comparison page (aka side-by-side file diff). Page size, regular file view (mercurial/commands.py): - 987963 B before - 596244 B after Page size, changeset (4441705b7111): - 1319976 B before - 923672 B after

previous change 6:63ac0f5af5d5

templates/kit/index.tmpl

Permissions: -rw-r--r--

Other formats: Feeds:
{header}
<title>Mercurial repositories index</title>
</head>
<body>
<nav class="uk-navbar">
<ul class="uk-navbar-nav">
<li><a href="/">Repositories</a></li>
{pathdef%breadcrumb}
</ul>
<div class="uk-navbar-flip">
<nav class="uk-navbar-nav">
<li><a href="{logourl}" class="uk-navbar-brand"><img src="{staticurl|urlescape}hgicon.png" alt="hgicon"> Mercurial</a></li>
</nav>
</div>
</nav>
<div class="uk-container uk-container-center uk-margin-large-bottom">
<div class="uk-text-right uk-margin-top">
<span class="uk-margin-left">Other formats:</span>
<div class="uk-button-group">
<a class="uk-button uk-button-small" href="{url|urlescape}?style=json">JSON</a>
<a class="uk-button uk-button-small" href="{url|urlescape}?style=raw">Raw</a>
</div>
</div>
<table class="uk-table uk-table-hover uk-text-nowrap">
<thead>
<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></td>
<td></td>
</tr>
</thead>
<tbody>
{entries%indexentry}
</tbody>
</table>
</div>
{footer}