summaryrefslogtreecommitdiff
path: root/client/html
diff options
context:
space:
mode:
authorHunternif <hunternif@gmail.com>2019-04-27 04:44:33 +0700
committerHunternif <hunternif@gmail.com>2019-04-27 05:03:42 +0700
commit1d1f2c796ee2261d7c5117dfe56af47da4b2aa81 (patch)
treeeb613a0a6b32469b711fd4d9851f7bef79317237 /client/html
parent73af9e560de3d059c254275e1630ca5e0e902524 (diff)
client: prettier design for metric header
Diffstat (limited to 'client/html')
-rw-r--r--client/html/metric-header-item.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/html/metric-header-item.tpl b/client/html/metric-header-item.tpl
index 563b00b..3fb975f 100644
--- a/client/html/metric-header-item.tpl
+++ b/client/html/metric-header-item.tpl
@@ -1,4 +1,4 @@
-<li>
+<li class="<%= ctx.makeCssName(ctx.metric.tag.category, 'tag') %>">
<a href="<%- ctx.formatClientLink('posts', {
query: 'metric-' + ctx.escapeColons(ctx.metric.tag.names[0]) +
':' + ctx.metric.min + '..' + ctx.metric.max +