mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: add paginator to top of problem_main page
This commit is contained in:
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' %}
|
||||
|
||||
Reference in new issue
Block a user