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.

29 lines
1.4 KiB

9 years ago
9 years ago
9 years ago
  1. {% extends "base.html" %}
  2. {% block content %}
  3. <form id="reply" action='{{ sitepath }}upload' method='post'>
  4. <div id="main" class="paste">
  5. <div id="info">
  6. <div>
  7. <span class="hint--top hint--bounce" data-hint="Leave empty for random filename"><input class="codebox" name='filename' id="filename" type='text' value="" placeholder="filename" /></span>.<span class="hint--top hint--bounce" data-hint="Enable syntax highlighting by adding the extension"><input id="extension" class="codebox" name='extension' type='text' value="" placeholder="txt" /></span>
  8. </div>
  9. <div>
  10. <input type="submit" value="Paste">
  11. <select id="expiry" name="expires">
  12. <option disabled="disabled">Expires:</option>
  13. {% for expiry in expirylist %}
  14. <option value="{{ expiry.Seconds }}"{% if forloop.Last %} selected{% endif %}>{{ expiry.Human }}</option>
  15. {% endfor %}
  16. </select>
  17. </div>
  18. </div>
  19. <div id="inner_content" class="padme">
  20. <textarea name='content' id="content" class="editor"></textarea>
  21. </div>
  22. </div>
  23. </form>
  24. <script src="{{ sitepath }}static/js/util.js"></script>
  25. <script src="{{ sitepath }}static/js/paste.js"></script>
  26. {% endblock %}