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.

46 lines
1.9 KiB

  1. {% extends "base.html" %}
  2. {% block head %}
  3. <link href="{{ sitepath }}static/css/story.css" rel="stylesheet" type="text/css">
  4. {% endblock %}
  5. {% block innercontentmore %} class="scrollable"{% endblock %}
  6. {% block mainmore %} class="storycontent" {% endblock %}
  7. {% block infoleft %}
  8. <div id="editform">
  9. <form id="reply" action='{{ sitepath }}upload' method='post'>
  10. <div class="info-flex">
  11. <div>
  12. {% if not forcerandom %}<input class="codebox" name='filename' id="filename" type='text' value="" placeholder="filename">{% endif %}.<input id="extension" class="codebox" name='extension' type='text' value="story" placeholder="txt">
  13. </div>
  14. <div class="info-actions">
  15. <select id="expiry" name="expires">
  16. <option disabled>Expires:</option>
  17. {% for expiry in expirylist %}
  18. <option value="{{ expiry.Seconds }}"{% if forloop.Last %} selected{% endif %}>{{ expiry.Human }}</option>
  19. {% endfor %}
  20. </select>
  21. <button type="submit" id="save">Save</button>
  22. </div>
  23. </div>
  24. <textarea name='content' id="newcontent" class="editor"></textarea>
  25. </form>
  26. </div>
  27. {% endblock %}
  28. {%block infomore %}
  29. <label>wrap <input id="wordwrap" type="checkbox" checked></label> |
  30. {% endblock %}
  31. {% block main %}
  32. <div id="normal-content" class="normal">
  33. <pre id="normal-code"><code id="codeb" class="story">{% for line in lines %}{% if line|make_list|first == ">" %}<span class="storygreen">{{ line }}</span>{% else %}<span class="storyred">{{ line }}</span>{% endif %}{% endfor %}</code></pre>
  34. <textarea id="inplace-editor" class="editor">{{ extra.contents }}</textarea>
  35. </div>
  36. <script src="{{ sitepath }}static/js/util.js"></script>
  37. <script src="{{ sitepath }}static/js/bin.js?v=1"></script>
  38. {% endblock %}