-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathattendancepage-prof.html
More file actions
108 lines (97 loc) · 4.13 KB
/
Copy pathattendancepage-prof.html
File metadata and controls
108 lines (97 loc) · 4.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Professor Attendance Tracking</title>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Work+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<link rel="stylesheet" href="style-att-pro.css">
</head>
<body>
<!-- Header -->
<header class="header">
<div class="logo">EduHub</div>
<div class="user-profile">
<div class="avatar"></div>
<div>
<div style="font-weight: bold;"> Dr Chen</div>
<div style="font-size: 0.8rem;" class="user-role">Professor</div>
</div>
</div>
</header>
<!-- Main Content -->
<div class="container">
<!-- Welcome Section -->
<section class="welcome-section">
<h1 class="welcome-title">Professor Dashboard</h1>
<p class="welcome-subtitle">Track and manage student attendance across all your classes</p>
</section>
<!-- Timeline Section -->
<section class="timeline-section">
<h2 class="section-title">Today's Classes</h2>
<div class="timeline-blocks" id="timelineBlocks">
<!-- Timeline blocks will be populated by JavaScript -->
</div>
</section>
<label class="dark-mode-switch">
<input type="checkbox" id="darkModeToggle">
<span class="slider"></span>
<i class="fas fa-moon"></i>
</label>
<!-- Attendance Ratio Chart -->
<section class="attendance-ratio">
<h3 class="ratio-title">Today's Overall Attendance</h3>
<div class="ratio-bar">
<div class="ratio-fill" id="ratioFill" style="width: 0%"></div>
</div>
<div class="ratio-stats">
<span id="presentTotal">Present: 0</span>
<span id="absentTotal">Absent: 0</span>
</div>
</section>
<!-- Expanded Detail Block -->
<section class="expanded-detail" id="expandedDetail">
<div class="detail-header">
<h3 class="detail-title" id="detailTitle">Class Details</h3>
<button class="close-btn" id="closeBtn">×</button>
</div>
<div class="attendance-summary">
<div class="summary-card">
<div class="summary-number" id="presentCount">0</div>
<div class="summary-label">Present</div>
</div>
<div class="summary-card">
<div class="summary-number" id="absentCount">0</div>
<div class="summary-label">Absent</div>
</div>
<div class="summary-card">
<div class="summary-number" id="attendanceRate">0%</div>
<div class="summary-label">Attendance Rate</div>
</div>
</div>
<div class="student-lists">
<div class="student-list">
<div class="list-header" id="presentHeader">
<span>Present Students</span>
<i class="fas fa-chevron-down"></i>
</div>
<div class="list-content" id="presentList">
<!-- Present students will be populated here -->
</div>
</div>
<div class="student-list">
<div class="list-header" id="absentHeader">
<span>Absent Students</span>
<i class="fas fa-chevron-down"></i>
</div>
<div class="list-content" id="absentList">
<!-- Absent students will be populated here -->
</div>
</div>
</div>
</section>
</div>
<script src="script-att-pro.js"></script>
</body>
</html>