From c97fa1ab83fc5e0f95b5e4d64523495c3823cb8e Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Tue, 22 Apr 2025 16:31:37 +0545 Subject: [PATCH] fix(idk): --- .../admission_officer/dashboard.html | 985 +++++ .../New Folder/admission_officer/modals.html | 1076 +++++ templates/New Folder/hod/dashboard.html | 3457 +++++++++++++++++ .../hod/modals/add_meeting_modal.html | 73 + .../hod/modals/add_routine_modal.html | 367 ++ .../hod/modals/add_staff_modal.html | 126 + .../hod/modals/add_student_modal.html | 145 + .../hod/modals/add_subject_modal.html | 106 + .../hod/modals/cancel_meeting_modal.html | 23 + .../hod/modals/cancellation_reason_modal.html | 43 + .../hod/modals/edit_meeting_modal.html | 79 + .../hod/modals/edit_progress_modal.html | 211 + .../hod/modals/edit_routine_modal.html | 267 ++ .../hod/modals/edit_staff_modal.html | 202 + .../hod/modals/edit_student_modal.html | 206 + .../hod/modals/edit_subject_modal.html | 128 + .../hod/modals/meeting_agenda_modal.html | 43 + .../hod/modals/meeting_notes_modal.html | 43 + .../New Folder/hod/modals/notice_modal.html | 167 + .../New Folder/hod/modals/routine_modal.html | 125 + .../hod/modals/view_meeting_modal.html | 74 + .../hod/modals/view_staff_modal.html | 165 + .../hod/modals/view_student_modal.html | 168 + .../hod/modals/view_subject_modal.html | 83 + templates/New Folder/parent/dashboard.html | 1336 +++++++ .../New Folder/parent/institute_feedback.html | 83 + .../modals/cancellation_reason_modal.html | 12 + .../parent/modals/feedback_modal.html | 245 ++ .../parent/modals/meeting_agenda_modal.html | 12 + .../parent/modals/meeting_notes_modal.html | 12 + .../parent/modals/student_details_modal.html | 132 + .../New Folder/parent/parent_feedback.html | 132 + templates/New Folder/shared/base.html | 384 ++ templates/New Folder/shared/bottom_nav.html | 256 ++ .../New Folder/shared/common_modals.html | 329 ++ .../New Folder/shared/welcome_section.html | 247 ++ templates/New Folder/student/dashboard.html | 888 +++++ .../student/modals/feedback_modal.html | 218 ++ .../student/modals/pdf_viewer_modal.html | 12 + .../student/modals/subject_files_modal.html | 14 + templates/New Folder/teacher/dashboard.html | 1327 +++++++ .../teacher/modals/attendance_modal.html | 101 + .../teacher/modals/confirmation_modal.html | 19 + .../teacher/modals/feedback_modal.html | 109 + .../teacher/modals/upload_file_modal.html | 49 + templates/admin/dashboard.html | 4 +- templates/hod/modals/add_routine_modal.html | 111 +- templates/shared/common_modals.html | 413 +- templates/teacher/dashboard.html | 287 +- .../teacher/modals/attendance_modal.html | 146 +- 50 files changed, 14655 insertions(+), 585 deletions(-) create mode 100644 templates/New Folder/admission_officer/dashboard.html create mode 100644 templates/New Folder/admission_officer/modals.html create mode 100644 templates/New Folder/hod/dashboard.html create mode 100644 templates/New Folder/hod/modals/add_meeting_modal.html create mode 100644 templates/New Folder/hod/modals/add_routine_modal.html create mode 100644 templates/New Folder/hod/modals/add_staff_modal.html create mode 100644 templates/New Folder/hod/modals/add_student_modal.html create mode 100644 templates/New Folder/hod/modals/add_subject_modal.html create mode 100644 templates/New Folder/hod/modals/cancel_meeting_modal.html create mode 100644 templates/New Folder/hod/modals/cancellation_reason_modal.html create mode 100644 templates/New Folder/hod/modals/edit_meeting_modal.html create mode 100644 templates/New Folder/hod/modals/edit_progress_modal.html create mode 100644 templates/New Folder/hod/modals/edit_routine_modal.html create mode 100644 templates/New Folder/hod/modals/edit_staff_modal.html create mode 100644 templates/New Folder/hod/modals/edit_student_modal.html create mode 100644 templates/New Folder/hod/modals/edit_subject_modal.html create mode 100644 templates/New Folder/hod/modals/meeting_agenda_modal.html create mode 100644 templates/New Folder/hod/modals/meeting_notes_modal.html create mode 100644 templates/New Folder/hod/modals/notice_modal.html create mode 100644 templates/New Folder/hod/modals/routine_modal.html create mode 100644 templates/New Folder/hod/modals/view_meeting_modal.html create mode 100644 templates/New Folder/hod/modals/view_staff_modal.html create mode 100644 templates/New Folder/hod/modals/view_student_modal.html create mode 100644 templates/New Folder/hod/modals/view_subject_modal.html create mode 100644 templates/New Folder/parent/dashboard.html create mode 100644 templates/New Folder/parent/institute_feedback.html create mode 100644 templates/New Folder/parent/modals/cancellation_reason_modal.html create mode 100644 templates/New Folder/parent/modals/feedback_modal.html create mode 100644 templates/New Folder/parent/modals/meeting_agenda_modal.html create mode 100644 templates/New Folder/parent/modals/meeting_notes_modal.html create mode 100644 templates/New Folder/parent/modals/student_details_modal.html create mode 100644 templates/New Folder/parent/parent_feedback.html create mode 100644 templates/New Folder/shared/base.html create mode 100644 templates/New Folder/shared/bottom_nav.html create mode 100644 templates/New Folder/shared/common_modals.html create mode 100644 templates/New Folder/shared/welcome_section.html create mode 100644 templates/New Folder/student/dashboard.html create mode 100644 templates/New Folder/student/modals/feedback_modal.html create mode 100644 templates/New Folder/student/modals/pdf_viewer_modal.html create mode 100644 templates/New Folder/student/modals/subject_files_modal.html create mode 100644 templates/New Folder/teacher/dashboard.html create mode 100644 templates/New Folder/teacher/modals/attendance_modal.html create mode 100644 templates/New Folder/teacher/modals/confirmation_modal.html create mode 100644 templates/New Folder/teacher/modals/feedback_modal.html create mode 100644 templates/New Folder/teacher/modals/upload_file_modal.html diff --git a/templates/New Folder/admission_officer/dashboard.html b/templates/New Folder/admission_officer/dashboard.html new file mode 100644 index 0000000..6993181 --- /dev/null +++ b/templates/New Folder/admission_officer/dashboard.html @@ -0,0 +1,985 @@ +{% extends 'shared/base.html' %} +{% load static %} +{% load tz %} +{% load app_filters %} + +{% block extrahead %} + +{% endblock %} + +{% block content %} + +{% csrf_token %} + +
+ + {% include 'shared/welcome_section.html' with user=officer %} + + +
+ +
+
+
+
+
Students
+
+
+
+

{{ total_students }}

+

Total Students

+
+
+
+
+

{{ active_students }}

+

Active

+
+
+

{{ new_students }}

+

New (30 days)

+
+
+
+
+
+
+ +
+
+
+
Courses
+
+
+
+

{{ total_courses }}

+

Total Courses

+
+
+
+
+

{{ active_courses }}

+

Active

+
+
+
+
+
+
+ +
+
+
+
Batches
+
+
+

{{ total_batches }}

+
+
+

{{ active_batches }}

+

Active

+
+
+ +
+
+
+
+
+ +
+
+
+
Leave Status
+
+
+
+

Pending

+ {{ pending_leaves }} +
+
+

Approved

+ {{ approved_leaves }} +
+
+

Rejected

+ {{ rejected_leaves }} +
+ +
+
+
+
+ + +
+ +
+ + +
+
+
+
Recent Notices
+ {% if notices %} +
+ {% for notice in notices %} +
+
+
{{ notice.title }}
+ {{ notice.created_at|timesince }} ago +
+

{{ notice.message }}

+
+ {% endfor %} +
+ {% else %} +
+ No recent notices. +
+ {% endif %} +
+
+ + +
+
+
Leave Requests
+ {% if recent_leaves %} +
+ + + + + + + + + + + {% for leave in recent_leaves %} + + + + + + + {% endfor %} + +
Start DateEnd DateMessageStatus
{{ leave.start_date|date:"M d, Y" }}{{ leave.end_date|date:"M d, Y" }}{{ leave.message|truncatechars:50 }} + + {{ leave.get_status_display }} + +
+
+ {% else %} +
+ No leave requests found. +
+ {% endif %} +
+
+
+
+ + +
+
+
+
Student Management
+ +
+ + +
+
+
+ + +
+
+
+ +
+
+ + +
+ + + + + + + + + + + + + + {% for student in students|dictsort:"id" %} + + + + + + + + + + {% empty %} + + + + {% endfor %} + +
IDStudent DetailsContact InfoParent DetailsCourse & BatchStatusActions
{{ student.id }} +
+ {% if student.image %} + {{ student.name }} + {% endif %} +
+ {{ student.name }} + {% if student.gender %} +
{{ student.gender }} + {% endif %} +
+
+
+
+ {{ student.phone }}
+ {% if student.email %} + {{ student.email }}
+ {% endif %} +
+
+
+ {% if student.parent_name %} + {{ student.parent_name }}
+ {% endif %} + {% if student.parent_phone %} + {{ student.parent_phone }} + {% endif %} +
+
+
+ {% if student.course %} + {{ student.course.name }} + {% if student.course.code %}({{ student.course.code }}){% endif %} + {% endif %} +
+ {% for batch in student.batches.all %} + {{ batch.name }} + {% if not forloop.last %}, {% endif %} + {% empty %} + No batch assigned + {% endfor %} +
+
+ + {{ student.status|default:"Not Set" }} + + +
+ + +
+
No students found
+
+
+
+ + +
+
+
+
Batch Management
+ +
+ + +
+ + + + + + + + + + + {% for batch in batches %} + + + + + + + {% empty %} + + + + {% endfor %} + +
NameYearStatusStudents
{{ batch.name }}{{ batch.year|date:"Y"|default:"-" }} + + {{ batch.is_active|yesno:"Active,Inactive" }} + + {{ batch.students.count }}
No batches found
+
+
+
+ + +
+
+
+
Course List
+
+ + +
+
+ + + + + + + + + + + + {% for course in courses %} + + + + + + + + {% endfor %} + +
NameCodeDurationTypeStatus
{{ course.name }}{{ course.code|default:"-" }} + {% if course.duration_type == "Semester" %} + {{ course.duration }} years ({{ course.duration|multiply:2 }} semesters) + {% else %} + {{ course.duration }} years + {% endif %} + {{ course.duration_type }} + + {{ course.is_active|yesno:"Active,Inactive" }} + +
+
+
+
+
+ + + + + + + + +
+
+

+ Profile Information +

+
+ +
+
+
+ {% if officer.image %} + {{ officer.name }} + {% else %} + Default User + {% endif %} +
+

{{ officer.name }}

+

+ {{ officer.id }} + {{ officer.email }} + {{ officer.phone }} +

+
+ + {{ officer.is_active|yesno:"Active,Inactive" }} + + {{ officer.designation }} +
+
+
+
+ + +
+
+
+ + +
+
+
+
Personal Information
+
+
+
+
+ Full Name +

{{ officer.name }}

+
+
+ Gender +

{{ officer.gender|default:"Not provided" }}

+
+
+ Birth Date +

{{ officer.birth_date|date:"M d, Y"|default:"Not provided" }}

+
+
+ Marital Status +

{{ officer.marital_status|default:"Not provided" }}

+
+
+ Citizenship No. +

{{ officer.citizenship_no|default:"Not provided" }}

+
+
+ Passport +

{{ officer.passport|default:"Not provided" }}

+
+
+
+
+
+ + +
+
+
+
Contact Information
+
+
+
+
+ Email Address +

{{ officer.email|default:"Not provided" }}

+
+
+ Phone Number +

{{ officer.phone|default:"Not provided" }}

+
+
+ Parent Name +

{{ officer.parent_name|default:"Not provided" }}

+
+
+ Parent Phone +

{{ officer.parent_phone|default:"Not provided" }}

+
+
+ Temporary Address +

{{ officer.temporary_address|default:"Not provided" }}

+
+
+ Permanent Address +

{{ officer.permanent_address|default:"Not provided" }}

+
+
+
+
+
+ + +
+
+
+
Employment Information
+
+
+
+
+ Employee ID +

{{ officer.id }}

+
+
+ Designation +

{{ officer.designation|default:"Not provided" }}

+
+
+ Joining Date +

{{ officer.joining_date|date:"M d, Y"|default:"Not provided" }}

+
+
+ Status +

+ + {{ officer.is_active|yesno:"Active,Inactive" }} + +

+
+
+
+
+
+
+
+
+ + +
+
+

+ Leave Management +

+
+
+ +
+
+ +
+
+
+
+ +

{{ pending_leaves }}

+

Pending Requests

+
+
+
+
+
+
+ +

{{ approved_leaves }}

+

Approved Requests

+
+
+
+
+
+
+ +

{{ rejected_leaves }}

+

Rejected Requests

+
+
+
+
+ +
+
Leave History
+
+ + + + + + + + + + + + {% if recent_leaves %} + {% for leave in recent_leaves %} + + + + + + + + {% endfor %} + {% else %} + + + + {% endif %} + +
Start DateEnd DateReasonStatusApplied On
{{ leave.start_date|date:"M d, Y" }}{{ leave.end_date|date:"M d, Y" }}{{ leave.message }} + + {{ leave.get_status_display }} + + {{ leave.created_at|date:"M d, Y" }}
No leave history available
+
+
+
+
+ + +
+
+
+
Notices
+
+ + +
+ + + + + + + + + + {% for notice in notices %} + + + + + + {% empty %} + + + + {% endfor %} + +
TitleMessageCreated At
{{ notice.title }}{{ notice.message|truncatechars:100 }}{{ notice.created_at|date:"M d, Y H:i" }}
No notices found
+
+
+
+
+ + +{% include 'shared/common_modals.html' with user=officer %} + + +{% include 'admission_officer/modals.html' %} + + +{% include 'shared/bottom_nav.html' with user=officer %} + +{% endblock content %} + +{% block extrastyle %} +{{ block.super }} + + + + + + +{% endblock %} + +{% block extrascripts %} +{{ block.super }} + +{% endblock %} \ No newline at end of file diff --git a/templates/New Folder/admission_officer/modals.html b/templates/New Folder/admission_officer/modals.html new file mode 100644 index 0000000..2b9bd47 --- /dev/null +++ b/templates/New Folder/admission_officer/modals.html @@ -0,0 +1,1076 @@ +{% load static %} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/templates/New Folder/hod/dashboard.html b/templates/New Folder/hod/dashboard.html new file mode 100644 index 0000000..12e3a91 --- /dev/null +++ b/templates/New Folder/hod/dashboard.html @@ -0,0 +1,3457 @@ +{% extends 'shared/base.html' %} +{% load static %} +{% load tz %} +{% load app_filters %} + +{% block title %}HOD Dashboard - {{ course.name }}{% endblock title %} + +{% block head %} +{{ block.super }} + + + + + + + + + + + + +{% endblock head %} + +{% block content %} + +{% csrf_token %} + +{% if messages %} + {% for message in messages %} +
+ {{ message }} +
+ {% endfor %} +{% endif %} + + +{% include 'shared/common_modals.html' %} + + + +
+ + {% include 'shared/welcome_section.html' %} + + +
+ +
+
+
+
+
Students
+
+
+
+

{{ total_students }}

+

Total Students

+
+
+
+
+

{{ total_staff }}

+

Staff

+
+
+

{{ total_subjects }}

+

Subjects

+
+
+
+
+
+
+ +
+
+
+
Today's Classes
+
+
+
+

{{ today_classes|length }}

+

Total Classes

+
+
+ {% if today_classes %} +
+
+ {% for class in today_classes|slice:":3" %} + + {{ class.subject.name|truncatechars:15 }} + + {% endfor %} + {% if today_classes|length > 3 %} + + +{{ today_classes|length|add:"-3" }} more + + {% endif %} +
+
+ {% else %} +

No classes scheduled for today

+ {% endif %} +
+
+
+
+ +
+
+
+
Student Progress
+
+
+ {% if student_progress %} +
+ {% for progress in student_progress|slice:":3" %} +
+ {{ progress.student.name }} +
+
+
+
+ {{ progress.completion_percentage }}% +
+ {% endfor %} +
+ {% else %} +

No progress data available

+ {% endif %} +
+
+
+ +
+
+
+
Upcoming Meetings
+
+
+ {% if upcoming_meetings %} + {% for meeting in upcoming_meetings|slice:":3" %} +
+
+ {{ meeting.meeting_date|date:"M d, Y" }} + {{ meeting.meeting_time|time:"h:i A" }} +
+ {{ meeting.get_status_display }} +
+ {% endfor %} + {% if upcoming_meetings|length > 3 %} +
+ +{{ upcoming_meetings|length|add:"-3" }} more meetings +
+ {% endif %} + {% else %} +

No upcoming meetings

+ {% endif %} +
+
+
+
+ + +
+
+
+
+
Today's Classes
+
+ + {% if today_classes %} +
+ + + + + + + + + + + + + {% for class in today_classes %} + + + + + + + + + {% endfor %} + +
SubjectCodeTeacherTimePeriod/YearStatus
{{ class.subject.name }}{{ class.subject.code|default:"-" }}{{ class.teacher.name }}{{ class.start_time|time:"h:i A" }} - {{ class.end_time|time:"h:i A" }}{{ class.period_or_year }} + {% if class.attendance %} + + {% if class.attendance.class_status %}Conducted{% else %}Cancelled{% endif %} + + {% else %} + Pending + {% endif %} +
+
+ {% else %} +
+ No classes scheduled for today. +
+ {% endif %} +
+
+
+ + +
+
+
+
Student Progress
+ {% if student_progress_all %} +
+ + + + + + + + + + + + + {% for progress in student_progress_all %} + + + + + + + + + {% endfor %} + +
StudentBatchCurrent PeriodCompletion %StatusActions
+
+ {% if progress.student.image %} + + {% else %} +
{{ progress.student.name|slice:":1" }}
+ {% endif %} + {{ progress.student.name }} +
+
+ {% for batch in progress.student.batches.all %} + {{ batch.name }}{% if not forloop.last %}, {% endif %} + {% endfor %} + {{ progress.student.current_period }} +
+
+
+
+ {{ progress.completion_percentage }}% +
+ {% if progress.progress_status == "Completed" %} + Completed + {% elif progress.progress_status == "In Progress" %} + In Progress + {% elif progress.progress_status == "Not Started" %} + Not Started + {% elif progress.progress_status == "Dropped" %} + Dropped + {% endif %} + + +
+
+ {% else %} +
+ No progress data found for the selected batch. +
+ {% endif %} +
+
+ +
+
+
Recent Feedback
+ {% if recent_feedback %} + + {% else %} +
+ No recent feedback available. +
+ {% endif %} +
+
+
+
+ + + + + + + + + + + + +
+ + +{% include 'hod/modals/add_subject_modal.html' %} + + +{% include 'hod/modals/edit_subject_modal.html' %} + + +{% include 'hod/modals/view_subject_modal.html' %} + + +{% include 'hod/modals/add_staff_modal.html' %} + + +{% include 'hod/modals/view_staff_modal.html' %} + + +{% include 'hod/modals/edit_staff_modal.html' %} + + +{% include 'hod/modals/add_student_modal.html' %} + + +{% include 'hod/modals/edit_student_modal.html' %} + + +{% include 'hod/modals/view_student_modal.html' %} + + +{% include 'hod/modals/add_meeting_modal.html' %} + + +{% include 'hod/modals/edit_meeting_modal.html' %} + + +{% include 'hod/modals/view_meeting_modal.html' %} + + +{% include 'hod/modals/cancel_meeting_modal.html' %} + + +{% include 'hod/modals/meeting_notes_modal.html' %} + + +{% include 'hod/modals/meeting_agenda_modal.html' %} + + +{% include 'hod/modals/cancellation_reason_modal.html' %} + + +{% include 'hod/modals/add_routine_modal.html' %} +{% include 'hod/modals/edit_routine_modal.html' %} + + +{% include 'shared/bottom_nav.html' with user=hod %} + + +{% include 'hod/modals/notice_modal.html' %} +{% include 'hod/modals/edit_progress_modal.html' %} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +{% endblock content %} + +{% block extrastyle %} +{{ block.super }} + + + + + + + +{% endblock extrastyle %} + + + + + + diff --git a/templates/New Folder/hod/modals/add_meeting_modal.html b/templates/New Folder/hod/modals/add_meeting_modal.html new file mode 100644 index 0000000..aa5948f --- /dev/null +++ b/templates/New Folder/hod/modals/add_meeting_modal.html @@ -0,0 +1,73 @@ +{% load static %} + + + + + \ No newline at end of file diff --git a/templates/New Folder/hod/modals/add_routine_modal.html b/templates/New Folder/hod/modals/add_routine_modal.html new file mode 100644 index 0000000..f7988ee --- /dev/null +++ b/templates/New Folder/hod/modals/add_routine_modal.html @@ -0,0 +1,367 @@ +{% load static %} + + + + + \ No newline at end of file diff --git a/templates/New Folder/hod/modals/add_staff_modal.html b/templates/New Folder/hod/modals/add_staff_modal.html new file mode 100644 index 0000000..2df536d --- /dev/null +++ b/templates/New Folder/hod/modals/add_staff_modal.html @@ -0,0 +1,126 @@ +{% load static %} + + + + \ No newline at end of file diff --git a/templates/New Folder/hod/modals/add_student_modal.html b/templates/New Folder/hod/modals/add_student_modal.html new file mode 100644 index 0000000..c909aaf --- /dev/null +++ b/templates/New Folder/hod/modals/add_student_modal.html @@ -0,0 +1,145 @@ +{% load static %} + + + + + \ No newline at end of file diff --git a/templates/New Folder/hod/modals/add_subject_modal.html b/templates/New Folder/hod/modals/add_subject_modal.html new file mode 100644 index 0000000..99f17b2 --- /dev/null +++ b/templates/New Folder/hod/modals/add_subject_modal.html @@ -0,0 +1,106 @@ +{% load static %} +{% load app_filters %} + + + + + \ No newline at end of file diff --git a/templates/New Folder/hod/modals/cancel_meeting_modal.html b/templates/New Folder/hod/modals/cancel_meeting_modal.html new file mode 100644 index 0000000..bb20057 --- /dev/null +++ b/templates/New Folder/hod/modals/cancel_meeting_modal.html @@ -0,0 +1,23 @@ + + \ No newline at end of file diff --git a/templates/New Folder/hod/modals/cancellation_reason_modal.html b/templates/New Folder/hod/modals/cancellation_reason_modal.html new file mode 100644 index 0000000..4371719 --- /dev/null +++ b/templates/New Folder/hod/modals/cancellation_reason_modal.html @@ -0,0 +1,43 @@ + + + + \ No newline at end of file diff --git a/templates/New Folder/hod/modals/edit_meeting_modal.html b/templates/New Folder/hod/modals/edit_meeting_modal.html new file mode 100644 index 0000000..7965993 --- /dev/null +++ b/templates/New Folder/hod/modals/edit_meeting_modal.html @@ -0,0 +1,79 @@ +{% load static %} + + + + + \ No newline at end of file diff --git a/templates/New Folder/hod/modals/edit_progress_modal.html b/templates/New Folder/hod/modals/edit_progress_modal.html new file mode 100644 index 0000000..138e78b --- /dev/null +++ b/templates/New Folder/hod/modals/edit_progress_modal.html @@ -0,0 +1,211 @@ +{% load static %} + + + + + \ No newline at end of file diff --git a/templates/New Folder/hod/modals/edit_routine_modal.html b/templates/New Folder/hod/modals/edit_routine_modal.html new file mode 100644 index 0000000..3d26bcb --- /dev/null +++ b/templates/New Folder/hod/modals/edit_routine_modal.html @@ -0,0 +1,267 @@ +{% load static %} + + + + + \ No newline at end of file diff --git a/templates/New Folder/hod/modals/edit_staff_modal.html b/templates/New Folder/hod/modals/edit_staff_modal.html new file mode 100644 index 0000000..bd0d25d --- /dev/null +++ b/templates/New Folder/hod/modals/edit_staff_modal.html @@ -0,0 +1,202 @@ +{% load static %} + + + + \ No newline at end of file diff --git a/templates/New Folder/hod/modals/edit_student_modal.html b/templates/New Folder/hod/modals/edit_student_modal.html new file mode 100644 index 0000000..f459d76 --- /dev/null +++ b/templates/New Folder/hod/modals/edit_student_modal.html @@ -0,0 +1,206 @@ +{% load static %} + + + + + \ No newline at end of file diff --git a/templates/New Folder/hod/modals/edit_subject_modal.html b/templates/New Folder/hod/modals/edit_subject_modal.html new file mode 100644 index 0000000..305c51a --- /dev/null +++ b/templates/New Folder/hod/modals/edit_subject_modal.html @@ -0,0 +1,128 @@ +{% load static %} +{% load app_filters %} + + + + + \ No newline at end of file diff --git a/templates/New Folder/hod/modals/meeting_agenda_modal.html b/templates/New Folder/hod/modals/meeting_agenda_modal.html new file mode 100644 index 0000000..5d6cca8 --- /dev/null +++ b/templates/New Folder/hod/modals/meeting_agenda_modal.html @@ -0,0 +1,43 @@ + + + + \ No newline at end of file diff --git a/templates/New Folder/hod/modals/meeting_notes_modal.html b/templates/New Folder/hod/modals/meeting_notes_modal.html new file mode 100644 index 0000000..80aacc4 --- /dev/null +++ b/templates/New Folder/hod/modals/meeting_notes_modal.html @@ -0,0 +1,43 @@ + + + + \ No newline at end of file diff --git a/templates/New Folder/hod/modals/notice_modal.html b/templates/New Folder/hod/modals/notice_modal.html new file mode 100644 index 0000000..ed3bfb2 --- /dev/null +++ b/templates/New Folder/hod/modals/notice_modal.html @@ -0,0 +1,167 @@ +{% load static %} + + + + + + + + + + + \ No newline at end of file diff --git a/templates/New Folder/hod/modals/routine_modal.html b/templates/New Folder/hod/modals/routine_modal.html new file mode 100644 index 0000000..29acf0a --- /dev/null +++ b/templates/New Folder/hod/modals/routine_modal.html @@ -0,0 +1,125 @@ + + + + + + + + \ No newline at end of file diff --git a/templates/New Folder/hod/modals/view_meeting_modal.html b/templates/New Folder/hod/modals/view_meeting_modal.html new file mode 100644 index 0000000..89aea0d --- /dev/null +++ b/templates/New Folder/hod/modals/view_meeting_modal.html @@ -0,0 +1,74 @@ +{% load static %} + + + + + \ No newline at end of file diff --git a/templates/New Folder/hod/modals/view_staff_modal.html b/templates/New Folder/hod/modals/view_staff_modal.html new file mode 100644 index 0000000..d1c8a12 --- /dev/null +++ b/templates/New Folder/hod/modals/view_staff_modal.html @@ -0,0 +1,165 @@ +{% load static %} + + + + \ No newline at end of file diff --git a/templates/New Folder/hod/modals/view_student_modal.html b/templates/New Folder/hod/modals/view_student_modal.html new file mode 100644 index 0000000..cf94974 --- /dev/null +++ b/templates/New Folder/hod/modals/view_student_modal.html @@ -0,0 +1,168 @@ +{% load static %} + + + + + \ No newline at end of file diff --git a/templates/New Folder/hod/modals/view_subject_modal.html b/templates/New Folder/hod/modals/view_subject_modal.html new file mode 100644 index 0000000..121dffa --- /dev/null +++ b/templates/New Folder/hod/modals/view_subject_modal.html @@ -0,0 +1,83 @@ + + + + \ No newline at end of file diff --git a/templates/New Folder/parent/dashboard.html b/templates/New Folder/parent/dashboard.html new file mode 100644 index 0000000..672fbcb --- /dev/null +++ b/templates/New Folder/parent/dashboard.html @@ -0,0 +1,1336 @@ +{% extends 'shared/base.html' %} +{% load static %} +{% load tz %} +{% load app_filters %} + +{% block extra_js %} + + +{% endblock %} + +{% block content %} + +{% csrf_token %} + +
+ + {% include 'shared/welcome_section.html' with user=parent %} + + +
+ +
+ +
+
+
+
Students
+
+
+
+
+ Total Students +

{{ attendance_summary.total_students }}

+
+
+ Present Today +

{{ attendance_summary.students_present_today }}

+
+
+
+ Absent Today + {{ attendance_summary.students_absent_today }} +
+
+
+
+ + +
+
+
+
Course Progress
+
+
+ {% if course_progress %} + {% for progress in course_progress|slice:":3" %} +
+
+ {{ progress.student }} - {{ progress.course }} + + {{ progress.status }} + +
+
+
+
+ {{ progress.progress }}% +
+ {% endfor %} + {% if course_progress|length > 3 %} +
+ +{{ course_progress|length|add:"-3" }} more courses +
+ {% endif %} + {% else %} +

No course progress data available

+ {% endif %} +
+
+
+ + +
+
+
+
Recent Leaves
+
+
+ {% if recent_leaves %} + {% for leave in recent_leaves %} +
+
+ {{ leave.student.name }} + + {% if leave.status == 1 %}Approved{% elif leave.status == 2 %}Rejected{% else %}Pending{% endif %} + +
+ {{ leave.start_date|date:"M d, Y" }} - {{ leave.end_date|date:"M d, Y" }} +
+ {% endfor %} + {% else %} +

No recent leaves

+ {% endif %} +
+
+
+ + +
+
+
+
+ Recent Notices +
+
+
+ {% if notices %} + {% for notice in notices|slice:":3" %} +
+
+
{{ notice.title|truncatechars:30 }}
+ {{ notice.created_at|timesince }} ago +
+

{{ notice.message|truncatechars:50 }}

+ {% if notice.file %} + + Download + + {% endif %} +
+ {% endfor %} + {% if notices|length > 3 %} + + {% endif %} + {% else %} +
+ +

No notices available

+
+ {% endif %} +
+
+
+
+ + +
+
+
+

+ My Children +

+
+ + + + + + + + + + + + + + {% for student_info in student_data %} + + + + + + + + + + {% endfor %} + +
NameCourseCurrent PeriodAttendanceCourse ProgressStatusActions
+
+ {% if student_info.student.image %} + {{ student_info.student.name }} + {% else %} +
+ +
+ {% endif %} + {{ student_info.student.name }} +
+
{{ student_info.student.course.name|default:"Not assigned" }} + {% if student_info.student.course %} + {% if student_info.student.course.duration_type == 'Semester' %} + Semester {{ student_info.student.current_period }} + {% else %} + Year {{ student_info.student.current_period }} + {% endif %} + {% else %} + - + {% endif %} + + {% with attended_classes=student_info.student.attendance_records.all|filter_attended|length %} + {% if student_info.student.course.duration_type == 'Semester' %} + {% with total_period_days=180 %} + {% with attendance_rate=attended_classes|div:total_period_days|multiply:100 %} +
+
+
+
+ {{ attendance_rate|floatformat:1 }}% + {% endwith %} + {% endwith %} + {% else %} + {% with total_period_days=365 %} + {% with attendance_rate=attended_classes|div:total_period_days|multiply:100 %} +
+
+
+
+ {{ attendance_rate|floatformat:1 }}% + {% endwith %} + {% endwith %} + {% endif %} + {% endwith %} +
+ {% with tracking=student_info.student.course_trackings.first %} + {% if tracking %} +
+
+
+
+ {{ tracking.completion_percentage }}% + {% else %} + No data + {% endif %} + {% endwith %} +
+ + {{ student_info.student.status }} + + + +
+
+
+
+
+
+ + +
+
+
+

+ All Notices +

+
+
+ {% if notices %} + {% for notice in notices %} +
+
+ {% if notice.image %} + {{ notice.title }} + {% endif %} +
+
{{ notice.title }}
+

{{ notice.message }}

+
+ {{ notice.created_at|date:"M d, Y" }} + {% if notice.file %} + + Download + + {% endif %} +
+
+
+
+ {% endfor %} + {% else %} +
+
+ +

No notices available

+
+
+ {% endif %} +
+
+
+ + + + + + + + + + + + + + + + + + + + + +
+ + +{% include 'shared/common_modals.html' with user=parent %} + + +{% include 'parent/modals/feedback_modal.html' %} +{% include 'parent/modals/meeting_notes_modal.html' %} +{% include 'parent/modals/meeting_agenda_modal.html' %} +{% include 'parent/modals/cancellation_reason_modal.html' %} +{% include 'parent/modals/student_details_modal.html' %} + + +{% include 'shared/bottom_nav.html' with user=parent %} + + + + + + + +{% endblock %} + +{% block extrascripts %} +{{ block.super }} + +{% endblock %} diff --git a/templates/New Folder/parent/institute_feedback.html b/templates/New Folder/parent/institute_feedback.html new file mode 100644 index 0000000..77a9456 --- /dev/null +++ b/templates/New Folder/parent/institute_feedback.html @@ -0,0 +1,83 @@ +{% extends "base.html" %} +{% load static %} + +{% block title %}Institute Feedback{% endblock %} + +{% block content %} +
+
+
+
+
+

Provide Institute Feedback

+
+
+
+ {% csrf_token %} + +
+ + {{ form.feedback_type }} + {% if form.feedback_type.errors %} +
+ {{ form.feedback_type.errors }} +
+ {% endif %} +
+ +
+ + {{ form.rating }} + {% if form.rating.errors %} +
+ {{ form.rating.errors }} +
+ {% endif %} +
+ +
+ + {{ form.feedback_text }} + {% if form.feedback_text.errors %} +
+ {{ form.feedback_text.errors }} +
+ {% endif %} +
+ +
+ {{ form.is_anonymous }} + +
+ +
+ {{ form.is_public }} + +
+ +
+ + Cancel +
+
+
+
+
+
+
+{% endblock %} + +{% block extra_css %} + +{% endblock %} \ No newline at end of file diff --git a/templates/New Folder/parent/modals/cancellation_reason_modal.html b/templates/New Folder/parent/modals/cancellation_reason_modal.html new file mode 100644 index 0000000..e07bc81 --- /dev/null +++ b/templates/New Folder/parent/modals/cancellation_reason_modal.html @@ -0,0 +1,12 @@ + + \ No newline at end of file diff --git a/templates/New Folder/parent/modals/feedback_modal.html b/templates/New Folder/parent/modals/feedback_modal.html new file mode 100644 index 0000000..11c54df --- /dev/null +++ b/templates/New Folder/parent/modals/feedback_modal.html @@ -0,0 +1,245 @@ + + + + + + + + \ No newline at end of file diff --git a/templates/New Folder/parent/modals/meeting_agenda_modal.html b/templates/New Folder/parent/modals/meeting_agenda_modal.html new file mode 100644 index 0000000..1417cb6 --- /dev/null +++ b/templates/New Folder/parent/modals/meeting_agenda_modal.html @@ -0,0 +1,12 @@ + + \ No newline at end of file diff --git a/templates/New Folder/parent/modals/meeting_notes_modal.html b/templates/New Folder/parent/modals/meeting_notes_modal.html new file mode 100644 index 0000000..52a635e --- /dev/null +++ b/templates/New Folder/parent/modals/meeting_notes_modal.html @@ -0,0 +1,12 @@ + + \ No newline at end of file diff --git a/templates/New Folder/parent/modals/student_details_modal.html b/templates/New Folder/parent/modals/student_details_modal.html new file mode 100644 index 0000000..458fea5 --- /dev/null +++ b/templates/New Folder/parent/modals/student_details_modal.html @@ -0,0 +1,132 @@ + + \ No newline at end of file diff --git a/templates/New Folder/parent/parent_feedback.html b/templates/New Folder/parent/parent_feedback.html new file mode 100644 index 0000000..42dd8e7 --- /dev/null +++ b/templates/New Folder/parent/parent_feedback.html @@ -0,0 +1,132 @@ +{% extends 'base.html' %} +{% load static %} + +{% block content %} +
+
+
+
+
+

+ Submit Feedback +

+ + Back to Dashboard + +
+ + +
+
+
+
+ + + + + + + +{% endblock %} \ No newline at end of file diff --git a/templates/New Folder/shared/base.html b/templates/New Folder/shared/base.html new file mode 100644 index 0000000..a4d227f --- /dev/null +++ b/templates/New Folder/shared/base.html @@ -0,0 +1,384 @@ +{% load static %} + + + + + + + + + + {% block title %}Student Management System{% endblock %} + + + + + + + + + + + + + + + + + + + {% block extrahead %}{% endblock %} + + + {% if messages %} +
+ {% for message in messages %} + + {% endfor %} +
+ {% endif %} + + {% block content %}{% endblock %} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {% block extra_js %}{% endblock %} + + \ No newline at end of file diff --git a/templates/New Folder/shared/bottom_nav.html b/templates/New Folder/shared/bottom_nav.html new file mode 100644 index 0000000..63279f3 --- /dev/null +++ b/templates/New Folder/shared/bottom_nav.html @@ -0,0 +1,256 @@ + +
+ +
+ + + + + + diff --git a/templates/New Folder/shared/common_modals.html b/templates/New Folder/shared/common_modals.html new file mode 100644 index 0000000..41a9f69 --- /dev/null +++ b/templates/New Folder/shared/common_modals.html @@ -0,0 +1,329 @@ +{% load static %} + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/templates/New Folder/shared/welcome_section.html b/templates/New Folder/shared/welcome_section.html new file mode 100644 index 0000000..6421b8e --- /dev/null +++ b/templates/New Folder/shared/welcome_section.html @@ -0,0 +1,247 @@ +{% load static %} + + +
+
+
+
+ + +
+
+
+
+ + diff --git a/templates/New Folder/student/dashboard.html b/templates/New Folder/student/dashboard.html new file mode 100644 index 0000000..b1cfe97 --- /dev/null +++ b/templates/New Folder/student/dashboard.html @@ -0,0 +1,888 @@ +{% extends 'shared/base.html' %} +{% load static %} +{% load tz %} +{% load app_filters %} + + +{% block content %} + +{% csrf_token %} + +
+ + {% include 'shared/welcome_section.html' with user=student %} + + +
+ +
+ +
+
+
+
Attendance Summary
+
+
+
+
+ Days Attended +

{{ attendance_summary.classes_attended }}

+ {% if attendance_summary.actual_classes %} + Classes Recorded +
{{ attendance_summary.actual_classes }}
+ {% endif %} +
+
+ Attendance Rate +

{{ attendance_summary.attendance_percentage|floatformat:1 }}%

+ {% if attendance_summary.actual_percentage %} + Rate (Recorded Only) +
{{ attendance_summary.actual_percentage|floatformat:1 }}%
+ {% endif %} +
+
+
+
0%
+
100%
+
+
+ +
+
+
+ +
+ Minimum required: 75% + {% if attendance_summary.attendance_percentage < 75 %} + Below minimum requirement + {% endif %} +
+ +
+
+
+ + +
+
+
+
Course Progress
+
+
+
+
+ Total Courses +

{{ course_summary.total_courses }}

+
+
+ Completion Rate +

{{ course_summary.completion_percentage|floatformat:1 }}%

+
+
+
+
+ Completed + {{ course_summary.completed_courses }} +
+
+ Ongoing + {{ course_summary.ongoing_courses }} +
+
+
+
+
+ + +
+
+
+
Recent Activity
+
+
+
+ {% for leave in recent_leaves %} +
+ +
+ Leave Request ({{ leave.date|date:"M d" }}) + {{ leave.get_status_display }} + {{ leave.created_at|timesince }} ago +
+
+ {% endfor %} + + {% for feedback in recent_feedback %} +
+ +
+ Gave feedback {% if feedback.teacher %}to {{ feedback.teacher.name }}{% endif %} +
+ {% for i in "12345"|make_list %} + {% if forloop.counter <= feedback.rating %} + + {% else %} + + {% endif %} + {% endfor %} + {{ feedback.created_at|timesince }} ago +
+
+
+ {% endfor %} + + {% for notice in notices %} +
+ +
+ {{ notice.title }} + {{ notice.created_at|timesince }} ago +
+
+ {% endfor %} + + {% for record in attendance_records %} +
+ +
+ {% if record.student_attend %}Attended{% else %}Missed{% endif %} {{ record.attendance.routine.subject.name|truncatechars:15 }} + {{ record.attendance.date|date:"M d" }} +
+
+ {% endfor %} + + {% if not recent_leaves and not recent_feedback and not notices and not attendance_records %} +
+ No recent activity +
+ {% endif %} +
+
+
+
+ + +
+
+
+
Leave Status
+
+
+
+ Pending + {{ pending_leaves }} +
+
+ Approved + {{ approved_leaves }} +
+
+ Rejected + {{ rejected_leaves }} +
+ +
+
+
+
+ + +
+
+
+

+ Course Details +

+ + {% if course_details %} + {% for course in course_details %} +
+
+
{{ course.name }}
+ + {{ course.progress_status }} + +
+ + +
+
+ {{ course.completion_percentage }}% +
+
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {% if course.actual_end_date %} + + + + + {% endif %} + +
Course Name{{ course.name }}
Course Code{{ course.code|default:"-" }}
Description{{ course.description|default:"No description available" }}
Start Date{{ course.start_date|date:"M d, Y" }}
Duration Type{{ course.duration_type }}
Total Duration + {% if course.duration_type == "Semester" %} + {{ course.duration }} years ({{ course.duration|multiply:2 }} semesters) + {% else %} + {{ course.duration }} years + {% endif %} +
Status + + {{ course.is_active|yesno:"Active,Inactive" }} + +
Expected End Date{{ course.expected_end_date|date:"M d, Y" }}
Actual End Date{{ course.actual_end_date|date:"M d, Y" }}
+
+
+ + + + + + + + + + + + + + + {% if course.remaining_days is not None %} + + + + + {% endif %} + {% if course.total_remaining_days is not None %} + + + + + {% endif %} + +
{% if course.duration_type == "Semester" %}Current Semester{% else %}Current Year{% endif %}{% if course.duration_type == "Semester" %}Semester{% else %}Year{% endif %} {{ course.current_period }}
{% if course.duration_type == "Semester" %}Semester{% else %}Year{% endif %} Start{{ course.period_start_date|date:"M d, Y" }}
{% if course.duration_type == "Semester" %}Semester{% else %}Year{% endif %} End{{ course.period_end_date|date:"M d, Y" }}
{% if course.duration_type == "Semester" %}Semester{% else %}Year{% endif %} Days Remaining{{ course.remaining_days }} days
Total Course Days Remaining{{ course.total_remaining_days }} days
+
+
+
+ {% endfor %} + {% else %} +
+ No courses assigned yet. +
+ {% endif %} +
+
+
+
+ + + + + + + + + + + + +
+ + +{% include 'shared/common_modals.html' with user=student %} + + +{% include 'student/modals/pdf_viewer_modal.html' %} +{% include 'student/modals/subject_files_modal.html' %} +{% include 'student/modals/feedback_modal.html' %} + + + + + + + + +{% include 'shared/bottom_nav.html' with user=student %} + + + + +{% endblock content %} + +{% block extrascripts %} + +{% endblock %} + diff --git a/templates/New Folder/student/modals/feedback_modal.html b/templates/New Folder/student/modals/feedback_modal.html new file mode 100644 index 0000000..cbe5109 --- /dev/null +++ b/templates/New Folder/student/modals/feedback_modal.html @@ -0,0 +1,218 @@ + + + + + + \ No newline at end of file diff --git a/templates/New Folder/student/modals/pdf_viewer_modal.html b/templates/New Folder/student/modals/pdf_viewer_modal.html new file mode 100644 index 0000000..9ed603f --- /dev/null +++ b/templates/New Folder/student/modals/pdf_viewer_modal.html @@ -0,0 +1,12 @@ + + \ No newline at end of file diff --git a/templates/New Folder/student/modals/subject_files_modal.html b/templates/New Folder/student/modals/subject_files_modal.html new file mode 100644 index 0000000..27badbe --- /dev/null +++ b/templates/New Folder/student/modals/subject_files_modal.html @@ -0,0 +1,14 @@ + + \ No newline at end of file diff --git a/templates/New Folder/teacher/dashboard.html b/templates/New Folder/teacher/dashboard.html new file mode 100644 index 0000000..99e1b92 --- /dev/null +++ b/templates/New Folder/teacher/dashboard.html @@ -0,0 +1,1327 @@ +{% extends 'shared/base.html' %} +{% load static %} +{% load tz %} +{% load app_filters %} + +{% block head %} +{{ block.super }} + + + + + + + + + + + + + + + + + + + + + +{% endblock %} + +{% block content %} + +{% csrf_token %} + +
+ + {% include 'shared/welcome_section.html' with user=teacher %} + + +
+ +
+
+
+
+
Students
+
+
+
+

{{ total_students }}

+

Total Students

+
+
+
+
+

{{ present_students }}

+

Present Today

+
+
+

{{ absent_students }}

+

Absent Today

+
+
+
+
+
+
+ +
+
+
+
Today's Classes
+
+
+
+

{{ today_classes }}

+

Total Classes

+
+
+ {% if today_routines %} +
+
+ {% for routine in today_routines|slice:":3" %} + + {{ routine.name|truncatechars:15 }} + + {% endfor %} + {% if today_routines|length > 3 %} + + +{{ today_routines|length|add:"-3" }} more + + {% endif %} +
+
+ {% else %} +

No classes scheduled for today

+ {% endif %} +
+
+
+
+ +
+
+
+
Feedback Rating
+
+
+

{{ avg_rating|floatformat:1 }}/5.0

+
+ {% for i in "12345"|make_list %} + {% if forloop.counter <= avg_rating_rounded %} + + {% else %} + + {% endif %} + {% endfor %} +
+

Based on {{ recent_feedback.count }} student feedbacks

+
+
+
+ +
+
+
+
Leave Status
+
+
+
+

Pending

+ {{ pending_leaves }} +
+
+

Approved

+ {{ approved_leaves }} +
+
+

Rejected

+ {{ rejected_leaves }} +
+ +
+
+
+
+ + +
+
+
+
+
+
Today's Classes
+
+
+
+ {% if today_routines %} +
+ + + + + + + + + + + + + + + {% for routine in today_routines %} + + + + + + + + + + + {% endfor %} + +
SubjectCodeCoursePeriod/YearTimeAttendanceStatusAction
{{ routine.name }}{{ routine.subject.code|default:"-" }}{{ routine.course_name }}{{ routine.period_or_year }}{{ routine.start_time|time:"h:i A" }} - {{ routine.end_time|time:"h:i A" }}{{ routine.attendance_count }}/{{ routine.total_students }} + {% if routine.is_completed %} + Completed + {% elif routine.is_ongoing %} + In Progress + {% else %} + Upcoming + {% endif %} + + {% if routine.has_attendance %} + Recorded + {% else %} + + {% endif %} +
+
+ {% else %} +
+ No classes scheduled for today. +
+ {% endif %} +
+
+
+
+ + +
+ +
+
+
+
+
Recent Feedback
+
+
+
+ {{ avg_rating|floatformat:1 }}/5.0 +
+
+
+
+
+
+ {% if recent_feedback %} + + {% else %} +
+ No feedback received yet. +
+ {% endif %} +
+
+
+ + +
+
+
+
+
Recent Notices
+
+
+
+ {% if recent_notices %} +
+ {% for notice in recent_notices %} +
+
+
+
{{ notice.title }}
+

{{ notice.content|truncatechars:100 }}

+
+ {{ notice.get_priority_display }} +
+ {{ notice.created_at|date:"M d, Y" }} +
+ {% endfor %} +
+ {% else %} +
+ No notices available. +
+ {% endif %} +
+
+
+
+
+ + +
+
+
Your Class Schedule
+ + {% if all_routines %} +
+
+ {% for routine in all_routines %} +
+
+
{{ routine.subject.name }}
+ {{ routine.start_time|time:"h:i A" }} - {{ routine.end_time|time:"h:i A" }} +
+

{{ routine.course.name }} ({{ routine.course.duration_type }} {{ routine.period_or_year }})

+
+ {% endfor %} +
+
+ {% else %} +
+ No class schedules found. +
+ {% endif %} +
+
+ + +
+
+ +
+
+
Attendance Management
+ +
+ + +
+ {% if recent_attendance %} +
+ + + + + + + + + + + + + {% for attendance in recent_attendance %} + + + + + + + + + {% endfor %} + +
DateSubjectTimeStatusPresent/TotalAction
{{ attendance.date|date:"M d, Y" }}{{ attendance.routine.subject.name }}{{ attendance.routine.start_time|time:"h:i A" }} - {{ attendance.routine.end_time|time:"h:i A" }} + + {{ attendance.class_status }} + + + {{ attendance.present_count|default:"0" }}/{{ attendance.total_count|default:"0" }} + + +
+
+ {% else %} +
+ No recent attendance records found. +
+ {% endif %} +
+
+ + + +
+
+ + +
+
+
Notices & Announcements
+ + {% if notices %} +
+ {% for notice in notices %} +
+
+
{{ notice.title }}
+ {{ notice.created_at|date:"M d, Y" }} +
+

{{ notice.message }}

+ Posted {{ notice.created_at|timesince }} ago +
+ {% endfor %} +
+ {% else %} +
+ No notices available. +
+ {% endif %} +
+
+ + +
+
+ +
+
+
Give Feedback to Institute
+ +
+
+ + +
+
+
Your Recent Feedback
+ + {% if institute_feedback %} + + {% else %} +
+ +

You haven't submitted any feedback yet.

+
+ {% endif %} +
+
+
+
+ + +
+
+

+ Profile Information +

+
+ +
+
+
+ {% if teacher.image %} + {{ teacher.name }} + {% else %} + Default User + {% endif %} +
+

{{ teacher.name }}

+

+ {{ teacher.id }} + {{ teacher.email }} + {{ teacher.phone }} +

+
+ + {{ teacher.is_active|yesno:"Active,Inactive" }} + + {{ teacher.designation }} +
+
+
+
+ + +
+
+
+ + +
+
+
+
Personal Information
+
+
+
+
+ Full Name +

{{ teacher.name }}

+
+
+ Gender +

{{ teacher.gender|default:"Not provided" }}

+
+
+ Birth Date +

{{ teacher.birth_date|date:"M d, Y"|default:"Not provided" }}

+
+
+ Marital Status +

{{ teacher.marital_status|default:"Not provided" }}

+
+
+ Citizenship No. +

{{ teacher.citizenship_no|default:"Not provided" }}

+
+
+ Passport +

{{ teacher.passport|default:"Not provided" }}

+
+
+
+
+
+ + +
+
+
+
Contact Information
+
+
+
+
+ Email Address +

{{ teacher.email|default:"Not provided" }}

+
+
+ Phone Number +

{{ teacher.phone|default:"Not provided" }}

+
+
+ Parent Name +

{{ teacher.parent_name|default:"Not provided" }}

+
+
+ Parent Phone +

{{ teacher.parent_phone|default:"Not provided" }}

+
+
+ Temporary Address +

{{ teacher.temporary_address|default:"Not provided" }}

+
+
+ Permanent Address +

{{ teacher.permanent_address|default:"Not provided" }}

+
+
+
+
+
+ + +
+
+
+
Employment Information
+
+
+
+
+ Employee ID +

{{ teacher.id }}

+
+
+ Designation +

{{ teacher.designation|default:"Not provided" }}

+
+
+ Joining Date +

{{ teacher.joining_date|date:"M d, Y"|default:"Not provided" }}

+
+
+ Status +

+ + {{ teacher.is_active|yesno:"Active,Inactive" }} + +

+
+
+ Permissions +

+ {% for group in teacher.groups.all %} + {{ group.name }} + {% empty %} + No specific permissions + {% endfor %} +

+
+
+
+
+
+ + +
+
+
+
Qualifications
+
+
+
+
+ Educational Background + {% if teacher.education_set.all %} + {% for education in teacher.education_set.all %} +
+

{{ education.degree }}, {{ education.institution }} ({{ education.year }})

+ {{ education.specialization }} +
+ {% endfor %} + {% else %} +

No educational qualifications recorded

+ {% endif %} + + {% if teacher.qualification %} +
+ Additional Qualifications +

{{ teacher.qualification }}

+
+ {% endif %} +
+ + {% if teacher.skills %} +
+ Skills & Specialization +

{{ teacher.specialization|default:"No specialization information available" }}

+ +
+ {% for skill in teacher.skills %} + {{ skill.strip }} + {% endfor %} +
+
+ {% endif %} +
+
+
+
+
+
+
+ + +
+
+

+ Leave Management +

+
+
+ +
+
+ +
+
+
+
+ +

{{ pending_leaves }}

+

Pending Requests

+
+
+
+
+
+
+ +

{{ approved_leaves }}

+

Approved Requests

+
+
+
+
+
+
+ +

{{ rejected_leaves }}

+

Rejected Requests

+
+
+
+
+ +
+
Leave History
+
+ + + + + + + + + + + + {% if recent_leaves %} + {% for leave in recent_leaves %} + + + + + + + + {% endfor %} + {% else %} + + + + {% endif %} + +
Start DateEnd DateReasonStatusApplied On
{{ leave.start_date|date:"M d, Y" }}{{ leave.end_date|date:"M d, Y" }}{{ leave.message }} + + {{ leave.get_status_display }} + + {{ leave.created_at|date:"M d, Y" }}
No leave history available
+
+
+
+
+
+ + +
+
+

+ Your Subjects & Materials +

+ +
+

Manage study materials, notes, and resources for students.

+ + Manage Subject Materials + +
+ +
+ {% for routine in teacher_subjects %} +
+
+
+
{{ routine.subject.name }}
+ {{ routine.course.name }} - {{ routine.subject.period_or_year }} +
+
+
+
+

+ {{ routine.start_time|time:"h:i A" }} - {{ routine.end_time|time:"h:i A" }} +

+

+ {{ routine.students_count|default:"0" }} students +

+
+
+ +
+ {% if routine.subject.syllabus_pdf %} + + View Syllabus + + {% endif %} + {% if routine.subject.get_all_files|length > 0 %} + + View Materials + + {% else %} + + Upload Materials + + {% endif %} +
+
+
+
+ {% empty %} +
+
+ You don't have any subjects assigned. +
+
+ {% endfor %} +
+
+
+ + + + +
+
+
+
+

+ Manage Subject Materials +

+ + Back to Subjects + +
+ +
+ + +
+ {% if teacher_subjects %} +
+ + + + + + + + + + + {% for routine in teacher_subjects %} + + + + + + + + + + {% endfor %} + +
SubjectDepartmentFilesAction
+
+ {% with files=routine.subject.get_all_files %} + {% if files %} +
+ + + {% for file in files %} + + + + + {% endfor %} + +
+
+ {% if file.file_type == 'syllabus' %} + + {% else %} + + {% endif %} +
+
{{ file.title }}
+ + + {{ file.file_type|default:"Study Material"|title }} + + {% if file.uploaded_at %} + {{ file.uploaded_at|date:"d M Y" }} + {% endif %} + +
+
+
+ + Download + + {% if file.file_type == 'syllabus' %} + + View + + {% else %} + + View + + + {% endif %} +
+
+ {% else %} +
+ No files available for this subject. +
+ {% endif %} + {% endwith %} +
+
+
+ + + + + {% else %} +
+ You don't have any subjects assigned. +
+ {% endif %} +
+
+
+ + + + + + + + +{% include 'shared/common_modals.html' with user=teacher %} + + +{% include 'teacher/modals/attendance_modal.html' %} +{% include 'teacher/modals/feedback_modal.html' %} +{% include 'teacher/modals/upload_file_modal.html' %} +{% include 'teacher/modals/confirmation_modal.html' %} + + +{% include 'shared/bottom_nav.html' with user=teacher %} + + + + + + + + + + + + + + + +{% endblock %} + +{% block extrastyle %} +{{ block.super }} + + + + +{% endblock %} + +{% block extrascripts %} +{{ block.super }} + +{% endblock %} diff --git a/templates/New Folder/teacher/modals/attendance_modal.html b/templates/New Folder/teacher/modals/attendance_modal.html new file mode 100644 index 0000000..31e1e17 --- /dev/null +++ b/templates/New Folder/teacher/modals/attendance_modal.html @@ -0,0 +1,101 @@ + + + + \ No newline at end of file diff --git a/templates/New Folder/teacher/modals/confirmation_modal.html b/templates/New Folder/teacher/modals/confirmation_modal.html new file mode 100644 index 0000000..c8d6d07 --- /dev/null +++ b/templates/New Folder/teacher/modals/confirmation_modal.html @@ -0,0 +1,19 @@ + + \ No newline at end of file diff --git a/templates/New Folder/teacher/modals/feedback_modal.html b/templates/New Folder/teacher/modals/feedback_modal.html new file mode 100644 index 0000000..f539e98 --- /dev/null +++ b/templates/New Folder/teacher/modals/feedback_modal.html @@ -0,0 +1,109 @@ + + + + + + + + \ No newline at end of file diff --git a/templates/New Folder/teacher/modals/upload_file_modal.html b/templates/New Folder/teacher/modals/upload_file_modal.html new file mode 100644 index 0000000..4986700 --- /dev/null +++ b/templates/New Folder/teacher/modals/upload_file_modal.html @@ -0,0 +1,49 @@ + + \ No newline at end of file diff --git a/templates/admin/dashboard.html b/templates/admin/dashboard.html index 4560501..093e194 100644 --- a/templates/admin/dashboard.html +++ b/templates/admin/dashboard.html @@ -5,8 +5,6 @@ {{ block.super }} - - @@ -349,7 +347,7 @@ flex-direction: column; gap: 6px; } - + .btn-action { width: 100%; } diff --git a/templates/hod/modals/add_routine_modal.html b/templates/hod/modals/add_routine_modal.html index f7988ee..de7ed8f 100644 --- a/templates/hod/modals/add_routine_modal.html +++ b/templates/hod/modals/add_routine_modal.html @@ -2,30 +2,30 @@