{% extends "layout.html" %} {% block head %} {{ super() }} {# Add htmx #} {% endblock %} {% block column %} {{ super() }}

{{ _("Information") }}

Submission author(s) {% for author in authors %}

{{ author }}

{% endfor %}
Task {{ task.get_name(user_manager.session_language()) }}
Submitted {{ submitted_on }}
{% endblock %} {% block navbar %} {% endblock %} {% block content %} {% if success is not none %} {% if success == '1' %} {% else %} {% endif %} {% endif %}

Coding Style Grading for Submission {{ submission._id }}

Show submission and author info here?


{% for id, grade in grades.grades.items() %} {% if loop.index0 % 2 == 0 %}
{% endif %}

{% if id in config.enabled %} {# prefer showing up-to-date name #} {{ config.enabled[id].name }} {% else %} {# fall back on name stored in existing grade #} {% set disabled = True %} {{ grade.name }} (disabled) {% endif %}

{% if disabled %} {# Show button to remove disabled category #}
{% endif %}

{% if id in config.enabled %} {{ config.enabled[id].description }} {% else %} {{ grade.description }} {% endif %}




{% if disabled %} NOTE: This category has been disabled and will not contribute to the submission's grade. {% endif %}
{% if loop.index % 2 == 0 %}
{% endif %} {% endfor %}
{% if grades %}

Average:

{{grades.get_mean(config)}}

{% endif %}
{% endblock %} {# {% if config.enabled.get(id) %} {{ config.enabled[id].name }} {% else %} {% endif %} #}