Download:
child 5:68a84ba47d99
parent 3:86f8a488ccb2
4:a13bf07ea76c
Anton Shestakov <av6@dwimlabs.net>, Wed, 05 Oct 2016 06:26:54 +0800
labels: make repo labels use the same color as bookmarks

3 файлов изменено, 3 вставок(+), 2 удалений(-) [+]
map file | annotate | diff | comparison | revisions
style-kit.css file | annotate | diff | comparison | revisions
summary.tmpl file | annotate | diff | comparison | revisions
--- a/map Tue Oct 04 14:15:34 2016 +0800
+++ b/map Wed Oct 05 06:26:54 2016 +0800
@@ -280,7 +280,7 @@
<tr>
<td>
<a href="{url|urlescape}{sessionvars%urlparameter}">{name|escape}</a>
- {ifeq(count(labels), 0, '', '<span class="uk-badge uk-badge-success">{join(labels, ', ')|escape}</span>')}
+ {ifeq(count(labels), 0, '', '<span class="uk-badge kit-badge-label">{join(labels, ', ')|escape}</span>')}
</td>
<td class="uk-width-1-1 uk-text-break kit-white-space-normal">{description}</td>
<td>{contact|obfuscate}</td>
--- a/style-kit.css Tue Oct 04 14:15:34 2016 +0800
+++ b/style-kit.css Wed Oct 05 06:26:54 2016 +0800
@@ -68,6 +68,7 @@
background-color: #8cc14c;
}
+.kit-badge-label,
.kit-badge-bookmark {
background-color: #c247ce;
}
--- a/summary.tmpl Tue Oct 04 14:15:34 2016 +0800
+++ b/summary.tmpl Wed Oct 05 06:26:54 2016 +0800
@@ -25,7 +25,7 @@
<div class="uk-clearfix uk-margin-top">
<h2>
{repo|escape}
- {ifeq(count(labels), 0, '', '<span class="uk-badge uk-badge-success">{join(labels, ', ')|escape}</span>')}
+ {ifeq(count(labels), 0, '', '<span class="uk-badge kit-badge-label">{join(labels, ', ')|escape}</span>')}
<div class="uk-button-group uk-float-right">
{archives%archiveentry}
</div>