修改了比赛题目列表中表示题目状态的标识(AC/正在进行/没开始)

This commit is contained in:
sxw@401
2015-09-05 19:55:51 +08:00
parent ac4277ccd5
commit cbd9e448c5
2 changed files with 36 additions and 13 deletions

View File

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