1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

logs view adds paging ability

settings.LOGS_PER_PAGE controls logs count per page
This commit is contained in:
Jan Krcmar 2016-03-23 10:38:33 +01:00
parent 317c2a85ae
commit 6afcd00e2e
6 changed files with 35 additions and 7 deletions

View file

@ -0,0 +1,12 @@
<center>
{% if page > 1 %}
<a href="{% url 'showlogspage' page|add:"-1" %}">&larr;</a>
{% else %}
&nbsp;
{% endif %}
{% if has_next_page %}
<a href="{% url 'showlogspage' page|add:"1" %}">&rarr;</a>
{% else %}
&nbsp;
{% endif %}
</center>