比赛题目详情页,提示比赛状态
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
{% extends 'oj_base.html' %}
|
||||
|
||||
{% block body %}
|
||||
@@ -6,7 +5,9 @@
|
||||
<ul class="nav nav-tabs nav-tabs-google">
|
||||
<li role="presentation" class="active">
|
||||
<a href="/contest/{{ contest_problem.contest.id }}/problem/{{ contest_problem.id }}/">题目</a></li>
|
||||
<li role="presentation"><a href="/contest/{{ contest_problem.contest.id }}/problem/{{ contest_problem.id }}/my_submissions/">我的提交</a></li>
|
||||
<li role="presentation"><a
|
||||
href="/contest/{{ contest_problem.contest.id }}/problem/{{ contest_problem.id }}/my_submissions/">我的提交</a>
|
||||
</li>
|
||||
</ul>
|
||||
<h2 class="text-center">{{ contest_problem.title }}</h2>
|
||||
|
||||
@@ -60,6 +61,7 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% ifequal contest.status 0 %}
|
||||
<div>
|
||||
<label>选择语言</label>
|
||||
|
||||
@@ -89,8 +91,10 @@
|
||||
<img src="/static/img/loading.gif" id="loading-gif">
|
||||
|
||||
</div>
|
||||
{% endifequal %}
|
||||
|
||||
{% if show_warning %}
|
||||
<div class="alert alert-success" role="alert">您已经提交过本题的正确答案了!</div>
|
||||
<div class="alert alert-success" role="alert">{{ warning }}</div>
|
||||
{% endif %}
|
||||
|
||||
<div id="result">
|
||||
|
||||
Reference in New Issue
Block a user