aboutsummaryrefslogtreecommitdiff
path: root/client/html
diff options
context:
space:
mode:
authorrr-2016-07-30 21:47:56 +0200
committerrr-2016-07-30 23:12:31 +0200
commite464e69b36eb615b09b59adf442a03044a8e46bd (patch)
tree10018aba83888bf93598bbcf1392ed4d88c057be /client/html
parent29bc41f5dad0802c32474f042d09203b6ab8bc3f (diff)
client/general: remove faux href='#' from links
Diffstat (limited to 'client/html')
-rw-r--r--client/html/comment.tpl4
-rw-r--r--client/html/comment_form.tpl4
-rw-r--r--client/html/fav.tpl4
-rw-r--r--client/html/post_readonly_sidebar.tpl8
-rw-r--r--client/html/posts_header.tpl4
-rw-r--r--client/html/score.tpl4
-rw-r--r--client/html/tag_categories.tpl2
-rw-r--r--client/html/tag_category_row.tpl4
8 files changed, 17 insertions, 17 deletions
diff --git a/client/html/comment.tpl b/client/html/comment.tpl
index da91a03..8cae159 100644
--- a/client/html/comment.tpl
+++ b/client/html/comment.tpl
@@ -32,13 +32,13 @@
--><span class='score-container'></span><!--
--><% if (ctx.canEditComment) { %><!--
- --><a class='edit' href='#'><!--
+ --><a class='edit'><!--
--><i class='fa fa-pencil'></i> edit<!--
--></a><!--
--><% } %><!--
--><% if (ctx.canDeleteComment) { %><!--
- --><a class='delete' href='#'><!--
+ --><a class='delete'><!--
--><i class='fa fa-remove'></i> delete<!--
--></a><!--
--><% } %><!--
diff --git a/client/html/comment_form.tpl b/client/html/comment_form.tpl
index 87e0c50..269805b 100644
--- a/client/html/comment_form.tpl
+++ b/client/html/comment_form.tpl
@@ -16,8 +16,8 @@
<nav class='buttons'>
<ul>
- <li class='preview'><a href='#'>Preview</a></li>
- <li class='edit'><a href='#'>Edit</a></li>
+ <li class='preview'><a>Preview</a></li>
+ <li class='edit'><a>Edit</a></li>
</ul>
</nav>
diff --git a/client/html/fav.tpl b/client/html/fav.tpl
index d0f9664..d97333f 100644
--- a/client/html/fav.tpl
+++ b/client/html/fav.tpl
@@ -1,9 +1,9 @@
<% if (ctx.canFavorite) { %>
<% if (ctx.ownFavorite) { %>
- <a class='remove-favorite' href='#'>
+ <a class='remove-favorite'>
<i class='fa fa-heart'></i>
<% } else { %>
- <a class='add-favorite' href='#'>
+ <a class='add-favorite'>
<i class='fa fa-heart-o'></i>
<% } %>
<% } else { %>
diff --git a/client/html/post_readonly_sidebar.tpl b/client/html/post_readonly_sidebar.tpl
index 61c701b..a4b0eb0 100644
--- a/client/html/post_readonly_sidebar.tpl
+++ b/client/html/post_readonly_sidebar.tpl
@@ -26,10 +26,10 @@
</section>
<section class='zoom'>
- <a class='fit-original' href='#'>Original zoom</a> &middot;
- <a class='fit-width' href='#'>fit width</a> &middot;
- <a class='fit-height' href='#'>height</a> &middot;
- <a class='fit-both' href='#'>both</a>
+ <a class='fit-original'>Original zoom</a> &middot;
+ <a class='fit-width'>fit width</a> &middot;
+ <a class='fit-height'>height</a> &middot;
+ <a class='fit-both'>both</a>
</section>
<section class='search'>
diff --git a/client/html/posts_header.tpl b/client/html/posts_header.tpl
index a1af737..431a471 100644
--- a/client/html/posts_header.tpl
+++ b/client/html/posts_header.tpl
@@ -12,11 +12,11 @@
<% if (ctx.parameters.tag) { %>
<span class='append'>Tagging with:</span>
<% } else { %>
- <a class='mousetrap button append open-masstag' href='#'>Mass tag</a>
+ <a class='mousetrap button append open-masstag'>Mass tag</a>
<% } %>
<%= ctx.makeTextInput({name: 'masstag', value: ctx.parameters.tag}) %>
<input class='mousetrap start-tagging' type='submit' value='Start tagging'/>
- <a class='mousetrap button append stop-tagging' href='#'>Stop tagging</a>
+ <a class='mousetrap button append stop-tagging'>Stop tagging</a>
</form>
<% } %>
</div>
diff --git a/client/html/score.tpl b/client/html/score.tpl
index 3ceee16..3641ce3 100644
--- a/client/html/score.tpl
+++ b/client/html/score.tpl
@@ -1,5 +1,5 @@
<% if (ctx.canScore) { %>
- <a class='upvote' href='#'>
+ <a class='upvote'>
<% if (ctx.ownScore == 1) { %>
<i class='fa fa-thumbs-up'></i>
<% } else { %>
@@ -15,7 +15,7 @@
<% } %>
<span class='value'><%- ctx.score %></span>
<% if (ctx.canScore) { %>
- <a class='downvote' href='#'>
+ <a class='downvote'>
<% if (ctx.ownScore == -1) { %>
<i class='fa fa-thumbs-down'></i>
<% } else { %>
diff --git a/client/html/tag_categories.tpl b/client/html/tag_categories.tpl
index e835291..f39f4d6 100644
--- a/client/html/tag_categories.tpl
+++ b/client/html/tag_categories.tpl
@@ -14,7 +14,7 @@
</table>
<% if (ctx.canCreate) { %>
- <p><a href='#' class='add'>Add new category</a></p>
+ <p><a class='add'>Add new category</a></p>
<% } %>
<div class='messages'></div>
diff --git a/client/html/tag_category_row.tpl b/client/html/tag_category_row.tpl
index c633464..daa3c44 100644
--- a/client/html/tag_category_row.tpl
+++ b/client/html/tag_category_row.tpl
@@ -29,13 +29,13 @@
<% if (ctx.tagCategory.tagCount) { %>
<a class='inactive' title="Can't delete category in use">Remove</a>
<% } else { %>
- <a href='#'>Remove</a>
+ <a>Remove</a>
<% } %>
</td>
<% } %>
<% if (ctx.canSetDefault) { %>
<td class='set-default'>
- <a href='#'>Make default</a>
+ <a>Make default</a>
</td>
<% } %>
</tr>

© 2015 - 2026 Jakob L. Kreuze