You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Hydro/templates/problem_submit_tr.html

19 lines
543 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">{{ datetime_span(rdoc['_id'].generationTime) }}</td>
</tr>