添加了题目列表每个题目前边状态指示标志:ac /没有/正在进行,因为数据是存在用户表里的所以缓存的时候可以做到与题目数据分开

This commit is contained in:
sxw@401
2015-09-15 16:41:13 +08:00
parent 0683d0914b
commit 01215a71ad
7 changed files with 62 additions and 3 deletions

View File

@@ -28,7 +28,7 @@
<tbody>
{% for item in problems %}
<tr>
<th><span class="glyphicon glyphicon-ok ac-flag"></span></th>
<th><span class="{% get_problem_status problems_status 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>