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.

missing.twig 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <br />
  2. <div class="thin">
  3. <h2>Missing</h2>
  4. {% include 'better/links.twig' only %}
  5. <form class="search_form" name="missing" action="" method="get">
  6. <input type="hidden" name="method" value="missing" />
  7. <table cellpadding="6" cellspacing="1" border="0" class="border" width="100%">
  8. <tr>
  9. <td class="label"><strong>Filter</strong></td>
  10. <td>
  11. <select name="type">
  12. <option value="checksum"{{ types.checksum | selected }}>Missing Checksums</option>
  13. <option value="tags"{{ types.tags | selected }}>Bad Tags</option>
  14. <option value="folders"{{ types.folders | selected }}>Bad Folders</option>
  15. <option value="files"{{ types.files | selected }}>Bad Files</option>
  16. <option value="lineage"{{ types.lineage | selected }}>Missing Lineage</option>
  17. <option value="artwork"{{ types.artwork | selected }}>Missing Artwork</option>
  18. <option value="artistimg"{{ types.artistimg | selected }}>Missing Artist Images</option>
  19. <option value="artistcollage"{{ types.artistcollage | selected }}>Missing Artists Images in Artist Collages</option>
  20. <option value="artistdesc"{{ types.artistdesc | selected }}>Missing Artist Descriptions</option>
  21. <option value="artistdiscogs"{{ types.artistdiscogs | selected }}>Missing Artist Discogs ID</option>
  22. </select>
  23. <select name="filter">
  24. <option value="all"{{ filters.all | selected }}>All</option>
  25. <option value="snatched"{{ filters.snatched | selected }}>Snatched</option>
  26. <option value="uploaded"{{ filters.uploaded | selected }}>Uploaded</option>
  27. </select>
  28. </td>
  29. </tr>
  30. <tr>
  31. <td class="label"><strong>Search</strong></td>
  32. <td>
  33. <input type="search" name="search" size="60" value="{{ search }}" />
  34. </td>
  35. </tr>
  36. <tr><td>&nbsp;</td><td><input type="submit" value="Search" /></td></tr>
  37. </table>
  38. </form>
  39. {{ paginator.linkbox|raw }}
  40. <div class="box pad">
  41. <div class="torrent">
  42. <h3>There are {{ result_count }} {{ mode }} remaining
  43. {% if mode == 'torrents' and result_count > 1 and perms.zip_downloader %}
  44. {% include 'better/zip.twig' with {torrent_ids: torrent_ids} only %}
  45. {% endif %}
  46. </h3>
  47. </div>
  48. {% if mode is same as('torrents') %}
  49. {% include 'better/torrents.twig' with {results: results, auth_key: auth_key, torrent_pass: torrent_pass, tokens: tokens} only %}
  50. {% elseif mode is same as('groups') %}
  51. <table width"=100%" class="torrent_table">
  52. {% for id, group in results %}
  53. <tr>
  54. <td><a href="torrents.php?groupid={{ id }}&amp;action=editgroup">[Edit]</a>&nbsp;&nbsp;{{ group.artist|raw }} - <a href="torrents.php?id={{ id }}" target="_blank">{{ group.name|raw }}</a></td>
  55. </tr>
  56. {% endfor %}
  57. </table>
  58. {% else %}
  59. <table width"=100%" class="torrent_table">
  60. {% for id, name in results %}
  61. <tr>
  62. <td><a href="artist.php?artistid={{ id }}&amp;action=edit">[Edit]</a>&nbsp;&nbsp;<a href="artist.php?id={{ id }}">{{ name|raw }}</a></td>
  63. </tr>
  64. {% endfor %}
  65. </table>
  66. {% endif %}
  67. </div>
  68. {{ paginator.linkbox|raw }}
  69. </div>