{% 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 "") + ("&allDomain=1" if all else "") ) }} {{ set(UiContext, 'rids', rdocs.map(eval("rdoc=>rdoc._id.toString()"))) }}

{{ _('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 is no task that matches the filter!') }} {% endif %} {% else %} {%- 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') }}
{% if handler.user.hasPriv(PRIV.PRIV_VIEW_JUDGE_STATISTICS) %} {% 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 %}