aboutsummaryrefslogtreecommitdiff
path: root/templates/my_pastes.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/my_pastes.html')
-rw-r--r--templates/my_pastes.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/my_pastes.html b/templates/my_pastes.html
new file mode 100644
index 0000000..64967ad
--- /dev/null
+++ b/templates/my_pastes.html
@@ -0,0 +1,13 @@
+{% 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