Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display total resource usage on submission status pages #869

Merged
merged 2 commits into from Feb 6, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions templates/submission/status-testcases.html
Expand Up @@ -95,6 +95,12 @@ <h3>{{ _('Execution Results') }}</h3>
{% if submission.is_graded %}
<br>
{% if submission.result != "AB" %}
<b>{{ _('Resources:') }}</b>
{% if submission.result != "TLE" %}
<span title="{{ submission.time }}s">{{ submission.time|floatformat(3) }}s,</span>
Ninjaclasher marked this conversation as resolved.
Show resolved Hide resolved
{% endif %}
{{ submission.memory|kbdetailformat }}
<br>
{% if is_pretest %}
<b>{{ _('Final pretest score:') }}</b>
{% else %}
Expand Down