diff --git a/templates/New Folder/admission_officer/dashboard.html b/templates/New Folder/admission_officer/dashboard.html deleted file mode 100644 index 6993181..0000000 --- a/templates/New Folder/admission_officer/dashboard.html +++ /dev/null @@ -1,985 +0,0 @@ -{% extends 'shared/base.html' %} -{% load static %} -{% load tz %} -{% load app_filters %} - -{% block extrahead %} - -{% endblock %} - -{% block content %} - -{% csrf_token %} - -
Total Students
-Active
-New (30 days)
-Total Courses
-Active
-Active
-Pending
- {{ pending_leaves }} -Approved
- {{ approved_leaves }} -Rejected
- {{ rejected_leaves }} -{{ notice.message }}
-| Start Date | -End Date | -Message | -Status | -
|---|---|---|---|
| {{ leave.start_date|date:"M d, Y" }} | -{{ leave.end_date|date:"M d, Y" }} | -{{ leave.message|truncatechars:50 }} | -- - {{ leave.get_status_display }} - - | -
| ID | -Student Details | -Contact Info | -Parent Details | -Course & Batch | -Status | -Actions | -
|---|---|---|---|---|---|---|
| {{ student.id }} | -
-
- {% if student.image %}
-
-
- {{ 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 | -||||||
| Name | -Year | -Status | -Students | -
|---|---|---|---|
| {{ batch.name }} | -{{ batch.year|date:"Y"|default:"-" }} | -- - {{ batch.is_active|yesno:"Active,Inactive" }} - - | -{{ batch.students.count }} | -
| No batches found | -|||
| Name | -Code | -Duration | -Type | -Status | -
|---|---|---|---|---|
| {{ 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" }} - - | -
- {% endif %}
- - {{ officer.id }} - {{ officer.email }} - {{ officer.phone }} -
-{{ officer.name }}
-{{ officer.gender|default:"Not provided" }}
-{{ officer.birth_date|date:"M d, Y"|default:"Not provided" }}
-{{ officer.marital_status|default:"Not provided" }}
-{{ officer.citizenship_no|default:"Not provided" }}
-{{ officer.passport|default:"Not provided" }}
-{{ officer.email|default:"Not provided" }}
-{{ officer.phone|default:"Not provided" }}
-{{ officer.parent_name|default:"Not provided" }}
-{{ officer.parent_phone|default:"Not provided" }}
-{{ officer.temporary_address|default:"Not provided" }}
-{{ officer.permanent_address|default:"Not provided" }}
-{{ officer.id }}
-{{ officer.designation|default:"Not provided" }}
-{{ officer.joining_date|date:"M d, Y"|default:"Not provided" }}
-- - {{ officer.is_active|yesno:"Active,Inactive" }} - -
-Pending Requests
-Approved Requests
-Rejected Requests
-| Start Date | -End Date | -Reason | -Status | -Applied 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 | -||||
| Title | -Message | -Created At | -
|---|---|---|
| {{ notice.title }} | -{{ notice.message|truncatechars:100 }} | -{{ notice.created_at|date:"M d, Y H:i" }} | -
| No notices found | -||
Total Students
-Staff
-Subjects
-Total Classes
-No classes scheduled for today
- {% endif %} -No progress data available
- {% endif %} -No upcoming meetings
- {% endif %} -| Subject | -Code | -Teacher | -Time | -Period/Year | -Status | -
|---|---|---|---|---|---|
| {{ 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 %} - | -
| Student | -Batch | -Current Period | -Completion % | -Status | -Actions | -
|---|---|---|---|---|---|
|
-
- {% if progress.student.image %}
-
- {{ 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 %} - | -- - | -
{{ feedback.feedback_text }}
- {{ feedback.created_at|timesince }} ago -No course progress data available
- {% endif %} -No recent leaves
- {% endif %} -{{ notice.message|truncatechars:50 }}
- {% if notice.file %} - - Download - - {% endif %} -No notices available
-| Name | -Course | -Current Period | -Attendance | -Course Progress | -Status | -Actions | -
|---|---|---|---|---|---|---|
|
-
- {% if student_info.student.image %}
-
-
-
-
- {% 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 }} - - | -- - | -
{{ notice.message }}
-No notices available
-| 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.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 | -
Total Students
-Present Today
-Absent Today
-Total Classes
-No classes scheduled for today
- {% endif %} -Based on {{ recent_feedback.count }} student feedbacks
-Pending
- {{ pending_leaves }} -Approved
- {{ approved_leaves }} -Rejected
- {{ rejected_leaves }} -| Subject | -Code | -Course | -Period/Year | -Time | -Attendance | -Status | -Action | -
|---|---|---|---|---|---|---|---|
| {{ 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 %} - | -
{{ feedback.comment|truncatechars:100 }}
-{{ notice.content|truncatechars:100 }}
-{{ routine.course.name }} ({{ routine.course.duration_type }} {{ routine.period_or_year }})
-| Date | -Subject | -Time | -Status | -Present/Total | -Action | -
|---|---|---|---|---|---|
| {{ 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" }} - | -- - | -
{{ notice.message }}
- Posted {{ notice.created_at|timesince }} ago -You haven't submitted any feedback yet.
-
- {% endif %}
- - {{ teacher.id }} - {{ teacher.email }} - {{ teacher.phone }} -
-{{ teacher.name }}
-{{ teacher.gender|default:"Not provided" }}
-{{ teacher.birth_date|date:"M d, Y"|default:"Not provided" }}
-{{ teacher.marital_status|default:"Not provided" }}
-{{ teacher.citizenship_no|default:"Not provided" }}
-{{ teacher.passport|default:"Not provided" }}
-{{ teacher.email|default:"Not provided" }}
-{{ teacher.phone|default:"Not provided" }}
-{{ teacher.parent_name|default:"Not provided" }}
-{{ teacher.parent_phone|default:"Not provided" }}
-{{ teacher.temporary_address|default:"Not provided" }}
-{{ teacher.permanent_address|default:"Not provided" }}
-{{ teacher.id }}
-{{ teacher.designation|default:"Not provided" }}
-{{ teacher.joining_date|date:"M d, Y"|default:"Not provided" }}
-- - {{ teacher.is_active|yesno:"Active,Inactive" }} - -
-- {% for group in teacher.groups.all %} - {{ group.name }} - {% empty %} - No specific permissions - {% endfor %} -
-{{ education.degree }}, {{ education.institution }} ({{ education.year }})
- {{ education.specialization }} -No educational qualifications recorded
- {% endif %} - - {% if teacher.qualification %} -{{ teacher.qualification }}
-{{ teacher.specialization|default:"No specialization information available" }}
- -Pending Requests
-Approved Requests
-Rejected Requests
-| Start Date | -End Date | -Reason | -Status | -Applied 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 | -||||
Manage study materials, notes, and resources for students.
- - Manage Subject Materials - -- {{ routine.start_time|time:"h:i A" }} - {{ routine.end_time|time:"h:i A" }} -
-- {{ routine.students_count|default:"0" }} students -
-| Subject | -Department | -Files | -Action | -||
|---|---|---|---|---|---|
|
-
-
- {{ routine.subject.name }}
-
- |
- {{ routine.course.name }} - {{ routine.subject.period_or_year }} | -- {% with files=routine.subject.get_all_files %} - {{ files|length }} file(s) - {% endwith %} - | -- - Upload - - {% if routine.subject.syllabus_pdf %} - - Syllabus - - {% endif %} - | -||
|
-
- {% with files=routine.subject.get_all_files %}
- {% if files %}
-
-
-
- {% else %}
-
- No files available for this subject.
-
- {% endif %}
- {% endwith %}
- |
- |||||