{% extends "layout/basic.html" %} {% import "components/user.html" as user with context %} {% import "components/paginator.html" as paginator with context %} {% import "components/nothing.html" as nothing with context %} {% block content %}
{% if personalUrl %}{{ _('我的火苗') }}{% endif %} {{ _('火苗榜') }} {% if manageUrl %}{{ _('火苗设置') }}{% endif %}

{{ _('火苗榜') }}

{% if config.requireAccepted %}{{ _('AC 点亮') }}{% else %}{{ _('提交点亮') }}{% endif %} · {{ _('最近') }} {{ config.windowDays }} {{ _('天') }}
{% if not config.enabled %}
{{ _('当前子域未启用训练火苗。') }}
{% elif not rows.length %} {{ nothing.render('还没有训练记录。') }} {% else %} {% for row in rows %} {% endfor %}
{{ _('排名') }} {{ _('用户') }} {{ _('连续') }} {{ _('最长') }} {{ _('活跃天数') }} {{ _('提交') }} {{ _('AC') }} {{ _('最近点亮') }}
{{ row.rank }} {% if udict[row.uid] %}{{ user.render_inline(udict[row.uid], badge=false) }}{% else %}UID {{ row.uid }}{% endif %} {{ row.current }} 天 {{ row.best }} {{ row.activeDays }} {{ row.submissions }} {{ row.accepts }} {{ row.lastActiveDate or '-' }}
{{ paginator.render(page, pageCount) }} {% endif %}
{% endblock %}