aboutsummaryrefslogtreecommitdiff
path: root/templates/my_pastes.html
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2011-12-05 22:38:43 -0500
committerArmin Ronacher <armin.ronacher@active-4.com>2011-12-05 22:38:43 -0500
commit803d20968fea1e25a298aa3b4e670d5670995e0d (patch)
tree2f90c6b8403e85576d0109a672dccb46598ce115 /templates/my_pastes.html
downloadstackbin-803d20968fea1e25a298aa3b4e670d5670995e0d.tar.gz
stackbin-803d20968fea1e25a298aa3b4e670d5670995e0d.tar.bz2
stackbin-803d20968fea1e25a298aa3b4e670d5670995e0d.zip
Added as example app
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