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.

similar.twig 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <div class="box box_artists">
  2. <div class="head"><strong>Similar Artists</strong></div>
  3. <ul class="stats nobullet">
  4. {% if not similar %}
  5. <li><span style="font-style: italic;">None found</span></li>
  6. {% else %}
  7. {% for s in similar %}
  8. <li>
  9. <span class="tooltip" title="{{ s.Score/100 }}"><a href="artist.php?id={{ s.ArtistID }}" style="float: left; display: block;">{{ s.Name }}</a></span>
  10. <div style="float: right; display: block; letter-spacing: -1px;">
  11. <a href="artist.php?action=vote_similar&amp;artistid={{ s.ArtistID }}&amp;similarid={{
  12. s.SimilarID }}&amp;way=up" class="tooltip brackets vote_artist_up" title="Vote up this similar artist. Use this when you feel that the two artists are quite similar.">&#x25b2;</a>
  13. <a href="artist.php?action=vote_similar&amp;artistid={{ s.ArtistID }}&amp;similarid={{
  14. s.SimilarID }}&amp;way=down" class="tooltip brackets vote_artist_down" title="Vote down this similar artist. Use this when you feel that the two artists are not all that similar.">&#x25bc;</a>
  15. {% if admin %}
  16. <span class="remove remove_artist"><a href="artist.php?action=delete_similar&amp;artistid={{ s.ArtistID }}&amp;similarid={{
  17. s.SimilarID }}&amp;auth={{ auth }}" class="tooltip brackets" title="Remove this similar artist">&#x2715;</a></span>
  18. {% endif %}
  19. </div>
  20. <br style="clear: both;" />
  21. </li>
  22. {% endfor %}
  23. </ul>
  24. {% endif %}
  25. </div>
  26. <div class="box box_addartists box_addartists_similar">
  27. <div class="head"><strong>Add similar artist</strong></div>
  28. <ul class="nobullet">
  29. <li>
  30. <form class="add_form" name="similar_artists" action="artist.php" method="post">
  31. <input type="hidden" name="action" value="add_similar" />
  32. <input type="hidden" name="auth" value="{{ auth }}" />
  33. <input type="hidden" name="artistid" value="{{ artist_id }}" />
  34. <input type="text" autocomplete="off" id="artistsimilar" name="artistname" size="20"{% if autocomplete %} data-gazelle-autocomplete="true"{% endif %} />
  35. <input type="submit" value="+" />
  36. </form>
  37. </li>
  38. </ul>
  39. </div>