mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-21 16:33:22 +00:00
Merge branch 'virusdefender-dev' of https://git.coding.net/virusdefender/qduoj into dev-s
This commit is contained in:
commit
81debdc56d
@ -26,6 +26,7 @@
|
|||||||
// ------ admin web 组件 ----------
|
// ------ admin web 组件 ----------
|
||||||
pager: "components/pager",
|
pager: "components/pager",
|
||||||
editorComponent: "components/editorComponent",
|
editorComponent: "components/editorComponent",
|
||||||
|
testCaseUploader: "components/testCaseUploader",
|
||||||
|
|
||||||
// ------ 下面写的都不要直接用,而是使用上面的封装版本 ------
|
// ------ 下面写的都不要直接用,而是使用上面的封装版本 ------
|
||||||
//富文本编辑器simditor -> editor
|
//富文本编辑器simditor -> editor
|
||||||
|
@ -72,24 +72,27 @@
|
|||||||
onchange="if(this.checked){location.href=location.href + '&auto_refresh=true'}else{location.href=location.href=location.href.replace('&auto_refresh=true', '')}">
|
onchange="if(this.checked){location.href=location.href + '&auto_refresh=true'}else{location.href=location.href=location.href.replace('&auto_refresh=true', '')}">
|
||||||
自动刷新
|
自动刷新
|
||||||
<nav>
|
<nav>
|
||||||
<ul class="pager">
|
<ul class="pager">
|
||||||
{% if paging_info.previous_page %}
|
{% if paging_info.previous_page %}
|
||||||
<li class="previous">
|
<li class="previous">
|
||||||
<a href="/contest/{{ contest.id }}/rank/?paging=true&page={{ paging_info.previous_page }}&page_size={{ paging_info.page_size }}{% if auto_refresh %}&auto_refresh=true{% endif %}">
|
<a href="/contest/{{ contest.id }}/rank/?paging=true&page={{ paging_info.previous_page }}&page_size={{ paging_info.page_size }}{% if auto_refresh %}&auto_refresh=true{% endif %}">
|
||||||
|
|
||||||
<span aria-hidden="true">←</span> 上一页
|
<span aria-hidden="true">←</span> 上一页
|
||||||
</a></li>
|
</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if paging_info.next_page %}
|
{% if paging_info.next_page %}
|
||||||
<li class="next">
|
<li class="next">
|
||||||
<a href="/contest/{{ contest.id }}/rank/?paging=true&page={{ paging_info.next_page }}&page_size={{ paging_info.page_size }}{% if auto_refresh %}&auto_refresh=true{% endif %}">
|
<a href="/contest/{{ contest.id }}/rank/?paging=true&page={{ paging_info.next_page }}&page_size={{ paging_info.page_size }}{% if auto_refresh %}&auto_refresh=true{% endif %}">
|
||||||
下一页 <span aria-hidden="true">→</span>
|
下一页 <span aria-hidden="true">→</span>
|
||||||
</a></li>
|
</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>还没有结果</p>
|
<p>还没有结果</p>
|
||||||
|
<input type="checkbox" id="auto-refresh" {% if auto_refresh %}checked{% endif %}
|
||||||
|
onchange="if(this.checked){location.href=location.href + '&auto_refresh=true'}else{location.href=location.href=location.href.replace('&auto_refresh=true', '')}">
|
||||||
|
自动刷新
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user