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.5 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" class="info-flex">
  6. <div>
  7. {% if not forcerandom %}<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>{% endif %}.<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. <select id="expiry" name="expires">
  11. <option disabled>Expires:</option>
  12. {% for expiry in expirylist %}
  13. <option value="{{ expiry.Seconds }}"{% if forloop.Last %} selected{% endif %}>{{ expiry.Human }}</option>
  14. {% endfor %}
  15. </select>
  16. <button type="submit">Paste</button>
  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 %}