修改了比赛题目列表中表示题目状态的标识(AC/正在进行/没开始)
This commit is contained in:
@@ -40,7 +40,22 @@
|
||||
<tbody>
|
||||
{% for item in contest_problems %}
|
||||
<tr>
|
||||
<th><span class="glyphicon glyphicon-ok ac-flag"></span></th>
|
||||
<th>
|
||||
|
||||
<span class="glyphicon
|
||||
{% if item.ac %}
|
||||
{% ifequal item.ac 1%}
|
||||
glyphicon-ok ac-flag
|
||||
{% else %}
|
||||
glyphicon-arrow-right ac-flag
|
||||
{% endifequal %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
||||
"></span>
|
||||
|
||||
</th>
|
||||
<th scope="row">
|
||||
<a href="/contest/{{ item.contest.id }}/problem/{{ item.id }}/" target="_blank">{{ item.sort_index }}</a>
|
||||
</th>
|
||||
|
||||
Reference in New Issue
Block a user