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