This commit is contained in:
2025-09-20 03:15:02 +08:00
parent b460f145be
commit bda213bdd5

View File

@ -41,13 +41,13 @@
{% for page in range(range_l, range_r + 1) %} {% for page in range(range_l, range_r + 1) %}
<li class="page-item{{ ' active' if curr_page == page }}"> <li class="page-item{{ ' active' if curr_page == page }}">
<a class="page-link" <a class="page-link"
href="/plugins/ctfd-whale/admin/containers?page={{ page }}&type={{ request.args.get('type', 'instances') }}" href="/plugins/ctfd-whale/admin/containers?page={{ page }}&type={{ session.get('page_type', 'containers') }}"
>{{ page }}</a> >{{ page }}</a>
</li> </li>
{% endfor %} {% endfor %}
<li class="page-item{{ ' disabled' if curr_page >= pages else '' }}"> <li class="page-item{{ ' disabled' if curr_page >= pages else '' }}">
<a class="page-link" aria-label="Next" <a class="page-link" aria-label="Next"
href="/plugins/ctfd-whale/admin/containers?page={{ curr_page + 1 }}&type={{ request.args.get('type', 'instances') }}" href="/plugins/ctfd-whale/admin/containers?page={{ curr_page + 1 }}&type={{ session.get('page_type', 'containers') }}"
> >
<span aria-hidden="true">&raquo;</span> <span aria-hidden="true">&raquo;</span>
<span class="sr-only">Next</span> <span class="sr-only">Next</span>