2015-09-30 00:46:58 -04:00
{% extends "base.html" %}
2015-10-07 23:35:48 -04:00
{% block head %}
2015-10-30 18:36:47 -04:00
< link href = "{{ sitepath }}static/css/hint.css" rel = "stylesheet" type = "text/css" >
2015-10-07 23:35:48 -04:00
{% endblock %}
2015-09-30 00:46:58 -04:00
{% block content %}
2015-10-30 18:36:47 -04:00
< form id = "reply" action = '{{ sitepath }}upload' method = 'post' >
2015-10-07 23:35:48 -04: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" >
< option disabled = disabled > Expires:< / option >
< option value = "0" > never< / option >
< option value = "60" > a minute< / option >
< option value = "300" > 5 minutes< / option >
< option value = "3600" > an hour< / option >
< option value = "86400" > a day< / option >
< option value = "604800" > a week< / option >
< option value = "2419200" > a month< / option >
< option value = "29030400" > a year< / option >
< / select >
< input type = "submit" value = "Paste" >
< / div >
2015-09-30 00:46:58 -04:00
< / div >
2015-10-07 23:35:48 -04:00
< div id = "inner_content" >
< textarea name = 'content' id = "content" class = "editor" > < / textarea >
< / div >
2015-09-30 00:46:58 -04:00
< / div >
< / form >
2015-10-10 01:20:17 -04:00
2015-10-30 18:36:47 -04:00
< script src = "{{ sitepath }}static/js/util.js" > < / script >
< script src = "{{ sitepath }}static/js/paste.js" > < / script >
2015-10-04 17:13:29 -04:00
{% endblock %}