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.
templates/kit/graph.tmpl
Permissions: -rw-r--r--
<title>Graph at {symrev|escape} · {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}"> <div class="uk-container uk-container-center uk-margin-large-bottom"> <div class="uk-tab-center uk-margin-top"> <li><a href="{url|urlescape}summary{sessionvars%urlparameter}">Summary</a></li> <li><a href="{url|urlescape}shortlog/{symrev}{sessionvars%urlparameter}">Shortlog</a></li> <li><a href="{url|urlescape}log/{symrev}{sessionvars%urlparameter}">Changelog</a></li> <li class="uk-active"><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> <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-graph">JSON</a> <a class="uk-button uk-button-small" href="{url|urlescape}raw-graph">Raw</a> <span class="uk-margin-left">Feeds:</span> <div class="uk-button-group"> <a class="uk-button uk-button-small" href="{url|urlescape}atom-log">Atom</a> <a class="uk-button uk-button-small" href="{url|urlescape}rss-log">RSS</a> <noscript>The revision graph only works with JavaScript-enabled browsers.</noscript> <ul class="uk-pagination"> <li><a href="{url|urlescape}graph/{symrev}{lessvars%urlparameter}">less</a></li> <li><a href="{url|urlescape}graph/{symrev}{morevars%urlparameter}">more</a></li> <div class="uk-position-relative" data-scroll-target> <canvas id="graph"></canvas> <ul id="graphnodes" class="uk-list">{nodes%graphentry}</ul> <ul class="uk-pagination"> <li><a href="{url|urlescape}graph/{symrev}{lessvars%urlparameter}">less</a></li> <li><a href="{url|urlescape}graph/{symrev}{morevars%urlparameter}">more</a></li> var data = {jsdata|json}; graph.scale({bg_height}); <script type="text/javascript"> '{url|urlescape}graph/%next%{graphvars%urlparameter}', '{nextentry%"{node}"}', <!-- NEXTHASH var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/); '<div class="%class%" style="text-align: center;">%text%</div>',