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.

44 lines
1.6 KiB

9 years ago
  1. {% extends "base.html" %}
  2. {% block head %}
  3. <link href='/static/css/dropzone.css' media='screen, projection' rel='stylesheet' type='text/css'>
  4. {% endblock %}
  5. {% block content %}
  6. <div id="fileupload">
  7. <form action="/upload" class="dropzone" id="dropzone" method="POST" enctype="multipart/form-data">
  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)</span>
  14. </div>
  15. <div id="choices">
  16. <div id="expiry">
  17. <label>File expiry:
  18. <select name="expires" id="expires">
  19. <option value="0">never</option>
  20. <option value="60">a minute</option>
  21. <option value="300">5 minutes</option>
  22. <option value="3600">an hour</option>
  23. <option value="86400">a day</option>
  24. <option value="604800">a week</option>
  25. <option value="2419200">a month</option>
  26. <option value="29030400">a year</option>
  27. </select>
  28. </label>
  29. </div>
  30. <label><input name="randomize" id="randomize" type="checkbox" checked /> Randomize filename</label>
  31. </div>
  32. <div class="clear"></div>
  33. </form>
  34. <div id="uploads"></div>
  35. <div class="clear"></div>
  36. </div>
  37. <script src="/static/js/dropzone.js"></script>
  38. <script src="/static/js/upload.js"></script>
  39. {% endblock %}