diff options
| author | Hunternif <hunternif@gmail.com> | 2019-05-02 05:58:39 +0700 |
|---|---|---|
| committer | Hunternif <hunternif@gmail.com> | 2019-05-03 00:34:22 +0700 |
| commit | 96ed5eb88df43a0763c2b61aa11b83ceee2c4f12 (patch) | |
| tree | 8fbe8e0e8d033d3ea9b7d815fdf18e26b22928ac /client/html/metric_header.tpl | |
| parent | 0b4bdc57894c885ba055aed74de8b9c94c8e2f60 (diff) | |
client: metric sorter UI, view & controller
Diffstat (limited to 'client/html/metric_header.tpl')
| -rw-r--r-- | client/html/metric_header.tpl | 11 |
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..59fe038 --- /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(ctx.parameters) %>">Start sorting</a> +</form> |