{% extends 'base.html' %} {% block title %}Professor Dashboard • Student Smart Portal{% endblock %} {% block content %}
{{ 'ADMINISTRATOR DASHBOARD' if actor.role == 'admin' else 'TEACHER DASHBOARD' }} Classroom Mode

Attendance management

{{ actor.display_name }} • Start a session, project its QR code, and let students check in.

Classroom Server: 1,000 Capacity
📶 Wi-Fi: SSP@OUC
⏱️

Start a lecture

New attendance session
New Session

Creating a new lecture closes only your own previous open lecture and generates a dynamic rolling QR code.

{% if actor.role == 'teacher' %}
{% if not portfolios %}

Add a portfolio in My portfolios before starting a lecture.

{% endif %}
{% endif %}
📱

How students check in

Classroom procedure
1
Connect to the classroom Wi-Fi. SSID: SSP@OUC • No internet required
2
Scan the projected attendance QR code. Or enter the 6-digit rolling PIN displayed on projector
3
Enter Arabic full name and stage. Instant SQLite WAL transaction on local server
🔒 Anti-fraud proximity guard and one-submission-per-device verification are active.

Recent lectures

Session history • Most recent 100 sessions
MCQ Quizzes →
{% if classes %}
{% for cls in classes %} {% endfor %}
Lecture Date (Baghdad) Present Status Action
{{ cls['title'] }} {% if cls['portfolio_course'] %}
{{ cls['portfolio_course'] }} — {{ cls['portfolio_component'] }}
{% endif %}
{{ cls['created_at'] | localtime }} {{ cls['attendance_count'] }} {% if not cls['closed'] and cls['closes_at'] > now %} Open {% else %} Closed {% endif %} View Session →
{% else %}

No lectures yet. Create your first session above to begin attendance tracking.

{% endif %}
{% endblock %} {% block scripts %} {% endblock %}