比赛排名页面没有结果的时候也显示自动刷新选项

This commit is contained in:
virusdefender 2015-11-07 14:00:32 +08:00
parent 6776b88cb4
commit 3505a98ab0

View File

@ -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>