mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-21 08:23:20 +00:00
比赛排名页面没有结果的时候也显示自动刷新选项
This commit is contained in:
parent
6776b88cb4
commit
3505a98ab0
@ -90,6 +90,9 @@
|
||||
</nav>
|
||||
{% else %}
|
||||
<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 %}
|
||||
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user