为管理员增加强制显示最新排名的参数,用于比赛封榜后管理员查看最新排名。

This commit is contained in:
virusdefender
2016-04-01 21:15:46 +08:00
parent b1d191eda9
commit 2e6a65d071
2 changed files with 29 additions and 19 deletions

View File

@@ -23,13 +23,12 @@
<div class="row">
<div class="col-lg-12 table-responsive">
<h2 class="text-center">排名(
{% if contest.real_time_rank %}
实时
{% else %}
已封榜
{% endif %})
<h2 class="text-center">排名({% if contest.real_time_rank %}实时{% else %}已封榜{% endif %})
</h2>
{% if force_real_time_rank %}
<div class="alert alert-warning" role="alert">当前您使用了force_real_time_rank=true参数, 将强制显示实时结果。
此提示仅管理员可见。</div>
{% endif %}
{% if rank %}
<table class="table table-bordered table-condensed text-center">
<thead>