diff options
| author | Hunternif <hunternif@gmail.com> | 2019-05-03 01:10:46 +0700 |
|---|---|---|
| committer | Hunternif <hunternif@gmail.com> | 2019-05-03 04:02:25 +0700 |
| commit | 98007f4e1f4931cd88bd420e7eeecc761deff70a (patch) | |
| tree | 485c977afa71de5951851e0b4daed37384031399 /client/html | |
| parent | 96ed5eb88df43a0763c2b61aa11b83ceee2c4f12 (diff) | |
client: layout improvements to metric sorter
Diffstat (limited to 'client/html')
| -rw-r--r-- | client/html/metric_sorter.tpl | 4 | ||||
| -rw-r--r-- | client/html/metric_sorter_side.tpl | 10 |
2 files changed, 5 insertions, 9 deletions
diff --git a/client/html/metric_sorter.tpl b/client/html/metric_sorter.tpl index f1107bb..c7420a1 100644 --- a/client/html/metric_sorter.tpl +++ b/client/html/metric_sorter.tpl @@ -1,5 +1,5 @@ <div class='content-wrapper' id='metric-sorter'> - <h1>Sorting metric "<%- ctx.primaryMetric %>"</h1> + <h2>Sorting metric "<%- ctx.primaryMetric %>"</h2> <form> <div class='posts-container'> <div class='left-post-container'></div> @@ -11,7 +11,7 @@ <div class='buttons'> <input class='mousetrap done-btn' type='submit' value='Done'> - <a class='mousetrap append skip-btn'>Skip</a> + <a href class='mousetrap append skip-btn'>Skip</a> </div> </form> </div> diff --git a/client/html/metric_sorter_side.tpl b/client/html/metric_sorter_side.tpl index 3895ec8..8d0b010 100644 --- a/client/html/metric_sorter_side.tpl +++ b/client/html/metric_sorter_side.tpl @@ -1,9 +1,5 @@ -<header> - <% if (ctx.post) { %> - <label>Post #<%- ctx.post.id %></label> - <% } %> -</header> - <% if (ctx.post) { %> - <div class='post-container'></div> + <a href='<%= ctx.getPostUrl(ctx.post.id, ctx.parameters) %>'> + <div class='post-container'></div> + </a> <% } %> |