summaryrefslogtreecommitdiff
path: root/client/html
diff options
context:
space:
mode:
authorHunternif <hunternif@gmail.com>2019-05-07 23:14:23 +0700
committerHunternif <hunternif@gmail.com>2019-05-07 23:14:23 +0700
commitf1581f8ff0a8bb2a7cefdb444841f641ced34363 (patch)
treecc11ba5444a0817e5ecef7ff2dfea3c993c276e5 /client/html
parent962307a89c435236256d05fff5a3a1112c2e7f9d (diff)
client: save post id in metric sorter url
Diffstat (limited to 'client/html')
-rw-r--r--client/html/metric_header.tpl2
-rw-r--r--client/html/metric_sorter.tpl4
2 files changed, 3 insertions, 3 deletions
diff --git a/client/html/metric_header.tpl b/client/html/metric_header.tpl
index 59fe038..a711575 100644
--- a/client/html/metric_header.tpl
+++ b/client/html/metric_header.tpl
@@ -7,5 +7,5 @@
checked: ctx.showValuesOnPost,
class: 'append'}) %>
<a class='mousetrap button append close sorting'
- href="<%= ctx.getMetricSorterUrl(ctx.parameters) %>">Start sorting</a>
+ href="<%= ctx.getMetricSorterUrl('random', ctx.parameters) %>">Start sorting</a>
</form>
diff --git a/client/html/metric_sorter.tpl b/client/html/metric_sorter.tpl
index 79bf90e..2641297 100644
--- a/client/html/metric_sorter.tpl
+++ b/client/html/metric_sorter.tpl
@@ -9,7 +9,7 @@
<div class='sorting-buttons'>
<div class='compare-block'>
<% if (window.innerWidth <= 1000) { %>
- <input class='mousetrap done-btn' type='submit' value='Done'>
+ <input class='mousetrap save-btn' type='submit' value='Done'>
<% } %>
<button class='compare left-lt-right'>
<i class='fa fa-less-than'></i>
@@ -31,7 +31,7 @@
<div class='buttons'>
<% if (window.innerWidth > 1000) { %>
- <input class='mousetrap done-btn' type='submit' value='Done'>
+ <input class='mousetrap save-btn' type='submit' value='Save'>
<a href class='mousetrap append skip-btn'>Skip</a>
<% } %>
</div>