晕了,没提交代码就在服务器上调试。。。

This commit is contained in:
virusdefender 2015-09-24 16:14:32 +08:00
parent 460c6b0bb2
commit c0d239ff66
2 changed files with 2 additions and 15 deletions

View File

@ -44,20 +44,7 @@
{% for item in contest_problems %}
<tr>
<th>
<span class="glyphicon
{% if item.state %}
{% ifequal item.state 1%}
glyphicon-ok ac-flag
{% else %}
glyphicon-minus dealing-flag
{% endifequal %}
{% endif %}
"></span>
<span class="{% get_problem_status request.user.problems_status.contest_problems item.id %}"></span>
</th>
<th scope="row">
<a href="/contest/{{ item.contest.id }}/problem/{{ item.id }}/">{{ item.sort_index }}</a>

View File

@ -31,7 +31,7 @@
<tbody>
{% for item in problems %}
<tr>
<th><span class="{% get_problem_status problems_status item.id %}"></span></th>
<th><span class="{% get_problem_status request.user.problems_status.problems item.id %}"></span></th>
<th scope="row"><a href="/problem/{{ item.id }}/">{{ item.id }}</a></th>
<td><a href="/problem/{{ item.id }}/">{{ item.title }}</a></td>
<td>