ui: add paginator to top of problem_main page

This commit is contained in:
undefined committed 2021-11-30 00:49:42 +08:00
1 parent 51527c7f79
commit 11cc42b943
6 files changed
+22 -10

No files matched your search

@@ -1,6 +1,6 @@
{% macro render(page, num_pages, add_qs='') %}
{% macro render(page, num_pages, add_qs='', position='bottom') %}
{% if num_pages > 0 %}
<ul class="pager">
<ul class="pager pager-{{ position }}">
{%- for type, page0 in paginate(page, num_pages) -%}
<li>
{% if type == 'first' %}