view_ip.html: add links to previous and next cursors

This commit is contained in:
Zankaria 2024-10-15 00:15:54 +02:00
parent 82463bb720
commit b9081be4ac

View file

@ -213,3 +213,12 @@
{{ board_posts.posts|join('<hr>') }}
</fieldset>
{% endfor %}
<div class="pages" style="margin-left: 50%">
<a href="?/IP/{{ ip }}">[Page 1]</a>
{% if cursor_prev %}
<a href="?/IP/{{ ip }}/cursor/{{ cursor_prev }}">[Previous Page]</a>
{% endif %}
{% if cursor_next %}
<a href="?/IP/{{ ip }}/cursor/{{ cursor_next }}">[Next Page]</a>
{% endif %}
</div>