aboutsummaryrefslogtreecommitdiffstats
path: root/templates/pagination.html
diff options
context:
space:
mode:
authorWeitian LI <liweitianux@gmail.com>2014-04-18 21:18:50 +0800
committerWeitian LI <liweitianux@gmail.com>2014-04-18 21:18:50 +0800
commita4d102896cd261ced64316fce45dd264a797a903 (patch)
treef8a06526f5817b7e3f7b7a08de9434766c6b1a9a /templates/pagination.html
parenta50364c081a5aa4857223474207c154cb82896ee (diff)
downloaddjango-skaschool-a4d102896cd261ced64316fce45dd264a797a903.tar.bz2
* updated settings.py, added settings_email.py
* created directories 'static' and 'templates' * added app 'account', 'notice' * added app 'demo'
Diffstat (limited to 'templates/pagination.html')
-rw-r--r--templates/pagination.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/pagination.html b/templates/pagination.html
new file mode 100644
index 0000000..ed11d4f
--- /dev/null
+++ b/templates/pagination.html
@@ -0,0 +1,25 @@
+{% extends 'base.html' %}
+
+{% load bootstrap3 %}
+
+{% block title %}
+ Pagination
+{% endblock %}
+
+{% block content %}
+
+ <table class="table">
+ {% for line in lines %}
+ <tr>
+ <td>{{ line }}</td>
+ </tr>
+ {% endfor %}
+ </table>
+
+ <hr>
+
+ {% bootstrap_pagination lines url="/pagination?page=1&flop=flip" extra="q=foo" size="small" %}
+
+ {% bootstrap_pagination lines url="/pagination?page=1" size="large" %}
+
+{% endblock %}