36:c43e16e3c768
Anton Shestakov <av6@dwimlabs.net>, Mon, 13 Apr 2020 10:05:40 +0800
changeset: change margins on commit message so it fits the page better Previously, margins were used to visually separate commit message from author. Because of the left margin, it looked a bit out of place, so let's instead remove the left margin and increase the top one. This way it aligns better with surrounding blocks. Making commit message stand on its own on the page is now delegated to just monospace font. The difference with other blocks is not huge, but the whole theme is kinda minimalistic, so it should work.

next change 37:5f59998fb5eb
previous change 35:46d32d01fa47

templates/kit/changeset.tmpl

Permissions: -rw-r--r--

Other formats: Feeds:
{header}
<title>{rev}:{node|short} · {repo|escape}</title>
<link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}">
<link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}">
</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/{symrev}{sessionvars%urlparameter}">Shortlog</a></li>
<li class="uk-active"><a href="{url|urlescape}log/{symrev}{sessionvars%urlparameter}">Changelog</a></li>
<li><a href="{url|urlescape}graph/{symrev}{sessionvars%urlparameter}">Graph</a></li>
<li><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/{symrev}{sessionvars%urlparameter}">Files</a></li>
</ul>
</div>
<div class="uk-clearfix uk-margin-top">
<div class="uk-float-right">
<span class="uk-margin-left">Download:</span>
<div class="uk-button-group">
<a class="uk-button uk-button-small" href="{url|urlescape}raw-rev/{node|short}">Patch</a>
{archives%archiveentry}
</div>
<table class="uk-margin-top">
{child%changesetchild}
{ifeq(count(parent), '2', parent%changesetparentdiff, parent%changesetparent)}
</table>
</div>
<div>
<a class="kit-monospace" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{rev}:{node|short}</a>
{alltags}
</div>
<div>{author|obfuscate}, <span class="age">{date|rfc822date}</span></div>
<div class="uk-margin-top kit-commit-message">{desc|strip|escape|websub|nonempty}</div>
{if(obsolete, succsandmarkers%obsfateentry)}
{if(instabilities, whyunstable%whyunstableentry)}
</div>
<hr>
<div>
{diffsummary}
<a id="diffstatexpand" class="diffstattoggle" href="#">[<tt>+</tt>]</a>
<div id="diffstatdetails" style="display: none;">
<a class="diffstattoggle" href="#">[<tt>-</tt>]</a>
<table>{diffstat}</table>
</div>
</div>
<table class="uk-table uk-table-hover uk-text-nowrap">{files}</table>
{diff}
</div>
{footer}