{% 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

Logout
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
Classes Today

{{ total_classes_today }}

Attendance Rate

{{ attendance_rate }}%

0%
100%
Students Present {{ students_present }}/{{ total_students_today }}
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|truncatechars:50 }} {{ 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 Start Date End Date Reason Actions
{{ leave.student.name }} Student {{ leave.start_date|date:"M d, Y" }} {{ leave.end_date|date:"M d, Y" }} {{ leave.message }}
{% csrf_token %}
{% csrf_token %}
{{ leave.staff.name }} Staff {{ leave.start_date|date:"M d, Y" }} {{ leave.end_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
{% endblock %} {% block extrajs %} {{ block.super }} {% endblock %}