{% import "components/ui/v1.html" as ui_v1 %} {% extends "layout/basic.html" %} {% block content %} {{ set( UiContext, 'socketUrl', "record-conn?domainId=" + handler.args.domainId + (("&tid=" + filterTid) if filterTid else "") + (("&uidOrName=" + filterUidOrName) if filterUidOrName else "") + (("&pid=" + filterPid) if filterPid else "") + ("&all=1" if all else "") + ("&allDomain=1" if allDomain else "") ) }} {{ set(UiContext, 'rids', rdocs.map(eval("rdoc=>rdoc._id.toString()"))) }}
{% include "partials/record_navigation.html" %}
{% if all %}{% endif %} {% if allDomain %}{% endif %}

{{ _('Filter') }}

{{ _('Reset') }}
{% if not rdocs.length %} {% if not filterUidOrName and not filterPid and not filterTid %} {{ nothing.render('Oh, there is no task in the queue!') }} {% else %} {{ nothing.render('Oh, there are no tasks that match the filter!') }} {% endif %} {% else %} {% call ui_v1.table_scroll(_('Records')) %} {%- for rdoc in rdocs -%} {% set udoc = udict[rdoc['uid']] %} {% set pdoc = pdict[rdoc['pid']] %} {% include 'record_main_tr.html' %} {%- endfor -%}
{{ _('Status') }} {{ _('Problem') }} {{ _('Submit By') }} {{ _('Time') }} {{ _('Memory') }} {{ _('Language') }} {{ _('Submit At') }}
{% endcall %} {% if handler.user.hasPriv(PRIV.PRIV_VIEW_JUDGE_STATISTICS) or filterTid or filterPid or filterUidOrName %} {% endif %} {% endif %}
{% if statistics %}

{{ _('Statistics') }}

{{ _('5 Min')}}
{{ statistics['d5min'] }}
{{ _('1 Hour')}}
{{ statistics['d1h'] }}
{{ _('Day') }}
{{ statistics['day'] }}
{{ _('Week') }}
{{ statistics['week'] }}
{{ _('Month') }}
{{ statistics['month'] }}
{{ _('Year') }}
{{ statistics['year'] }}
{{ _('Total') }}
{{ statistics['total'] }}
{% endif %}
{% endblock %}