diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/delete_paste.html | 11 | ||||
-rw-r--r-- | templates/my_pastes.html | 13 |
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 %} |