mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-21 16:33:22 +00:00
优化比赛的前台显示样式;删除公告,没有提交的时候不显示表格的表头;修改部分 typo
This commit is contained in:
parent
4ab1107627
commit
634bc82024
@ -29,7 +29,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="col-md-9 col-lg-9">
|
<div class="col-md-12 col-lg-12">
|
||||||
<div>
|
<div>
|
||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
@ -60,9 +60,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3 col-lg-3">
|
|
||||||
{% include "oj/announcement/_announcement_panel.html" %}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -50,9 +50,9 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th scope="row">{{ forloop.counter }}</th>
|
<th scope="row">{{ forloop.counter }}</th>
|
||||||
<td>
|
<td>
|
||||||
{{ item.user.username }}
|
{{ item.user__username }}
|
||||||
{% if show_real_name %}
|
{% if show_real_name %}
|
||||||
({{ item.user.real_name }})
|
({{ item.user__real_name }})
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td>{{ item.total_ac_number }} / {{ item.total_submission_number }}</td>
|
<td>{{ item.total_ac_number }} / {{ item.total_submission_number }}</td>
|
||||||
|
@ -24,8 +24,10 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<table class="table table-bordered">
|
<table class="table table-bordered">
|
||||||
|
|
||||||
|
{% if submissions %}
|
||||||
<thead>
|
<thead>
|
||||||
<tr class="" success>
|
<tr>
|
||||||
<th>#</th>
|
<th>#</th>
|
||||||
<th>题目名称</th>
|
<th>题目名称</th>
|
||||||
<th>用户</th>
|
<th>用户</th>
|
||||||
@ -65,7 +67,6 @@
|
|||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
{% if submissions %}
|
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for item in submissions %}
|
{% for item in submissions %}
|
||||||
<tr>
|
<tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user