From a4d102896cd261ced64316fce45dd264a797a903 Mon Sep 17 00:00:00 2001 From: Weitian LI Date: Fri, 18 Apr 2014 21:18:50 +0800 Subject: * updated settings.py, added settings_email.py * created directories 'static' and 'templates' * added app 'account', 'notice' * added app 'demo' --- templates/pagination.html | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 templates/pagination.html (limited to 'templates/pagination.html') 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 %} + + + {% for line in lines %} + + + + {% endfor %} +
{{ line }}
+ +
+ + {% bootstrap_pagination lines url="/pagination?page=1&flop=flip" extra="q=foo" size="small" %} + + {% bootstrap_pagination lines url="/pagination?page=1" size="large" %} + +{% endblock %} -- cgit v1.2.2