Automatically refresh for the processing procedure
Added a meta, so that when you're waiting for your submission to be processed, you actually don't have to Reload (or press F5) to wait for the result. Đã thêm thẻ meta, để người sử dụng khi judge không phải chờ bài được chấm nữa. Web sẽ tự động refresh trong 3s nếu trạng thái là P hoặc QU.
This commit is contained in:
parent
2520b3ba54
commit
555bf997c9
1 changed files with 2 additions and 0 deletions
|
@ -8,8 +8,10 @@
|
|||
{% if submission.status != 'IE' %}
|
||||
{% if submission.status == 'QU' %}
|
||||
<h4>{{ _('We are waiting for a suitable judge to process your submission...') }}</h4>
|
||||
<meta http-equiv="refresh" content="3" >
|
||||
{% elif submission.status == 'P' %}
|
||||
<h4>{{ _('Your submission is being processed...') }}</h4>
|
||||
<meta http-equiv="refresh" content="3" >
|
||||
{% elif submission.status == 'CE' %}
|
||||
<h3><i class="fa fa-exclamation-circle fa-fw"></i>{{ _('Compilation Error') }}</h3>
|
||||
<pre>{{ submission.error|ansi2html }}</pre>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue