修改没有参加比赛权限的错误页面样式
This commit is contained in:
@@ -6,6 +6,17 @@
|
|||||||
<li role="presentation" class="active">
|
<li role="presentation" class="active">
|
||||||
<a href="/contest/{{ contest.id }}/">比赛详情</a>
|
<a href="/contest/{{ contest.id }}/">比赛详情</a>
|
||||||
</li>
|
</li>
|
||||||
|
{% if show_tab %}
|
||||||
|
<li role="presentation">
|
||||||
|
<a href="/contest/{{ contest.id }}/problems/">题目</a>
|
||||||
|
</li>
|
||||||
|
<li role="presentation">
|
||||||
|
<a href="/contest/{{ contest.id }}/submissions/">提交</a>
|
||||||
|
</li>
|
||||||
|
<li role="presentation">
|
||||||
|
<a href="/contest/{{ contest.id }}/rank/">排名</a>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
{% include "oj/contest/_contest_header.html" %}
|
{% include "oj/contest/_contest_header.html" %}
|
||||||
{% ifequal reason "password_protect" %}
|
{% ifequal reason "password_protect" %}
|
||||||
@@ -16,9 +27,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<button type="button" id="contest-password-btn" class="btn btn-primary">提交</button>
|
<button type="button" id="contest-password-btn" class="btn btn-primary">提交</button>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% endifequal %}
|
||||||
|
{% ifequal reason "group_limited" %}
|
||||||
<div class="alert alert-danger" role="alert">比赛仅指定小组可以参加,你不在这些小组中。</div>
|
<div class="alert alert-danger" role="alert">比赛仅指定小组可以参加,你不在这些小组中。</div>
|
||||||
{% endifequal %}
|
{% endifequal %}
|
||||||
|
{% ifequal reason "contest_not_start" %}
|
||||||
|
<div class="alert alert-danger" role="alert">比赛还没有开始。</div>
|
||||||
|
{% endifequal %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block js_block %}
|
{% block js_block %}
|
||||||
|
|||||||
Reference in New Issue
Block a user