Merge branch 'hohoTT-dev' into virusdefender-dev

* hohoTT-dev:
  改打开题目为当前窗口打开,并且去掉题目单页中的返回选项
  contest type 的表示类型修改为常量
  比赛描述居中,注意:后台写题目描述的时候无需空格,描述会自动居中,不然描述会偏离原来居中的方向。
This commit is contained in:
virusdefender
2015-09-11 20:37:15 +08:00
10 changed files with 74 additions and 56 deletions

View File

@@ -9,9 +9,6 @@
<li role="presentation">
<a href="/problem/{{ problem.id }}/submissions/">我的提交</a>
</li>
<li role="presentation">
<a href="/problems/">返回</a>
</li>
</ul>
{% include "oj/problem/_problem_header.html" %}

View File

@@ -29,8 +29,8 @@
{% for item in problems %}
<tr>
<th><span class="glyphicon glyphicon-ok ac-flag"></span></th>
<th scope="row"><a href="/problem/{{ item.id }}/" target="_blank">{{ item.id }}</a></th>
<td><a href="/problem/{{ item.id }}/" target="_blank">{{ item.title }}</a></td>
<th scope="row"><a href="/problem/{{ item.id }}/">{{ item.id }}</a></th>
<td><a href="/problem/{{ item.id }}/">{{ item.title }}</a></td>
<td>{{ item.difficulty }}</td>
<td>{{ item|accepted_radio }}</td>
</tr>