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

Permissions: -rw-r--r--

Other formats: Feeds:
{header}
<title>Branches · {repo|escape}</title>
<link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-branches" title="Atom feed for {repo|escape}: branches">
<link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-branches" title="RSS feed for {repo|escape}: branches">
</head>
<body>
{navbar}
<div class="uk-container uk-container-center uk-margin-large-bottom">
<div class="uk-tab-center uk-margin-top">
<ul class="uk-tab">
<li><a href="{url|urlescape}summary{sessionvars%urlparameter}">Summary</a></li>
<li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">Shortlog</a></li>
<li><a href="{url|urlescape}log{sessionvars%urlparameter}">Changelog</a></li>
<li><a href="{url|urlescape}graph{sessionvars%urlparameter}">Graph</a></li>
<li class="uk-active"><a href="{url|urlescape}branches{sessionvars%urlparameter}">Branches</a></li>
<li><a href="{url|urlescape}tags{sessionvars%urlparameter}">Tags</a></li>
<li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">Bookmarks</a></li>
<li><a href="{url|urlescape}file{sessionvars%urlparameter}">Files</a></li>
</ul>
</div>
<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}json-branches">JSON</a>
<a class="uk-button uk-button-small" href="{url|urlescape}raw-branches">Raw</a>
</div>
<span class="uk-margin-left">Feeds:</span>
<div class="uk-button-group">
<a class="uk-button uk-button-small" href="{url|urlescape}atom-branches">Atom</a>
<a class="uk-button uk-button-small" href="{url|urlescape}rss-branches">RSS</a>
</div>
</div>
<table class="uk-table uk-table-hover uk-text-nowrap">
{entries%branchentry}
</table>
</div>
{footer}