summaryrefslogtreecommitdiff
path: root/templates/paste.html
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2019-03-15 18:45:47 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2019-03-15 18:45:47 +0100
commitc57494ae405ffbdd8ec45f74ef04ea85895f1bf7 (patch)
treea0b888069205b7d8260c1862d300032a56b6fd30 /templates/paste.html
parentc5ebdf4428d9d9aab04cf6085a231ed6ea5bf0ab (diff)
Port application to flask
Diffstat (limited to 'templates/paste.html')
-rw-r--r--templates/paste.html34
1 files changed, 0 insertions, 34 deletions
diff --git a/templates/paste.html b/templates/paste.html
deleted file mode 100644
index e22f76d..0000000
--- a/templates/paste.html
+++ /dev/null
@@ -1,34 +0,0 @@
-{% extends "base.html" %}
-{% block head %}
- <script src="/static/edit.js" type="text/javascript"></script>
-{% endblock %}
-{% block content %}
- <form action="/paste" method="post" id="pasteform">
- <ul>
- <li id="syntaxli">
- <select name="syntax" id="syntax">
- {% for cat, ls in lexers %}
- <optgroup label="{{ cat }}">
- {% for k, v in ls %}
- <option value="{{ v }}"{% if v == syntax %} selected="selected"{% endif %}>{{ k }}</option>
- {% endfor %}
- </optgroup>
- {% endfor %}
- </select>
- <input type="checkbox" name="remember_syntax" id="remember_syntax"{% if remember_syntax %} checked{% endif %}>
- <label for="remember_syntax">Remember syntax</label>
- </li>
- <li>
- <input type="text" name="nick" id="nick" value="{{ nick }}">
- <input type="checkbox" name="remember_me" id="remember_me"{% if remember_me %} checked{% endif %}>
- <label for="remember_me">Remember me</label>
- </li>
- <li><input type="text" name="title" id="title" value="Untitled"></li>
- <li><textarea rows="15" cols="80" name="text" id="text"></textarea></li>
- <li>
- <input type="submit" id="pastesubmit" name="type" value="Paste">
- <input type="submit" id="pastesubmit2" name="type" value="Preview">
- </li>
- </ul>
- </form>
-{% endblock %}