Files
Hydro/templates/problem_submit_tr.html
T
2020-05-22 12:15:07 +08:00

19 lines
542 B
HTML

{% import "components/record.html" as record with context %}
<tr data-rid="{{ rdoc['_id'] }}">
{{ record.render_status_td(rdoc) }}
<td class="col--pretest">
{% if rdoc['type'] == vj4.constant.record.TYPE_PRETEST %}
{{ _('Yes') }}
{% else %}
{{ _('No') }}
{% endif %}
</td>
<td class="col--memory">
{{ (rdoc.memory / 1000)|round(0, 'ceil')|int }} MB
</td>
<td class="col--time">
{{ (rdoc.time / 1000)|round(1) }}s
</td>
<td class="col--submit-at">{{ datetimeSpan(rdoc['_id'].generationTime) }}</td>
</tr>