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/diffstatlink.tmpl

Permissions: -rw-r--r--

Other formats: Feeds:
<tr class="uk-text-nowrap">
<td><a href="#l{fileno}.1">{file|escape}</a></td>
<td class="uk-text-right">{total}</td>
<td class="uk-width-1-1">
<span class="uk-float-left kit-diffstat-add" style="width: {addpct}%;">&nbsp;</span>
<span class="uk-float-left kit-diffstat-remove" style="width: {removepct}%;">&nbsp;</span>
</td>
</tr>