File: pagination.html

package info (click to toggle)
flask-peewee 3.0.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,136 kB
  • sloc: javascript: 9,322; python: 3,904; makefile: 135; sh: 16
file content (6 lines) | stat: -rw-r--r-- 203 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
{% if page > 1 %}
  <a class="previous" href="./?page={{ page - 1 }}">Previous</a>
{% endif %}
{% if pagination.get_pages() > page %}
  <a class="next" href="./?page={{ page + 1 }}">Next</a>
{% endif %}