{% extends "layout/basic.html" %} {% import "components/ui/v1.html" as ui_v1 %} {% block content %}
{% set currentTab = 'learning' %} {% include "partials/record_navigation.html" %} {% set overview_user = targetUser|default(handler.user) %} {% call ui_v1.page_header(_('我的做题总览') if isSelf|default(true) else _('做题总览') ~ ':' ~ overview_user.uname ~ ' (UID: ' ~ overview_user._id ~ ')', extra_class='bplearning-page__header') %} {% if not isSelf|default(true) %}{{ _('查看我的总览') }}{% endif %} {{ _('用户主页') }} {% endcall %} {% call ui_v1.panel(body_class='bplearning-page__filters') %}
{% if canViewOthers %} {% endif %}
{% endcall %}
{{ ui_v1.stat(learning.totals.attempted, _('期间尝试'), extra_class='bplearning-page__stat') }} {{ ui_v1.stat(learning.totals.accepted, _('首次通过'), extra_class='bplearning-page__stat') }} {{ ui_v1.stat(learning.totals.reviewed, _('再次通过'), extra_class='bplearning-page__stat') }}

{{ _('逐题记录') }} {{ learning.total }} {{ _('题') }}

{% if learning.rows|length %}
{% for row in learning.rows %} {% endfor %}
{{ _('题号') }} {{ _('难度') }} {{ _('题目') }} {{ _('标签') }} {{ _('首次打开') }} {{ _('首次 AC') }} {{ _('操作') }}
{{ row.pid }} {{ ui_v1.category_label(row.difficultyLabel, row.difficulty or 0) }} {{ row.title }} {{ row.tags|join(' · ') or '—' }} {% if row.firstOpened %}{% else %}{{ _('未记录') }}{% endif %} {{ ui_v1.badge(row.completionLabel, row.completionTone) }}
{% else %}
{{ ui_v1.empty_state(_('这段时间没有符合条件的记录')) }}
{% endif %} {% if learning.pageCount > 1 %} {% endif %}
{% for row in learning.rows %} {% endfor %}
{% endblock %}