{% extends "base.html" %} {% block title %}No-Class UIDs{% endblock %} {% block body %}
{% with messages = get_flashed_messages(with_categories=true) %} {% for cat, msg in messages %}
{{ msg }}
{% endfor %} {% endwith %}

❓ Unknown UIDs β€” Without Assigned Class ({{ rows|length }} records)

These are the QR UIDs that were scanned at the gate but were not found in the student database.
To resolve this issue, please visit the Students page and add the student with the correct UID & Class.

{% for i, row in enumerate(rows, 1) %} {% else %} {% endfor %}
# UID Name Gate Date & Time Reason
{{ i }} {{ row["uid"] }} {{ row["name"] or "-" }} {% set g = row["gate"] or "-" %} {% if g == "Gate-1" %} {{ g }} {% elif g == "Gate-2" %} {{ g }} {% elif g == "Gate-3" %} {{ g }} {% else %} {{ g }} {% endif %} {{ row["time"] }} {{ row["reason"] }}
βœ… No unknown UIDs found. All scanned students are registered.
{% endblock %}