12345678910111213141516171819202122232425 |
- <div class="box" id="votes">
- <div class="head"><strong>Album Votes</strong></div>
- <div class="album_votes body">
- <span class="favoritecount tooltip" title="{{ up }} upvote{% if up != 1 %}s{% endif %}"><span id="upvotes">{{ up|number_format }}</span> <span class="vote_album_up">▲</span></span>
-
- <span class="favoritecount tooltip" title="{{ down }} downvote{% if down != 1 %}s{% endif %}"><span id="downvotes">{{ down|number_format }}</span> <span class="vote_album_down">▼</span></span>
-
- <span class="favoritecount" id="totalvotes">{{ total|number_format }}</span> Total
- <br /><br />
- <span class="tooltip_interactive" title="<span style="font-weight: bold;">Score: {{ score|number_format(4) }}</span><br /><br />This is the lower bound of the binomial confidence interval <a href="wiki.php?action=article&id=108">described here</a>, multiplied by 100." data-title-plain="Score: {{ score|number_format(4) }}. This is the lower bound of the binomial confidence interval described in the Favorite Album Votes wiki article, multiplied by 100.">Score: <span id="votescore" class="favoritecount">{{ score|number_format(1) }}</span></span>
- |
- <span id="votepercent" class="favoritecount">{{ percent|number_format(1) }}%</span> positive
- <br />
- <span id="upvoted"{% if vote != 1 %} class="hidden"{% endif %}>You have upvoted.<br /><br /></span>
- <span id="downvoted"{% if vote != -1 %} class="hidden"{% endif %}>You have downvoted.<br /><br /></span>
- {% if can_vote %}
- <span{% if vote %} class="hidden"{% endif %} id="vote_message"><a href="#" class="brackets upvote" onclick="UpVoteBox({{ group_id }}, '{{ auth }}'); return false;">Upvote</a>
- - <a href="#" class="brackets downvote" onclick="DownVoteBox({{ group_id }}, '{{ auth }}'); return false;">Downvote</a></span>
- {% endif %}
- <span{% if not vote %} class="hidden"{% endif %} id="unvote_message">Changed your mind?
- <br />
- <a href="#" onclick="UnvoteBox({{ group_id }}, '{{ auth }}'); return false;" class="brackets">Clear your vote</a>
- </span>
- </div>
- </div>
|