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.

edit-warn.twig 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <table class="layout" id="warn_user_box">
  2. <tr class="colhead">
  3. <td colspan="2">
  4. Warnings
  5. </td>
  6. </tr>
  7. <tr>
  8. <td class="label">Warned:</td>
  9. <td>
  10. <input type="checkbox" name="Warned"{{ is_warned|checked }} />{{ is_warned ? ' until ' ~ until : '' }}
  11. </td>
  12. </tr>
  13. {% if not is_warned %}
  14. <tr>
  15. <td class="label">Expiration:</td>
  16. <td>
  17. <select name="WarnLength">
  18. <option value="">---</option>
  19. <option value="1">1 week</option>
  20. <option value="2">2 weeks</option>
  21. <option value="4">4 weeks</option>
  22. <option value="8">8 weeks</option>
  23. </select>
  24. </td>
  25. </tr>
  26. {% else %}
  27. <tr>
  28. <td class="label">Extension:</td>
  29. <td>
  30. <select name="ExtendWarning" onchange="ToggleWarningAdjust(this);">
  31. <option>---</option>
  32. <option value="1">1 week</option>
  33. <option value="2">2 weeks</option>
  34. <option value="4">4 weeks</option>
  35. <option value="8">8 weeks</option>
  36. </select>
  37. </td>
  38. </tr>
  39. <tr id="ReduceWarningTR">
  40. <td class="label">Reduction:</td>
  41. <td>
  42. <select name="ReduceWarning">
  43. <option>---</option>
  44. <option value="1">1 week</option>
  45. <option value="2">2 weeks</option>
  46. <option value="4">4 weeks</option>
  47. <option value="8">8 weeks</option>
  48. </select>
  49. </td>
  50. </tr>
  51. {% endif %}
  52. <tr>
  53. <td class="label tooltip" title="This message *will* be sent to the user in the warning PM!">Warning reason:</td>
  54. <td>
  55. <input type="text" class="wide_input_text" name="WarnReason" />
  56. </td>
  57. </tr>
  58. </table>