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.

upload.twig 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <div class="linkbox">
  2. <a href="logchecker.php?action=test" class="brackets">Test Logchecker</a>
  3. <a href="logchecker.php?action=update" class="brackets">Update Logs</a>
  4. </div>
  5. <div class="thin">
  6. <h2 class="center">Upload Missing Logs</h2>
  7. <div class="box pad">
  8. <p>These torrents are your uploads that state that there are logs within the torrent, but none were
  9. uploaded to the site. To fix this, please select a torrent and then some torrents to upload below.
  10. <br /><br />
  11. If you'd like to upload new logs for your uploaded torrents that have been scored, please go
  12. <a href="logchecker.php?action=update">here</a>.
  13. Additionally, you can report any torrent to staff for them to be manually rescored by staff.</p>
  14. <br />
  15. <form action="" method="post" enctype="multipart/form-data">
  16. <input type="hidden" name="action" value="take_upload" />
  17. <input type="hidden" name="from_action" value="upload" />
  18. <table class="form_post vertical_margin">
  19. <tr class="colhead">
  20. <td colspan="2">Select a Torrent</td>
  21. </tr>
  22. {% if list is empty %}
  23. <tr>
  24. <td colspan='2'>No uploads found.</td>
  25. </tr>
  26. {% else %}
  27. {% for id, name in list %}
  28. <tr>
  29. <td style="width: 5%;"><input type="radio" name="torrentid" value="{{ id }}"></td><td>{{ name|raw }}}</td>
  30. </tr>
  31. {% endfor %}
  32. <tr class="colhead">
  33. <td colspan="2">Upload Logs for This Torrent</td>
  34. </tr>
  35. <tr>
  36. <td colspan="2" id="logfields">
  37. Check your log files before uploading <a href="logchecker.php" target="_blank">here</a>.
  38. <br />
  39. <a href="javascript:;" onclick="AddLogField();" class="brackets">+</a>
  40. <a href="javascript:;" onclick="RemoveLogField();" class="brackets">&minus;</a>
  41. Add or remove additional logfiles for multi-disc releases.<br />
  42. <input id="file" type="file" accept="{{ accepted }}" name="logfiles[]" size="50" required />
  43. </td>
  44. </tr>
  45. <tr>
  46. <td colspan="2">
  47. <input type="submit" value="Upload Logs!" name="logsubmit" />
  48. </td>
  49. </tr>
  50. {% endif %}
  51. </table>
  52. </form>
  53. </div>
  54. </div>