{% extends 'base.html' %} {% block title %}Student Details{% endblock %} {% block content %}

Student Details

{{ student.username[:2].upper() }}

{{ student.username }}

Email {{ student.email }}
{% if student.roll_number %}
Roll # {{ student.roll_number }}
{% endif %} {% if student.department %}
Department {{ student.department }}
{% endif %} {% if student.program %}
Program {{ student.program }}
{% endif %} {% if student.section %}
Section {{ student.section }}
{% endif %} {% if student.semester %}
Semester {{ student.semester }}
{% endif %}

Topics Progress

{{ (real_progress_count / all_topics.values()|length * 100)|round|int if all_topics.values()|length > 0 else 0 }}%

{{ real_progress_count }} of {{ all_topics.values()|length }} topics started

Avg. Comprehension

{{ stats.avg_comprehension|round|int }}%

Based on completed quizzes

Avg. Speaking Score

{{ stats.avg_speaking|round|int }}%

Based on completed speaking exercises

Detailed Topic Progress

{% if progress_records %}
{% for progress in progress_records %} {% set topic = all_topics.get(progress.topic_id) %} {% if topic %}

{{ topic.title }}

{{ topic.category }}
{% set completed_stages = 0 %} {% if progress.reading_completed %}{% set completed_stages = completed_stages + 1 %}{% endif %} {% if progress.speaking_completed %}{% set completed_stages = completed_stages + 1 %}{% endif %} {% if progress.comprehension_completed %}{% set completed_stages = completed_stages + 1 %}{% endif %} {% set progress_percentage = (completed_stages / 3 * 100)|round|int %}
Progress {{ progress_percentage }}%
{% endif %} {% endfor %}
{% else %}

No Progress Yet

This student hasn't started any topics yet.

{% endif %}

Recent Submissions

{% set submissions_found = false %} {% for progress in progress_records %} {% if progress.submissions %} {% set submissions_found = true %} {% for submission in progress.submissions[:3] %}

{{ all_topics.get(progress.topic_id).title if all_topics.get(progress.topic_id) else "Unknown Topic" }}

{{ submission.content_type|capitalize }} Submission • {{ submission.created_at.strftime('%b %d, %Y') }}

{{ submission.status|capitalize }}
{% if submission.score %}
Score:
{{ submission.score|round|int }}%
{% endif %}
{% endfor %} {% endif %} {% endfor %} {% if not submissions_found %}

No Submissions

This student hasn't submitted any assignments yet.

{% endif %}
{% endblock %}