diff --git a/client/css/tags.styl b/client/css/tags.styl index 5f4af2ee..db56f799 100644 --- a/client/css/tags.styl +++ b/client/css/tags.styl @@ -10,6 +10,8 @@ background: $top-nav-color th, td padding: 0.1em 0.5em + th + background: $top-nav-color .names width: 30% .implications diff --git a/client/html/tag_list_page.hbs b/client/html/tag_list_page.hbs index 22438661..3f9a487e 100644 --- a/client/html/tag_list_page.hbs +++ b/client/html/tag_list_page.hbs @@ -2,10 +2,34 @@ <% if (results) { %>
Tag name(s) | -Implications | -Suggestions | -Usages | ++ <% if (query == 'sort:name' || !query) { %> + Tag name(s) + <% } else { %> + Tag name(s) + <% } %> + | ++ <% if (query == 'sort:implication-count') { %> + Implications + <% } else { %> + Implications + <% } %> + | ++ <% if (query == 'sort:suggestion-count') { %> + Suggestions + <% } else { %> + Suggestions + <% } %> + | ++ <% if (query == 'sort:usages') { %> + Usages + <% } else { %> + Usages + <% } %> + | <% _.each(results, tag => { %>
---|