fix visual problem about pagination

This commit is contained in:
thisLight 2022-02-12 23:19:50 +08:00
parent cba72a6238
commit 6b82f98b5d
3 changed files with 13 additions and 4 deletions

View file

@ -7,7 +7,7 @@
</a>
</li>
{% endif %}
{% for n in range(1, page.total, 1) %}
{% for n in range(1, page.total+1, 1) %}
<li class="{{ 'active' if page.current == n else 'waves-effect' }}">
<a href="{{ url_for('page/'+n+'/') }}">{{ n }}</a>
</li>