mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-21 08:23:20 +00:00
优化比赛的前台显示样式;删除公告,没有提交的时候不显示表格的表头;修改部分 typo
This commit is contained in:
parent
4ab1107627
commit
634bc82024
@ -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 %}
|
||||
|
@ -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>
|
||||
|
@ -24,8 +24,10 @@
|
||||
</ul>
|
||||
</div>
|
||||
<table class="table table-bordered">
|
||||
|
||||
{% if submissions %}
|
||||
<thead>
|
||||
<tr class="" success>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>题目名称</th>
|
||||
<th>用户</th>
|
||||
@ -65,7 +67,6 @@
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{% if submissions %}
|
||||
<tbody>
|
||||
{% for item in submissions %}
|
||||
<tr>
|
||||
|
Loading…
Reference in New Issue
Block a user