优化比赛的前台显示样式;删除公告,没有提交的时候不显示表格的表头;修改部分 typo

This commit is contained in:
virusdefender 2015-09-25 19:35:48 +08:00
parent 4ab1107627
commit 634bc82024
3 changed files with 8 additions and 9 deletions

View File

@ -29,7 +29,7 @@
</div>
<div class="col-md-9 col-lg-9">
<div class="col-md-12 col-lg-12">
<div>
<table class="table table-striped">
<thead>
@ -60,9 +60,7 @@
</div>
</div>
<div class="col-md-3 col-lg-3">
{% include "oj/announcement/_announcement_panel.html" %}
</div>
</div>
</div>
{% endblock %}

View File

@ -50,9 +50,9 @@
<tr>
<th scope="row">{{ forloop.counter }}</th>
<td>
{{ item.user.username }}
{{ item.user__username }}
{% if show_real_name %}
{{ item.user.real_name }}
{{ item.user__real_name }}
{% endif %}
</td>
<td>{{ item.total_ac_number }} / {{ item.total_submission_number }}</td>

View File

@ -24,8 +24,10 @@
</ul>
</div>
<table class="table table-bordered">
<thead>
<tr class="" success>
{% if submissions %}
<thead>
<tr>
<th>#</th>
<th>题目名称</th>
<th>用户</th>
@ -65,7 +67,6 @@
</th>
</tr>
</thead>
{% if submissions %}
<tbody>
{% for item in submissions %}
<tr>