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.

42 lines
1.8 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="right pad-left">
  11. <button id="save">save</button>
  12. <select id="expiry" name="expires">
  13. <option disabled=disabled>Expires:</option>
  14. {% for expiry in expirylist %}
  15. <option value="{{ expiry.Seconds }}"{% if forloop.Last %} selected{% endif %}>{{ expiry.Human }}</option>
  16. {% endfor %}
  17. </select>
  18. </div>
  19. <input class="codebox" name='filename' id="filename" type='text' value="" placeholder="filename">.<input id="extension" class="codebox" name='extension' type='text' value="story" placeholder="txt">
  20. <textarea name='content' id="newcontent" class="editor"></textarea>
  21. </form>
  22. </div>
  23. {% endblock %}
  24. {%block infomore %}
  25. <label>wrap <input id="wordwrap" type="checkbox" checked></label> |
  26. {% endblock %}
  27. {% block main %}
  28. <div id="normal-content" class="normal">
  29. <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>
  30. <textarea id="inplace-editor" class="editor">{{ extra.contents }}</textarea>
  31. </div>
  32. <script src="{{ sitepath }}static/js/util.js"></script>
  33. <script src="{{ sitepath }}static/js/bin.js"></script>
  34. {% endblock %}