summaryrefslogtreecommitdiff
path: root/client/html/metric_header.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'client/html/metric_header.tpl')
-rw-r--r--client/html/metric_header.tpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/client/html/metric_header.tpl b/client/html/metric_header.tpl
new file mode 100644
index 0000000..a711575
--- /dev/null
+++ b/client/html/metric_header.tpl
@@ -0,0 +1,11 @@
+<form class='horizontal'>
+ <ul class='metric-list'></ul>
+ <wbr>
+ <%= ctx.makeCheckbox({
+ text: 'Show values on posts',
+ name: 'show-values-on-posts',
+ checked: ctx.showValuesOnPost,
+ class: 'append'}) %>
+ <a class='mousetrap button append close sorting'
+ href="<%= ctx.getMetricSorterUrl('random', ctx.parameters) %>">Start sorting</a>
+</form>