{% extends "base.html" %} {% block title %}Saisie des notes - {{ assessment.title }} - Gestion Scolaire{% endblock %} {% block content %}
← Retour à l'évaluation

Saisie des notes

{{ assessment.title }} - {{ assessment.class_group.name }}

Guide de saisie unifié

Notes : Valeurs décimales (ex: 15.5) Scores : {% for value in ['0', '1', '2', '3'] %} {% if value in scale_values %} {% set config = scale_values[value] %} {{ value }}={{ config.label }} {% if not loop.last %}, {% endif %} {% endif %} {% endfor %} Spéciaux : {% set special_items = [] %} {% for value in scale_values.keys() if not value.isdigit() %} {% if value in scale_values %} {% set config = scale_values[value] %} {% set item = '' + value + '=' + config.label + '' %} {% set _ = special_items.append(item) %} {% endif %} {% endfor %} {{ special_items | join(', ') | safe }}
{% if not grading_elements %}

Aucun élément de notation

Cette évaluation n'a pas encore d'éléments de notation configurés. Vous devez d'abord créer des exercices et leurs éléments de notation.

{% else %}

Grille de notation

Progression :
0 / {{ (students|length * grading_elements|length) }} champs
{% set current_exercise = '' %} {% set exercise_elements = {} %} {% for element in grading_elements %} {% if element.exercise.title not in exercise_elements %} {% set _ = exercise_elements.update({element.exercise.title: []}) %} {% endif %} {% set _ = exercise_elements[element.exercise.title].append(element) %} {% endfor %} {% for exercise_title, elements in exercise_elements.items() %} {% endfor %} {% set current_exercise = '' %} {% for element in grading_elements %} {% if element.exercise.title != current_exercise %} {% set current_exercise = element.exercise.title %} {% set exercise_color = 'border-l-4 border-' + ['blue', 'green', 'purple', 'orange', 'pink'][loop.index0 % 5] + '-400' %} {% endif %} {% endfor %} {% for student in students %} {% set current_exercise = '' %} {% for element in grading_elements %} {% if element.exercise.title != current_exercise %} {% set current_exercise = element.exercise.title %} {% set exercise_bg_color = ['bg-blue-25', 'bg-green-25', 'bg-purple-25', 'bg-orange-25', 'bg-pink-25'][loop.index0 % 5] %} {% set exercise_border_color = ['border-l-2 border-blue-300', 'border-l-2 border-green-300', 'border-l-2 border-purple-300', 'border-l-2 border-orange-300', 'border-l-2 border-pink-300'][loop.index0 % 5] %} {% endif %} {% set grade_key = student.id ~ '_' ~ element.id %} {% set existing_grade = existing_grades.get(grade_key) %} {% endfor %} {% endfor %}
Élève {{ exercise_title }}
{{ elements|length }} élément{{ 's' if elements|length > 1 else '' }}
{{ students|length }} élève(s)
{{ element.label }}
{% if element.domain %}
{{ element.domain.name }}
{% endif %} {% if element.description %}
{{ element.description }}
{% endif %}
{% if element.grading_type == 'score' %} 0-3 {% else %} /{{ element.max_points }} {% endif %}
{% if element.skill %}
{{ element.skill }}
{% endif %}
{{ loop.index }}
{{ student.first_name }} {{ student.last_name }}
{% if element.grading_type == 'score' %} {% else %} {% endif %}
Non sauvegardé
Position : - / -
Annuler
{% endif %}
Action réalisée
{% endblock %}