{% set title = '' %} {% set subtitle = '作业' %} {% from '_macro/submission.html' import submission_status %} {% extends "layout.html" %} {% block container %}
排名 | 用户 | {% if current_user.has_manage_authority %}真实姓名 | {% endif %}通过题数 | {% for problem in homework.problem_list %}{{ chr(64 + loop.index) }} | {% endfor %}
---|---|---|---|---|
{{ loop.index }} | {{ user.id }} | {% if current_user.has_manage_authority %}{{ user.realname }} | {% endif %}{{ accepted_number[user_index] }} | {% for problem in homework.problem_list %}{% set submission = statistics[user_index][loop.index - 1] %} {% if submission is not none %} {{ submission_status(submission.status) }} {% endif %} | {% endfor %}