2015-09-30 06:46:58 +02:00
{% extends "base.html" %}
{% block content %}
2015-10-30 23:36:47 +01:00
< form id = "reply" action = '{{ sitepath }}upload' method = 'post' >
2015-10-08 05:35:48 +02:00
< div id = "main" >
< div id = "info" class = "ninfo" >
< input class = "codebox" name = 'filename' id = "filename" type = 'text' value = "" placeholder = "filename (empty for random filename)" / > .< 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 >
< div class = "right" >
< select id = "expiry" name = "expires" >
2016-09-19 06:45:00 +02:00
< option disabled = "disabled" > Expires:< / option >
{% for expiry in expirylist %}
< option value = "{{ expiry.Seconds }}" { % if forloop . Last % } selected { % endif % } > {{ expiry.Human }}< / option >
{% endfor %}
2015-10-08 05:35:48 +02:00
< / select >
< input type = "submit" value = "Paste" >
< / div >
2015-09-30 06:46:58 +02:00
< / div >
2015-10-08 05:35:48 +02:00
< div id = "inner_content" >
< textarea name = 'content' id = "content" class = "editor" > < / textarea >
< / div >
2015-09-30 06:46:58 +02:00
< / div >
< / form >
2015-10-10 07:20:17 +02:00
2015-10-30 23:36:47 +01:00
< script src = "{{ sitepath }}static/js/util.js" > < / script >
< script src = "{{ sitepath }}static/js/paste.js" > < / script >
2015-10-04 23:13:29 +02:00
{% endblock %}