{% extends "admin/base_site.html" %} {% load static %} {% load app_filters %} {% block extrahead %} {{ block.super }} {% endblock %} {% block extrastyle %} {{ block.super }} {% endblock %} {% block content %}

Welcome, Admin!

Student Management Dashboard

Students
{{ total_students }}
Total Students
Active {{ active_students }}
Completed {{ completed_students }}
On Leave {{ on_leave_students }}
Courses
{{ total_courses }}
Total Courses
Active {{ active_courses }}
Completed {{ completed_courses }}
Staff
{{ total_staff }}
Total Staff
Active {{ active_staff }}
On Leave {{ staff_on_leave }}
Attendance
{{ total_classes_today }}
Classes Today
Students Present {{ students_present }}/{{ total_students_today }}
Attendance Rate {{ attendance_rate }}%
Course Progress
{% for progress in course_progress %} {% empty %} {% endfor %}
Course Students Progress Status
{{ progress.course.name }} {{ progress.total_students }}
{{ progress.average_progress }}%
{% if progress.average_progress == 100 %} Completed {% elif progress.average_progress > 0 %} In Progress {% else %} Not Started {% endif %}
No course progress data available
Recent Activity
{% for activity in recent_activities %}
{{ activity.title }}

{{ activity.description }}

{{ activity.timestamp|timesince }} ago
{% empty %}

No recent activity

{% endfor %}
Pending Leave Requests
{% for leave in pending_student_leaves %} {% endfor %} {% for leave in pending_staff_leaves %} {% endfor %} {% if not pending_student_leaves and not pending_staff_leaves %} {% endif %}
Name Type Date Reason Actions
{{ leave.student.name }} Student {{ leave.date|date:"M d, Y" }} {{ leave.message }}
{% csrf_token %}
{% csrf_token %}
{{ leave.staff.name }} Staff {{ leave.date|date:"M d, Y" }} {{ leave.message }}
{% csrf_token %}
{% csrf_token %}
No pending leave requests
Notice Board
{% csrf_token %}
{% for notice in notices %}
{{ notice.title }}
{{ notice.created_at|date:"M d, Y" }}
{% if notice.image %} Notice Image {% endif %}

{{ notice.message }}

{% empty %}

No notices available

{% endfor %}
Teacher Ratings
{% for teacher in teacher_ratings %}
{% if teacher.image %} {{ teacher.name }} {% else %}
{% endif %}
{{ teacher.name }}
{{ teacher.designation }}
Average Rating {{ teacher.avg_rating|floatformat:1 }}/5.0
{% for i in "12345"|make_list %} {% endfor %}
Total Reviews {{ teacher.total_reviews }}
Students Taught {{ teacher.total_students }}
{% empty %}

No teacher ratings available

{% endfor %}
Monthly Statistics

{{ monthly_stats.new_students }}

New Students

{{ monthly_stats.new_staff }}

New Staff

{{ monthly_stats.attendance_rate }}%

Attendance Rate

{{ monthly_stats.leave_requests }}

Leave Requests

Institute Feedback
{% for feedback in recent_institute_feedback %} {% empty %} {% endfor %}
Type Category Name Rating Feedback Date
{{ feedback.user_type|title }} {{ feedback.feedback_type }} {{ feedback.display_name }}
{% for i in "12345"|make_list %} {% endfor %}
{{ feedback.feedback_text|truncatechars:100 }} {{ feedback.created_at|date:"M d, Y" }}
No institute feedback available
{% endblock %} {% block extrajs %} {{ block.super }} {% endblock %}