{% extends "exams/base.html" %} {% load static %} {% block title %} School Results Upload - {{ school.name }} {% endblock %} {% block content %}

School Results Upload

{{ school.name }} ({{ school.school_code }}) | {{ project.name }} ({{ project.year }})

Back to Projects
Security Notice: This upload is restricted to {{ school.name }} ({{ school.school_code }}). Only results for students registered in this school will be accepted. Any file containing data for other schools will be rejected.
Upload Results
Instructions:
  • Download the template for your school
  • Only enter scores for students from {{ school.name }}
  • Do not modify the school code in the template
  • Enter scores (0-100) or X for absent
  • Upload the completed Excel file
Template Format:
Row 1: School Code | Student Number | Student Name | Sex | Subject codes
Row 2: (Empty or descriptions)
Row 3+: Student Number | Subject scores (0-100 or X)
                        
  • School Code is validated - Must match {{ school.school_code }}
  • Student numbers must exist in the system for this school
  • Scores: 0-100 (numeric) or X (absent)
{% csrf_token %}
Only .xlsx files are accepted
Existing Results
{{ student_count }}
Registered Students
{{ page_obj.paginator.count }}
Score Records
{{ subjects|length }}
Subjects
{% if report %}
Last upload report:
{{ report|truncatechars:500 }}
{% endif %}
{% for subject in subjects %} {% endfor %} {% for student_key, data in table.items %} {% for subject in subjects %} {% endfor %} {% empty %} {% endfor %}
Student No Student Name Sex{{ subject }}
{{ data.student_number }} {{ data.student_name|truncatechars:30 }} {% if data.sex == 'M' %} M {% else %} F {% endif %} {% with score=data.scores|get_item:subject %} {% if score %} {% if score == 'X' %} X {% else %} {% with score_num=score|floatformat:0|add:0 %} {{ score_num }} {% endwith %} {% endif %} {% else %} - {% endif %} {% endwith %}
No results uploaded yet. Use the form to upload results.
{% if page_obj.has_other_pages %} {% endif %}
{% endblock %}