Add pager to browse page.
This commit is contained in:
parent
146b79bde8
commit
c2727e6fc8
5 changed files with 95 additions and 11 deletions
|
|
@ -1,3 +1,4 @@
|
|||
{% from "macro.html" import render_pagination %}
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}{{ label }}{% endblock %}
|
||||
|
|
@ -51,11 +52,7 @@
|
|||
{% endfor %}
|
||||
</div>
|
||||
|
||||
{#
|
||||
{% for item in items %}
|
||||
<pre>{{ item | pprint }}</pre>
|
||||
{% endfor %}
|
||||
#}
|
||||
{{ render_pagination(pager) }}
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue