修补部分没有判断比赛权限的问题;增加比赛调试模式的页面提示

This commit is contained in:
virusdefender
2015-09-22 16:19:40 +08:00
parent 707e38ac79
commit 389c1905a6
2 changed files with 37 additions and 27 deletions

View File

@@ -60,7 +60,7 @@
<div class="problem-detail">{{ contest_problem.hint|safe }}</div>
</div>
{% endif %}
{% ifequal contest.status 0 %}
{% if show_submit_code_area %}
<div>
<label>选择语言</label>
<div>
@@ -86,7 +86,7 @@
</button>
<img src="/static/img/loading.gif" id="loading-gif">
</div>
{% endifequal %}
{% endif %}
{% if show_warning %}
<div class="alert alert-success" role="alert">{{ warning }}</div>
{% endif %}