Contains the Concourse pipeline definition for building a line-server container
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.

39 lines
1.4 KiB

9 years ago
  1. {% extends "base.html" %}
  2. {% block head %}
  3. <link href='{{ sitepath }}static/css/dropzone.css' media='screen, projection' rel='stylesheet' type='text/css'>
  4. {% endblock %}
  5. {% block content %}
  6. <div id="fileupload">
  7. <form action="{{ sitepath }}upload" class="dropzone" id="dropzone" method="POST" enctype="multipart/form-data" data-maxsize="{{ maxsize }}">
  8. <div class="fallback">
  9. <input id="fileinput" name="file" type="file" /><br />
  10. <input id="submitbtn" type="submit" value="Upload">
  11. </div>
  12. <div id="dzone" class="dz-default dz-message">
  13. <span>Click or Drop file(s) or Paste image</span>
  14. </div>
  15. <div id="choices">
  16. <div id="expiry">
  17. <label>File expiry:
  18. <select name="expires" id="expires">
  19. {% for expiry in expirylist %}
  20. <option value="{{ expiry.Seconds }}"{% if forloop.Last %} selected{% endif %}>{{ expiry.Human }}</option>
  21. {% endfor %}
  22. </select>
  23. </label>
  24. </div>
  25. <label><input name="randomize" id="randomize" type="checkbox" checked /> Randomize filename</label>
  26. </div>
  27. <div class="clear"></div>
  28. </form>
  29. <div id="uploads"></div>
  30. <div class="clear"></div>
  31. </div>
  32. <script src="{{ sitepath }}static/js/dropzone.js"></script>
  33. <script src="{{ sitepath }}static/js/upload.js"></script>
  34. {% endblock %}