BioTorrents.de’s version of Gazelle
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

box.twig 2.2KB

12345678910111213141516171819202122232425
  1. <div class="box" id="votes">
  2. <div class="head"><strong>Album Votes</strong></div>
  3. <div class="album_votes body">
  4. <span class="favoritecount tooltip" title="{{ up }} upvote{% if up != 1 %}s{% endif %}"><span id="upvotes">{{ up|number_format }}</span> <span class="vote_album_up">&#x25b2;</span></span>
  5. &nbsp;&nbsp;
  6. <span class="favoritecount tooltip" title="{{ down }} downvote{% if down != 1 %}s{% endif %}"><span id="downvotes">{{ down|number_format }}</span> <span class="vote_album_down">&#x25bc;</span></span>
  7. &nbsp;&nbsp;
  8. <span class="favoritecount" id="totalvotes">{{ total|number_format }}</span> Total
  9. <br /><br />
  10. <span class="tooltip_interactive" title="&lt;span style=&quot;font-weight: bold;&quot;&gt;Score: {{ score|number_format(4) }}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This is the lower bound of the binomial confidence interval &lt;a href=&quot;wiki.php?action=article&amp;id=108&quot;&gt;described here&lt;/a&gt;, 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>
  11. &nbsp; | &nbsp;
  12. <span id="votepercent" class="favoritecount">{{ percent|number_format(1) }}%</span> positive
  13. <br />
  14. <span id="upvoted"{% if vote != 1 %} class="hidden"{% endif %}>You have upvoted.<br /><br /></span>
  15. <span id="downvoted"{% if vote != -1 %} class="hidden"{% endif %}>You have downvoted.<br /><br /></span>
  16. {% if can_vote %}
  17. <span{% if vote %} class="hidden"{% endif %} id="vote_message"><a href="#" class="brackets upvote" onclick="UpVoteBox({{ group_id }}, '{{ auth }}'); return false;">Upvote</a>
  18. - <a href="#" class="brackets downvote" onclick="DownVoteBox({{ group_id }}, '{{ auth }}'); return false;">Downvote</a></span>
  19. {% endif %}
  20. <span{% if not vote %} class="hidden"{% endif %} id="unvote_message">Changed your mind?
  21. <br />
  22. <a href="#" onclick="UnvoteBox({{ group_id }}, '{{ auth }}'); return false;" class="brackets">Clear your vote</a>
  23. </span>
  24. </div>
  25. </div>