summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html20
-rw-r--r--templates/full.html18
-rw-r--r--templates/message.html5
-rw-r--r--templates/paste.html34
-rw-r--r--templates/view.html28
5 files changed, 0 insertions, 105 deletions
diff --git a/templates/base.html b/templates/base.html
deleted file mode 100644
index 196a03e..0000000
--- a/templates/base.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <title>{{ title }}</title>
- <link rel="StyleSheet" href="/static/paste.css" type="text/css">
-{% block head %}
-{% endblock %}
- </head>
- <body>
- <div id="page">
- <div id="page-header">
- <h1><a href="/">{{ header }}</a></h1>
- </div>
- <div id="page-content">
-{% block content %}
-{% endblock %}
- </div>
- </div>
- </body>
-</html>
diff --git a/templates/full.html b/templates/full.html
deleted file mode 100644
index dfa0606..0000000
--- a/templates/full.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <title>{{ title }}</title>
- <link rel="StyleSheet" href="/highlight_stylesheet" type="text/css">
- <link rel="StyleSheet" href="/static/paste.css" type="text/css">
- <script type="text/javascript" src="/static/view.js"></script>
-</head>
-<body>
-{% if rendered %}
-<div class="paste-rendered">
-{% endif %}
-{{ text }}
-{% if rendered %}
-</div>
-{% endif %}
-</body>
-</html>
diff --git a/templates/message.html b/templates/message.html
deleted file mode 100644
index 540b64a..0000000
--- a/templates/message.html
+++ /dev/null
@@ -1,5 +0,0 @@
-{% extends "base.html" %}
-{% block content %}
- <p><a href="/">New paste</a></p>
- {{ text }}
-{% endblock %}
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 %}
diff --git a/templates/view.html b/templates/view.html
deleted file mode 100644
index a1d00a7..0000000
--- a/templates/view.html
+++ /dev/null
@@ -1,28 +0,0 @@
-{% extends "base.html" %}
-{% block head %}
- <link rel="StyleSheet" href="/highlight_stylesheet" type="text/css">
- <script type="text/javascript" src="/static/view.js"></script>
-{% endblock %}
-{% block content %}
- <p><a href="/">New paste</a></p>
- <div id="paste">
- <h3>{{ pastetitle }}</h3>
- <div id="info">Pasted by <span id="nick">{{ nick }}</span> on <span id="date">{{date }}</span>
- {% if syntax %} as <span id="syntax-type">{{ syntax }}</span>{% endif %}
- </div>
- <div id="alt-links">
- {% if hash %}
- <a href="/raw/{{ hash }}">Download as plain text</a>
- &mdash;
- <a href="/full/{{ hash }}">View in fullscreen</a>
- {% endif %}
- </div>
- {% if rendered %}
- <div class="paste-rendered">
- {% endif %}
- {{ text }}
- {% if rendered %}
- </div>
- {% endif %}
- </div>
-{% endblock %}