aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorofshellohicy <ofshellohicy@gmail.com>2014-07-18 15:05:30 +0800
committerofshellohicy <ofshellohicy@gmail.com>2014-07-18 15:05:30 +0800
commit60ab734aa13c69687c19aed839e3c2e25a25bf8a (patch)
tree135300515db8549e50f453f0c0119995c2c19737 /templates
parentremove useless feature (diff)
downloadstackbin-60ab734aa13c69687c19aed839e3c2e25a25bf8a.tar.gz
stackbin-60ab734aa13c69687c19aed839e3c2e25a25bf8a.tar.bz2
stackbin-60ab734aa13c69687c19aed839e3c2e25a25bf8a.zip
continue to remove useless feature
Diffstat (limited to 'templates')
-rw-r--r--templates/delete_paste.html11
-rw-r--r--templates/my_pastes.html13
2 files changed, 0 insertions, 24 deletions
diff --git a/templates/delete_paste.html b/templates/delete_paste.html
deleted file mode 100644
index e258dae..0000000
--- a/templates/delete_paste.html
+++ /dev/null
@@ -1,11 +0,0 @@
-{% extends "layout.html" %}
-{% block title %}Delete Paste #{{ paste.id }}{% endblock %}
-{% block body %}
- <h2>Delete Paste #{{ paste.id }}</h2>
- <form action="" method=post>
- <p>Are you sure you want to delete the paste? You cannot undo this.
- <p>
- <input type=submit name=yes value=Yes>
- <input type=submit name=no value=No>
- </form>
-{% endblock %}
diff --git a/templates/my_pastes.html b/templates/my_pastes.html
deleted file mode 100644
index 64967ad..0000000
--- a/templates/my_pastes.html
+++ /dev/null
@@ -1,13 +0,0 @@
-{% extends "layout.html" %}
-{% block title %}My Pastes{% endblock %}
-{% from '_pagination.html' import render_pagination %}
-{% block body %}
- <h2>My Pastes</h2>
- <ul>
- {% for paste in pagination.items %}
- <li><a href="{{ url_for('show_paste', paste_id=paste.id) }}">#{{ paste.id }}</a>
- from {{ paste.pub_date.strftime('%Y-%m-%d @ %H:%M') }}
- {% endfor %}
- </ul>
- {{ render_pagination(pagination) }}
-{% endblock %}
bgstack15