Permalink
Browse files

link from the voting tally to the entries above.

  • Loading branch information...
1 parent 5d0d261 commit 4483c7f81161ee6399e92a01e19313c9dc8ad62d @yanick yanick committed Mar 27, 2012
Showing with 5 additions and 2 deletions.
  1. +3 −0 root/static/style.css
  2. +2 −2 root/templates/entries/index.html
@@ -294,6 +294,9 @@ div.authentication_error a, div.authentication_error a:visited {
font-family: 'Arvo';
font-size:1.5em;
}
+.vote-entry label a {
+ color: #424951;
+}
#vote input[type="submit"] {
font-family: 'Arvo';
@@ -130,7 +130,7 @@
<input type="text" class="title-vote" id="not-votes.<% id %>.score"
name="not-votes.<% id %>.score" value="" />
<% END %>
- <% entry.title %>
+ <a name="entry_<% id %>"> <% entry.title %></a>
<div style="clear: both"></div>
</h2>
<div class="entry">
@@ -160,7 +160,7 @@
<input type="hidden" name="votes.<% id %>.name" value="<% entry.link %>" />
<input type="hidden" name="votes.<% id %>.id" value="<% id %>" />
<input type="text" class="vote" id="votes.<% id %>.score" name="votes.<% id %>.score" value="" />
- <label for="votes.<% id %>.score"><% entry.title %></label>
+ <label for="votes.<% id %>.score"><a href="#entry_<% id %>"><% entry.title %></a></label>
</div>
<% END %>

0 comments on commit 4483c7f

Please sign in to comment.