summaryrefslogtreecommitdiff
path: root/client/html/metric_header_item.tpl
diff options
context:
space:
mode:
authorHunternif <hunternif@gmail.com>2019-05-02 05:58:39 +0700
committerHunternif <hunternif@gmail.com>2019-05-03 00:34:22 +0700
commit96ed5eb88df43a0763c2b61aa11b83ceee2c4f12 (patch)
tree8fbe8e0e8d033d3ea9b7d815fdf18e26b22928ac /client/html/metric_header_item.tpl
parent0b4bdc57894c885ba055aed74de8b9c94c8e2f60 (diff)
client: metric sorter UI, view & controller
Diffstat (limited to 'client/html/metric_header_item.tpl')
-rw-r--r--client/html/metric_header_item.tpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/client/html/metric_header_item.tpl b/client/html/metric_header_item.tpl
new file mode 100644
index 0000000..4e0e139
--- /dev/null
+++ b/client/html/metric_header_item.tpl
@@ -0,0 +1,6 @@
+<li class="<%= ctx.makeCssName(ctx.metric.tag.category, 'tag') %><%
+ if (ctx.selected) { %> selected<% } %>">
+ <a class="<%= ctx.makeCssName(ctx.metric.tag.category, 'tag') %><%
+ if (ctx.selected) { %> selected<% } %>"><%
+ %><%- ctx.metric.tag.names[0] %></a>
+</li> \ No newline at end of file