ismio commited on
Commit
8fd60d9
·
verified ·
1 Parent(s): 84c20de

build fully school management system with fully re=ich reports - Initial Deployment

Browse files
Files changed (5) hide show
  1. README.md +7 -5
  2. index.html +425 -18
  3. prompts.txt +1 -0
  4. reports.html +569 -0
  5. students.html +384 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Eduplus
3
- emoji: 🐠
4
- colorFrom: red
5
- colorTo: gray
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: eduplus
3
+ emoji: 🐳
4
+ colorFrom: purple
5
+ colorTo: blue
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,426 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>EduManage | School Management System</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
9
+ <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
11
+ <script src="https://unpkg.com/feather-icons"></script>
12
+ <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
13
+ <style>
14
+ .sidebar {
15
+ transition: all 0.3s ease;
16
+ }
17
+ .sidebar-mini {
18
+ width: 80px;
19
+ }
20
+ .sidebar-full {
21
+ width: 250px;
22
+ }
23
+ .main-content {
24
+ transition: all 0.3s ease;
25
+ }
26
+ .content-expanded {
27
+ margin-left: 250px;
28
+ }
29
+ .content-collapsed {
30
+ margin-left: 80px;
31
+ }
32
+ .dashboard-card:hover {
33
+ transform: translateY(-5px);
34
+ box-shadow: 0 10px 20px rgba(0,0,0,0.1);
35
+ }
36
+ .report-card {
37
+ transition: all 0.3s ease;
38
+ }
39
+ .report-card:hover {
40
+ transform: scale(1.02);
41
+ }
42
+ </style>
43
+ </head>
44
+ <body class="bg-gray-50">
45
+ <div class="flex h-screen overflow-hidden">
46
+ <!-- Sidebar -->
47
+ <div id="sidebar" class="sidebar sidebar-full bg-indigo-800 text-white fixed h-full">
48
+ <div class="p-4 flex items-center justify-between border-b border-indigo-700">
49
+ <div class="flex items-center space-x-2">
50
+ <i data-feather="book-open" class="w-6 h-6"></i>
51
+ <span class="text-xl font-bold">EduManage</span>
52
+ </div>
53
+ <button id="toggleSidebar" class="text-white focus:outline-none">
54
+ <i data-feather="chevron-left" class="w-5 h-5"></i>
55
+ </button>
56
+ </div>
57
+ <div class="p-4">
58
+ <div class="flex items-center space-x-3 mb-6">
59
+ <img src="http://static.photos/people/200x200/1" alt="User" class="w-10 h-10 rounded-full">
60
+ <div>
61
+ <p class="font-medium">Admin User</p>
62
+ <p class="text-xs text-indigo-300">Super Admin</p>
63
+ </div>
64
+ </div>
65
+ <nav>
66
+ <ul class="space-y-2">
67
+ <li>
68
+ <a href="#" class="flex items-center space-x-3 p-2 rounded bg-indigo-700">
69
+ <i data-feather="home" class="w-5 h-5"></i>
70
+ <span>Dashboard</span>
71
+ </a>
72
+ </li>
73
+ <li>
74
+ <a href="students.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
75
+ <i data-feather="users" class="w-5 h-5"></i>
76
+ <span>Students</span>
77
+ </a>
78
+ </li>
79
+ <li>
80
+ <a href="teachers.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
81
+ <i data-feather="user" class="w-5 h-5"></i>
82
+ <span>Teachers</span>
83
+ </a>
84
+ </li>
85
+ <li>
86
+ <a href="classes.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
87
+ <i data-feather="book" class="w-5 h-5"></i>
88
+ <span>Classes</span>
89
+ </a>
90
+ </li>
91
+ <li>
92
+ <a href="attendance.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
93
+ <i data-feather="check-square" class="w-5 h-5"></i>
94
+ <span>Attendance</span>
95
+ </a>
96
+ </li>
97
+ <li>
98
+ <a href="grades.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
99
+ <i data-feather="award" class="w-5 h-5"></i>
100
+ <span>Grades</span>
101
+ </a>
102
+ </li>
103
+ <li>
104
+ <a href="reports.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
105
+ <i data-feather="file-text" class="w-5 h-5"></i>
106
+ <span>Reports</span>
107
+ </a>
108
+ </li>
109
+ <li>
110
+ <a href="settings.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
111
+ <i data-feather="settings" class="w-5 h-5"></i>
112
+ <span>Settings</span>
113
+ </a>
114
+ </li>
115
+ </ul>
116
+ </nav>
117
+ </div>
118
+ </div>
119
+
120
+ <!-- Main Content -->
121
+ <div id="mainContent" class="main-content content-expanded flex-1 overflow-auto">
122
+ <!-- Top Navigation -->
123
+ <header class="bg-white shadow-sm">
124
+ <div class="flex items-center justify-between p-4">
125
+ <div class="flex items-center space-x-4">
126
+ <h1 class="text-2xl font-bold text-gray-800">Dashboard</h1>
127
+ </div>
128
+ <div class="flex items-center space-x-4">
129
+ <div class="relative">
130
+ <i data-feather="search" class="absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
131
+ <input type="text" placeholder="Search..." class="pl-10 pr-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-indigo-500">
132
+ </div>
133
+ <button class="p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200">
134
+ <i data-feather="bell" class="w-5 h-5"></i>
135
+ </button>
136
+ <div class="flex items-center space-x-2">
137
+ <img src="http://static.photos/people/200x200/1" alt="User" class="w-8 h-8 rounded-full">
138
+ <span class="font-medium">Admin</span>
139
+ </div>
140
+ </div>
141
+ </div>
142
+ </header>
143
+
144
+ <!-- Dashboard Content -->
145
+ <main class="p-6">
146
+ <!-- Stats Cards -->
147
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
148
+ <div class="dashboard-card bg-white p-6 rounded-xl shadow-md border-l-4 border-indigo-500 transition-all duration-300">
149
+ <div class="flex items-center justify-between">
150
+ <div>
151
+ <p class="text-gray-500">Total Students</p>
152
+ <h3 class="text-2xl font-bold">1,245</h3>
153
+ <p class="text-sm text-green-500 flex items-center">
154
+ <i data-feather="trending-up" class="w-4 h-4 mr-1"></i>
155
+ <span>12% from last month</span>
156
+ </p>
157
+ </div>
158
+ <div class="p-3 rounded-full bg-indigo-100 text-indigo-600">
159
+ <i data-feather="users" class="w-6 h-6"></i>
160
+ </div>
161
+ </div>
162
+ </div>
163
+ <div class="dashboard-card bg-white p-6 rounded-xl shadow-md border-l-4 border-blue-500 transition-all duration-300">
164
+ <div class="flex items-center justify-between">
165
+ <div>
166
+ <p class="text-gray-500">Total Teachers</p>
167
+ <h3 class="text-2xl font-bold">84</h3>
168
+ <p class="text-sm text-green-500 flex items-center">
169
+ <i data-feather="trending-up" class="w-4 h-4 mr-1"></i>
170
+ <span>5% from last month</span>
171
+ </p>
172
+ </div>
173
+ <div class="p-3 rounded-full bg-blue-100 text-blue-600">
174
+ <i data-feather="user" class="w-6 h-6"></i>
175
+ </div>
176
+ </div>
177
+ </div>
178
+ <div class="dashboard-card bg-white p-6 rounded-xl shadow-md border-l-4 border-green-500 transition-all duration-300">
179
+ <div class="flex items-center justify-between">
180
+ <div>
181
+ <p class="text-gray-500">Classes</p>
182
+ <h3 class="text-2xl font-bold">36</h3>
183
+ <p class="text-sm text-red-500 flex items-center">
184
+ <i data-feather="trending-down" class="w-4 h-4 mr-1"></i>
185
+ <span>2% from last month</span>
186
+ </p>
187
+ </div>
188
+ <div class="p-3 rounded-full bg-green-100 text-green-600">
189
+ <i data-feather="book" class="w-6 h-6"></i>
190
+ </div>
191
+ </div>
192
+ </div>
193
+ <div class="dashboard-card bg-white p-6 rounded-xl shadow-md border-l-4 border-purple-500 transition-all duration-300">
194
+ <div class="flex items-center justify-between">
195
+ <div>
196
+ <p class="text-gray-500">Attendance Today</p>
197
+ <h3 class="text-2xl font-bold">92%</h3>
198
+ <p class="text-sm text-green-500 flex items-center">
199
+ <i data-feather="trending-up" class="w-4 h-4 mr-1"></i>
200
+ <span>3% from yesterday</span>
201
+ </p>
202
+ </div>
203
+ <div class="p-3 rounded-full bg-purple-100 text-purple-600">
204
+ <i data-feather="check-square" class="w-6 h-6"></i>
205
+ </div>
206
+ </div>
207
+ </div>
208
+ </div>
209
+
210
+ <!-- Charts Row -->
211
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8">
212
+ <!-- Student Enrollment Chart -->
213
+ <div class="bg-white p-6 rounded-xl shadow-md">
214
+ <div class="flex items-center justify-between mb-4">
215
+ <h3 class="text-lg font-semibold">Student Enrollment</h3>
216
+ <div class="flex space-x-2">
217
+ <button class="px-3 py-1 text-xs bg-indigo-100 text-indigo-600 rounded">Monthly</button>
218
+ <button class="px-3 py-1 text-xs bg-gray-100 text-gray-600 rounded">Yearly</button>
219
+ </div>
220
+ </div>
221
+ <canvas id="enrollmentChart" height="250"></canvas>
222
+ </div>
223
+
224
+ <!-- Attendance Trend Chart -->
225
+ <div class="bg-white p-6 rounded-xl shadow-md">
226
+ <div class="flex items-center justify-between mb-4">
227
+ <h3 class="text-lg font-semibold">Attendance Trend</h3>
228
+ <div class="flex space-x-2">
229
+ <button class="px-3 py-1 text-xs bg-indigo-100 text-indigo-600 rounded">Monthly</button>
230
+ <button class="px-3 py-1 text-xs bg-gray-100 text-gray-600 rounded">Yearly</button>
231
+ </div>
232
+ </div>
233
+ <canvas id="attendanceChart" height="250"></canvas>
234
+ </div>
235
+ </div>
236
+
237
+ <!-- Recent Activities and Quick Reports -->
238
+ <div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
239
+ <!-- Recent Activities -->
240
+ <div class="bg-white p-6 rounded-xl shadow-md lg:col-span-2">
241
+ <h3 class="text-lg font-semibold mb-4">Recent Activities</h3>
242
+ <div class="space-y-4">
243
+ <div class="flex items-start space-x-3">
244
+ <div class="p-2 rounded-full bg-green-100 text-green-600">
245
+ <i data-feather="user-plus" class="w-4 h-4"></i>
246
+ </div>
247
+ <div>
248
+ <p class="font-medium">New student enrolled</p>
249
+ <p class="text-sm text-gray-500">John Doe joined Grade 10 - Section A</p>
250
+ <p class="text-xs text-gray-400">2 hours ago</p>
251
+ </div>
252
+ </div>
253
+ <div class="flex items-start space-x-3">
254
+ <div class="p-2 rounded-full bg-blue-100 text-blue-600">
255
+ <i data-feather="award" class="w-4 h-4"></i>
256
+ </div>
257
+ <div>
258
+ <p class="font-medium">Grades updated</p>
259
+ <p class="text-sm text-gray-500">Math grades for Grade 11 have been updated</p>
260
+ <p class="text-xs text-gray-400">5 hours ago</p>
261
+ </div>
262
+ </div>
263
+ <div class="flex items-start space-x-3">
264
+ <div class="p-2 rounded-full bg-purple-100 text-purple-600">
265
+ <i data-feather="calendar" class="w-4 h-4"></i>
266
+ </div>
267
+ <div>
268
+ <p class="font-medium">New event scheduled</p>
269
+ <p class="text-sm text-gray-500">Parent-Teacher meeting on Friday</p>
270
+ <p class="text-xs text-gray-400">Yesterday</p>
271
+ </div>
272
+ </div>
273
+ <div class="flex items-start space-x-3">
274
+ <div class="p-2 rounded-full bg-yellow-100 text-yellow-600">
275
+ <i data-feather="alert-triangle" class="w-4 h-4"></i>
276
+ </div>
277
+ <div>
278
+ <p class="font-medium">Low attendance alert</p>
279
+ <p class="text-sm text-gray-500">Grade 9 Section B attendance below 80%</p>
280
+ <p class="text-xs text-gray-400">Yesterday</p>
281
+ </div>
282
+ </div>
283
+ </div>
284
+ </div>
285
+
286
+ <!-- Quick Reports -->
287
+ <div class="bg-white p-6 rounded-xl shadow-md">
288
+ <h3 class="text-lg font-semibold mb-4">Quick Reports</h3>
289
+ <div class="space-y-3">
290
+ <a href="#" class="report-card block p-4 border rounded-lg hover:border-indigo-500 hover:shadow-md transition-all">
291
+ <div class="flex items-center justify-between">
292
+ <div>
293
+ <p class="font-medium">Student Performance</p>
294
+ <p class="text-sm text-gray-500">Generate performance reports</p>
295
+ </div>
296
+ <i data-feather="chevron-right" class="w-5 h-5 text-gray-400"></i>
297
+ </div>
298
+ </a>
299
+ <a href="#" class="report-card block p-4 border rounded-lg hover:border-indigo-500 hover:shadow-md transition-all">
300
+ <div class="flex items-center justify-between">
301
+ <div>
302
+ <p class="font-medium">Attendance Summary</p>
303
+ <p class="text-sm text-gray-500">Monthly attendance report</p>
304
+ </div>
305
+ <i data-feather="chevron-right" class="w-5 h-5 text-gray-400"></i>
306
+ </div>
307
+ </a>
308
+ <a href="#" class="report-card block p-4 border rounded-lg hover:border-indigo-500 hover:shadow-md transition-all">
309
+ <div class="flex items-center justify-between">
310
+ <div>
311
+ <p class="font-medium">Fee Collection</p>
312
+ <p class="text-sm text-gray-500">Fee payment status</p>
313
+ </div>
314
+ <i data-feather="chevron-right" class="w-5 h-5 text-gray-400"></i>
315
+ </div>
316
+ </a>
317
+ <a href="#" class="report-card block p-4 border rounded-lg hover:border-indigo-500 hover:shadow-md transition-all">
318
+ <div class="flex items-center justify-between">
319
+ <div>
320
+ <p class="font-medium">Teacher Evaluation</p>
321
+ <p class="text-sm text-gray-500">Teacher performance metrics</p>
322
+ </div>
323
+ <i data-feather="chevron-right" class="w-5 h-5 text-gray-400"></i>
324
+ </div>
325
+ </a>
326
+ </div>
327
+ </div>
328
+ </div>
329
+ </main>
330
+ </div>
331
+ </div>
332
+
333
+ <script>
334
+ // Initialize AOS
335
+ AOS.init();
336
+
337
+ // Initialize Feather Icons
338
+ feather.replace();
339
+
340
+ // Toggle Sidebar
341
+ const sidebar = document.getElementById('sidebar');
342
+ const mainContent = document.getElementById('mainContent');
343
+ const toggleSidebar = document.getElementById('toggleSidebar');
344
+
345
+ toggleSidebar.addEventListener('click', () => {
346
+ sidebar.classList.toggle('sidebar-mini');
347
+ sidebar.classList.toggle('sidebar-full');
348
+ mainContent.classList.toggle('content-collapsed');
349
+ mainContent.classList.toggle('content-expanded');
350
+
351
+ // Change the icon based on sidebar state
352
+ const icon = toggleSidebar.querySelector('i');
353
+ if (sidebar.classList.contains('sidebar-mini')) {
354
+ feather.replace();
355
+ icon.setAttribute('data-feather', 'chevron-right');
356
+ } else {
357
+ feather.replace();
358
+ icon.setAttribute('data-feather', 'chevron-left');
359
+ }
360
+ feather.replace();
361
+ });
362
+
363
+ // Charts
364
+ // Enrollment Chart
365
+ const enrollmentCtx = document.getElementById('enrollmentChart').getContext('2d');
366
+ const enrollmentChart = new Chart(enrollmentCtx, {
367
+ type: 'line',
368
+ data: {
369
+ labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
370
+ datasets: [{
371
+ label: 'New Students',
372
+ data: [45, 60, 75, 82, 56, 40, 35, 120, 95, 80, 65, 50],
373
+ backgroundColor: 'rgba(79, 70, 229, 0.1)',
374
+ borderColor: 'rgba(79, 70, 229, 1)',
375
+ borderWidth: 2,
376
+ tension: 0.3,
377
+ fill: true
378
+ }]
379
+ },
380
+ options: {
381
+ responsive: true,
382
+ plugins: {
383
+ legend: {
384
+ display: false
385
+ }
386
+ },
387
+ scales: {
388
+ y: {
389
+ beginAtZero: true
390
+ }
391
+ }
392
+ }
393
+ });
394
+
395
+ // Attendance Chart
396
+ const attendanceCtx = document.getElementById('attendanceChart').getContext('2d');
397
+ const attendanceChart = new Chart(attendanceCtx, {
398
+ type: 'bar',
399
+ data: {
400
+ labels: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
401
+ datasets: [{
402
+ label: 'Attendance %',
403
+ data: [92, 88, 95, 90, 85, 70],
404
+ backgroundColor: 'rgba(99, 102, 241, 0.7)',
405
+ borderColor: 'rgba(99, 102, 241, 1)',
406
+ borderWidth: 1
407
+ }]
408
+ },
409
+ options: {
410
+ responsive: true,
411
+ plugins: {
412
+ legend: {
413
+ display: false
414
+ }
415
+ },
416
+ scales: {
417
+ y: {
418
+ beginAtZero: true,
419
+ max: 100
420
+ }
421
+ }
422
+ }
423
+ });
424
+ </script>
425
+ </body>
426
  </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ build fully school management system with fully re=ich reports
reports.html ADDED
@@ -0,0 +1,569 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Reports | EduManage</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
9
+ <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
11
+ <script src="https://unpkg.com/feather-icons"></script>
12
+ <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
13
+ <style>
14
+ .sidebar {
15
+ transition: all 0.3s ease;
16
+ }
17
+ .sidebar-mini {
18
+ width: 80px;
19
+ }
20
+ .sidebar-full {
21
+ width: 250px;
22
+ }
23
+ .main-content {
24
+ transition: all 0.3s ease;
25
+ }
26
+ .content-expanded {
27
+ margin-left: 250px;
28
+ }
29
+ .content-collapsed {
30
+ margin-left: 80px;
31
+ }
32
+ .report-card {
33
+ transition: all 0.3s ease;
34
+ }
35
+ .report-card:hover {
36
+ transform: translateY(-3px);
37
+ box-shadow: 0 10px 20px rgba(0,0,0,0.1);
38
+ }
39
+ .report-preview {
40
+ height: 500px;
41
+ }
42
+ </style>
43
+ </head>
44
+ <body class="bg-gray-50">
45
+ <div class="flex h-screen overflow-hidden">
46
+ <!-- Sidebar -->
47
+ <div id="sidebar" class="sidebar sidebar-full bg-indigo-800 text-white fixed h-full">
48
+ <div class="p-4 flex items-center justify-between border-b border-indigo-700">
49
+ <div class="flex items-center space-x-2">
50
+ <i data-feather="book-open" class="w-6 h-6"></i>
51
+ <span class="text-xl font-bold">EduManage</span>
52
+ </div>
53
+ <button id="toggleSidebar" class="text-white focus:outline-none">
54
+ <i data-feather="chevron-left" class="w-5 h-5"></i>
55
+ </button>
56
+ </div>
57
+ <div class="p-4">
58
+ <div class="flex items-center space-x-3 mb-6">
59
+ <img src="http://static.photos/people/200x200/1" alt="User" class="w-10 h-10 rounded-full">
60
+ <div>
61
+ <p class="font-medium">Admin User</p>
62
+ <p class="text-xs text-indigo-300">Super Admin</p>
63
+ </div>
64
+ </div>
65
+ <nav>
66
+ <ul class="space-y-2">
67
+ <li>
68
+ <a href="index.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
69
+ <i data-feather="home" class="w-5 h-5"></i>
70
+ <span>Dashboard</span>
71
+ </a>
72
+ </li>
73
+ <li>
74
+ <a href="students.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
75
+ <i data-feather="users" class="w-5 h-5"></i>
76
+ <span>Students</span>
77
+ </a>
78
+ </li>
79
+ <li>
80
+ <a href="teachers.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
81
+ <i data-feather="user" class="w-5 h-5"></i>
82
+ <span>Teachers</span>
83
+ </a>
84
+ </li>
85
+ <li>
86
+ <a href="classes.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
87
+ <i data-feather="book" class="w-5 h-5"></i>
88
+ <span>Classes</span>
89
+ </a>
90
+ </li>
91
+ <li>
92
+ <a href="attendance.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
93
+ <i data-feather="check-square" class="w-5 h-5"></i>
94
+ <span>Attendance</span>
95
+ </a>
96
+ </li>
97
+ <li>
98
+ <a href="grades.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
99
+ <i data-feather="award" class="w-5 h-5"></i>
100
+ <span>Grades</span>
101
+ </a>
102
+ </li>
103
+ <li>
104
+ <a href="#" class="flex items-center space-x-3 p-2 rounded bg-indigo-700">
105
+ <i data-feather="file-text" class="w-5 h-5"></i>
106
+ <span>Reports</span>
107
+ </a>
108
+ </li>
109
+ <li>
110
+ <a href="settings.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
111
+ <i data-feather="settings" class="w-5 h-5"></i>
112
+ <span>Settings</span>
113
+ </a>
114
+ </li>
115
+ </ul>
116
+ </nav>
117
+ </div>
118
+ </div>
119
+
120
+ <!-- Main Content -->
121
+ <div id="mainContent" class="main-content content-expanded flex-1 overflow-auto">
122
+ <!-- Top Navigation -->
123
+ <header class="bg-white shadow-sm">
124
+ <div class="flex items-center justify-between p-4">
125
+ <div class="flex items-center space-x-4">
126
+ <h1 class="text-2xl font-bold text-gray-800">Reports</h1>
127
+ </div>
128
+ <div class="flex items-center space-x-4">
129
+ <div class="relative">
130
+ <i data-feather="search" class="absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
131
+ <input type="text" placeholder="Search reports..." class="pl-10 pr-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-indigo-500">
132
+ </div>
133
+ <button class="p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200">
134
+ <i data-feather="bell" class="w-5 h-5"></i>
135
+ </button>
136
+ <div class="flex items-center space-x-2">
137
+ <img src="http://static.photos/people/200x200/1" alt="User" class="w-8 h-8 rounded-full">
138
+ <span class="font-medium">Admin</span>
139
+ </div>
140
+ </div>
141
+ </div>
142
+ </header>
143
+
144
+ <!-- Reports Content -->
145
+ <main class="p-6">
146
+ <!-- Report Categories -->
147
+ <div class="mb-8">
148
+ <div class="flex items-center justify-between mb-4">
149
+ <h2 class="text-xl font-semibold">Report Categories</h2>
150
+ <button class="flex items-center space-x-1 px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700">
151
+ <i data-feather="plus" class="w-4 h-4"></i>
152
+ <span>Create Custom Report</span>
153
+ </button>
154
+ </div>
155
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
156
+ <a href="#student-reports" class="report-card bg-white p-4 rounded-lg shadow-sm border border-gray-200 hover:border-indigo-500">
157
+ <div class="flex items-center space-x-3">
158
+ <div class="p-3 rounded-full bg-indigo-100 text-indigo-600">
159
+ <i data-feather="users" class="w-5 h-5"></i>
160
+ </div>
161
+ <div>
162
+ <h3 class="font-medium">Student Reports</h3>
163
+ <p class="text-sm text-gray-500">12 reports available</p>
164
+ </div>
165
+ </div>
166
+ </a>
167
+ <a href="#teacher-reports" class="report-card bg-white p-4 rounded-lg shadow-sm border border-gray-200 hover:border-blue-500">
168
+ <div class="flex items-center space-x-3">
169
+ <div class="p-3 rounded-full bg-blue-100 text-blue-600">
170
+ <i data-feather="user" class="w-5 h-5"></i>
171
+ </div>
172
+ <div>
173
+ <h3 class="font-medium">Teacher Reports</h3>
174
+ <p class="text-sm text-gray-500">8 reports available</p>
175
+ </div>
176
+ </div>
177
+ </a>
178
+ <a href="#attendance-reports" class="report-card bg-white p-4 rounded-lg shadow-sm border border-gray-200 hover:border-green-500">
179
+ <div class="flex items-center space-x-3">
180
+ <div class="p-3 rounded-full bg-green-100 text-green-600">
181
+ <i data-feather="check-square" class="w-5 h-5"></i>
182
+ </div>
183
+ <div>
184
+ <h3 class="font-medium">Attendance Reports</h3>
185
+ <p class="text-sm text-gray-500">6 reports available</p>
186
+ </div>
187
+ </div>
188
+ </a>
189
+ <a href="#financial-reports" class="report-card bg-white p-4 rounded-lg shadow-sm border border-gray-200 hover:border-purple-500">
190
+ <div class="flex items-center space-x-3">
191
+ <div class="p-3 rounded-full bg-purple-100 text-purple-600">
192
+ <i data-feather="dollar-sign" class="w-5 h-5"></i>
193
+ </div>
194
+ <div>
195
+ <h3 class="font-medium">Financial Reports</h3>
196
+ <p class="text-sm text-gray-500">5 reports available</p>
197
+ </div>
198
+ </div>
199
+ </a>
200
+ </div>
201
+ </div>
202
+
203
+ <!-- Student Reports Section -->
204
+ <div id="student-reports" class="mb-8" data-aos="fade-up">
205
+ <div class="flex items-center justify-between mb-4">
206
+ <h2 class="text-xl font-semibold">Student Reports</h2>
207
+ <div class="flex items-center space-x-2">
208
+ <div class="relative">
209
+ <select class="appearance-none bg-white border border-gray-300 rounded-lg pl-3 pr-8 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500">
210
+ <option>All Grades</option>
211
+ <option>Grade 1</option>
212
+ <option>Grade 2</option>
213
+ <option>Grade 3</option>
214
+ <option>Grade 4</option>
215
+ <option>Grade 5</option>
216
+ </select>
217
+ <i data-feather="chevron-down" class="absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-400 w-4 h-4"></i>
218
+ </div>
219
+ <button class="flex items-center space-x-1 px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700">
220
+ <i data-feather="download" class="w-4 h-4"></i>
221
+ <span>Export All</span>
222
+ </button>
223
+ </div>
224
+ </div>
225
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
226
+ <!-- Report Card 1 -->
227
+ <div class="report-card bg-white p-6 rounded-xl shadow-md border border-gray-200 hover:shadow-lg">
228
+ <div class="flex items-start justify-between mb-4">
229
+ <div class="p-3 rounded-lg bg-indigo-100 text-indigo-600">
230
+ <i data-feather="file-text" class="w-6 h-6"></i>
231
+ </div>
232
+ <button class="text-gray-400 hover:text-gray-600">
233
+ <i data-feather="more-vertical" class="w-5 h-5"></i>
234
+ </button>
235
+ </div>
236
+ <h3 class="text-lg font-semibold mb-2">Student Performance Analysis</h3>
237
+ <p class="text-gray-600 mb-4">Detailed analysis of student performance across all subjects with comparative metrics.</p>
238
+ <div class="flex items-center justify-between">
239
+ <span class="text-sm text-gray-500">Last generated: 2 days ago</span>
240
+ <div class="flex space-x-2">
241
+ <button class="p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200">
242
+ <i data-feather="eye" class="w-4 h-4"></i>
243
+ </button>
244
+ <button class="p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200">
245
+ <i data-feather="download" class="w-4 h-4"></i>
246
+ </button>
247
+ <button class="p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200">
248
+ <i data-feather="printer" class="w-4 h-4"></i>
249
+ </button>
250
+ </div>
251
+ </div>
252
+ </div>
253
+
254
+ <!-- Report Card 2 -->
255
+ <div class="report-card bg-white p-6 rounded-xl shadow-md border border-gray-200 hover:shadow-lg">
256
+ <div class="flex items-start justify-between mb-4">
257
+ <div class="p-3 rounded-lg bg-blue-100 text-blue-600">
258
+ <i data-feather="award" class="w-6 h-6"></i>
259
+ </div>
260
+ <button class="text-gray-400 hover:text-gray-600">
261
+ <i data-feather="more-vertical" class="w-5 h-5"></i>
262
+ </button>
263
+ </div>
264
+ <h3 class="text-lg font-semibold mb-2">Top Performing Students</h3>
265
+ <p class="text-gray-600 mb-4">List of top performing students with their achievements and performance metrics.</p>
266
+ <div class="flex items-center justify-between">
267
+ <span class="text-sm text-gray-500">Last generated: 1 week ago</span>
268
+ <div class="flex space-x-2">
269
+ <button class="p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200">
270
+ <i data-feather="eye" class="w-4 h-4"></i>
271
+ </button>
272
+ <button class="p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200">
273
+ <i data-feather="download" class="w-4 h-4"></i>
274
+ </button>
275
+ <button class="p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200">
276
+ <i data-feather="printer" class="w-4 h-4"></i>
277
+ </button>
278
+ </div>
279
+ </div>
280
+ </div>
281
+
282
+ <!-- Report Card 3 -->
283
+ <div class="report-card bg-white p-6 rounded-xl shadow-md border border-gray-200 hover:shadow-lg">
284
+ <div class="flex items-start justify-between mb-4">
285
+ <div class="p-3 rounded-lg bg-green-100 text-green-600">
286
+ <i data-feather="trending-up" class="w-6 h-6"></i>
287
+ </div>
288
+ <button class="text-gray-400 hover:text-gray-600">
289
+ <i data-feather="more-vertical" class="w-5 h-5"></i>
290
+ </button>
291
+ </div>
292
+ <h3 class="text-lg font-semibold mb-2">Progress Over Time</h3>
293
+ <p class="text-gray-600 mb-4">Track student progress over semesters with visual charts and improvement metrics.</p>
294
+ <div class="flex items-center justify-between">
295
+ <span class="text-sm text-gray-500">Last generated: 3 days ago</span>
296
+ <div class="flex space-x-2">
297
+ <button class="p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200">
298
+ <i data-feather="eye" class="w-4 h-4"></i>
299
+ </button>
300
+ <button class="p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200">
301
+ <i data-feather="download" class="w-4 h-4"></i>
302
+ </button>
303
+ <button class="p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200">
304
+ <i data-feather="printer" class="w-4 h-4"></i>
305
+ </button>
306
+ </div>
307
+ </div>
308
+ </div>
309
+ </div>
310
+ </div>
311
+
312
+ <!-- Report Preview Section -->
313
+ <div class="bg-white p-6 rounded-xl shadow-md mb-8" data-aos="fade-up">
314
+ <div class="flex items-center justify-between mb-6">
315
+ <h2 class="text-xl font-semibold">Report Preview</h2>
316
+ <div class="flex space-x-3">
317
+ <button class="flex items-center space-x-1 px-4 py-2 bg-gray-100 text-gray-700 rounded-lg hover:bg-gray-200">
318
+ <i data-feather="refresh-cw" class="w-4 h-4"></i>
319
+ <span>Refresh Data</span>
320
+ </button>
321
+ <button class="flex items-center space-x-1 px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700">
322
+ <i data-feather="download" class="w-4 h-4"></i>
323
+ <span>Export Report</span>
324
+ </button>
325
+ </div>
326
+ </div>
327
+ <div class="report-preview border rounded-lg p-4 bg-gray-50 overflow-auto">
328
+ <!-- Sample Report Content -->
329
+ <div class="max-w-5xl mx-auto bg-white p-6 shadow-sm">
330
+ <div class="text-center mb-8">
331
+ <h1 class="text-2xl font-bold text-indigo-800">Student Performance Report</h1>
332
+ <p class="text-gray-600">Academic Year 2023-2024 | Generated on: June 15, 2023</p>
333
+ </div>
334
+
335
+ <div class="mb-8">
336
+ <h2 class="text-xl font-semibold border-b pb-2 mb-4">Executive Summary</h2>
337
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-6">
338
+ <div class="bg-indigo-50 p-4 rounded-lg">
339
+ <p class="text-sm text-indigo-600 font-medium">Total Students</p>
340
+ <p class="text-2xl font-bold">1,245</p>
341
+ </div>
342
+ <div class="bg-green-50 p-4 rounded-lg">
343
+ <p class="text-sm text-green-600 font-medium">Average GPA</p>
344
+ <p class="text-2xl font-bold">3.42</p>
345
+ </div>
346
+ <div class="bg-blue-50 p-4 rounded-lg">
347
+ <p class="text-sm text-blue-600 font-medium">Top Performing Class</p>
348
+ <p class="text-2xl font-bold">Grade 11 - Science</p>
349
+ </div>
350
+ </div>
351
+ <p class="text-gray-700">
352
+ This report provides a comprehensive analysis of student performance across all grades and subjects.
353
+ The data shows an overall improvement of 8% compared to the previous academic year, with particular
354
+ strength in mathematics and science subjects. Areas requiring attention include language arts performance
355
+ in middle school grades.
356
+ </p>
357
+ </div>
358
+
359
+ <div class="mb-8">
360
+ <h2 class="text-xl font-semibold border-b pb-2 mb-4">Performance by Grade Level</h2>
361
+ <div class="overflow-x-auto">
362
+ <table class="min-w-full divide-y divide-gray-200">
363
+ <thead class="bg-gray-50">
364
+ <tr>
365
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Grade</th>
366
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Average GPA</th>
367
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Top Subject</th>
368
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Lowest Subject</th>
369
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">% Improvement</th>
370
+ </tr>
371
+ </thead>
372
+ <tbody class="bg-white divide-y divide-gray-200">
373
+ <tr>
374
+ <td class="px-6 py-4 whitespace-nowrap">Grade 9</td>
375
+ <td class="px-6 py-4 whitespace-nowrap">3.28</td>
376
+ <td class="px-6 py-4 whitespace-nowrap">Mathematics</td>
377
+ <td class="px-6 py-4 whitespace-nowrap">Language Arts</td>
378
+ <td class="px-6 py-4 whitespace-nowrap text-green-600">+5%</td>
379
+ </tr>
380
+ <tr>
381
+ <td class="px-6 py-4 whitespace-nowrap">Grade 10</td>
382
+ <td class="px-6 py-4 whitespace-nowrap">3.35</td>
383
+ <td class="px-6 py-4 whitespace-nowrap">Science</td>
384
+ <td class="px-6 py-4 whitespace-nowrap">History</td>
385
+ <td class="px-6 py-4 whitespace-nowrap text-green-600">+7%</td>
386
+ </tr>
387
+ <tr>
388
+ <td class="px-6 py-4 whitespace-nowrap">Grade 11</td>
389
+ <td class="px-6 py-4 whitespace-nowrap">3.52</td>
390
+ <td class="px-6 py-4 whitespace-nowrap">Physics</td>
391
+ <td class="px-6 py-4 whitespace-nowrap">Literature</td>
392
+ <td class="px-6 py-4 whitespace-nowrap text-green-600">+9%</td>
393
+ </tr>
394
+ <tr>
395
+ <td class="px-6 py-4 whitespace-nowrap">Grade 12</td>
396
+ <td class="px-6 py-4 whitespace-nowrap">3.56</td>
397
+ <td class="px-6 py-4 whitespace-nowrap">Calculus</td>
398
+ <td class="px-6 py-4 whitespace-nowrap">Economics</td>
399
+ <td class="px-6 py-4 whitespace-nowrap text-green-600">+12%</td>
400
+ </tr>
401
+ </tbody>
402
+ </table>
403
+ </div>
404
+ </div>
405
+
406
+ <div class="mb-8">
407
+ <h2 class="text-xl font-semibold border-b pb-2 mb-4">Performance Trends</h2>
408
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
409
+ <div>
410
+ <h3 class="text-lg font-medium mb-2">GPA Trend by Grade</h3>
411
+ <canvas id="gradeTrendChart" height="200"></canvas>
412
+ </div>
413
+ <div>
414
+ <h3 class="text-lg font-medium mb-2">Subject Performance</h3>
415
+ <canvas id="subjectPerformanceChart" height="200"></canvas>
416
+ </div>
417
+ </div>
418
+ </div>
419
+
420
+ <div>
421
+ <h2 class="text-xl font-semibold border-b pb-2 mb-4">Recommendations</h2>
422
+ <ul class="list-disc pl-5 space-y-2 text-gray-700">
423
+ <li>Implement additional support programs for Language Arts in Grades 9-10</li>
424
+ <li>Recognize and reward top performing teachers in Science and Mathematics</li>
425
+ <li>Provide targeted interventions for students with GPA below 2.5</li>
426
+ <li>Expand advanced placement opportunities for high performing students</li>
427
+ <li>Conduct professional development for teachers in areas with lower performance</li>
428
+ </ul>
429
+ </div>
430
+ </div>
431
+ </div>
432
+ </div>
433
+ </main>
434
+ </div>
435
+ </div>
436
+
437
+ <script>
438
+ // Initialize AOS
439
+ AOS.init();
440
+
441
+ // Initialize Feather Icons
442
+ feather.replace();
443
+
444
+ // Toggle Sidebar
445
+ const sidebar = document.getElementById('sidebar');
446
+ const mainContent = document.getElementById('mainContent');
447
+ const toggleSidebar = document.getElementById('toggleSidebar');
448
+
449
+ toggleSidebar.addEventListener('click', () => {
450
+ sidebar.classList.toggle('sidebar-mini');
451
+ sidebar.classList.toggle('sidebar-full');
452
+ mainContent.classList.toggle('content-collapsed');
453
+ mainContent.classList.toggle('content-expanded');
454
+
455
+ // Change the icon based on sidebar state
456
+ const icon = toggleSidebar.querySelector('i');
457
+ if (sidebar.classList.contains('sidebar-mini')) {
458
+ feather.replace();
459
+ icon.setAttribute('data-feather', 'chevron-right');
460
+ } else {
461
+ feather.replace();
462
+ icon.setAttribute('data-feather', 'chevron-left');
463
+ }
464
+ feather.replace();
465
+ });
466
+
467
+ // Report Charts
468
+ // Grade Trend Chart
469
+ const gradeTrendCtx = document.getElementById('gradeTrendChart').getContext('2d');
470
+ const gradeTrendChart = new Chart(gradeTrendCtx, {
471
+ type: 'line',
472
+ data: {
473
+ labels: ['2019', '2020', '2021', '2022', '2023'],
474
+ datasets: [
475
+ {
476
+ label: 'Grade 9',
477
+ data: [3.1, 3.15, 3.2, 3.25, 3.28],
478
+ borderColor: 'rgba(79, 70, 229, 1)',
479
+ backgroundColor: 'rgba(79, 70, 229, 0.1)',
480
+ tension: 0.3,
481
+ fill: true
482
+ },
483
+ {
484
+ label: 'Grade 10',
485
+ data: [3.2, 3.22, 3.28, 3.3, 3.35],
486
+ borderColor: 'rgba(99, 102, 241, 1)',
487
+ backgroundColor: 'rgba(99, 102, 241, 0.1)',
488
+ tension: 0.3,
489
+ fill: true
490
+ },
491
+ {
492
+ label: 'Grade 11',
493
+ data: [3.3, 3.35, 3.4, 3.45, 3.52],
494
+ borderColor: 'rgba(129, 140, 248, 1)',
495
+ backgroundColor: 'rgba(129, 140, 248, 0.1)',
496
+ tension: 0.3,
497
+ fill: true
498
+ },
499
+ {
500
+ label: 'Grade 12',
501
+ data: [3.35, 3.4, 3.45, 3.5, 3.56],
502
+ borderColor: 'rgba(165, 180, 252, 1)',
503
+ backgroundColor: 'rgba(165, 180, 252, 0.1)',
504
+ tension: 0.3,
505
+ fill: true
506
+ }
507
+ ]
508
+ },
509
+ options: {
510
+ responsive: true,
511
+ plugins: {
512
+ legend: {
513
+ position: 'top',
514
+ }
515
+ },
516
+ scales: {
517
+ y: {
518
+ beginAtZero: false,
519
+ min: 3,
520
+ max: 4
521
+ }
522
+ }
523
+ }
524
+ });
525
+
526
+ // Subject Performance Chart
527
+ const subjectPerformanceCtx = document.getElementById('subjectPerformanceChart').getContext('2d');
528
+ const subjectPerformanceChart = new Chart(subjectPerformanceCtx, {
529
+ type: 'bar',
530
+ data: {
531
+ labels: ['Mathematics', 'Science', 'Language Arts', 'History', 'Arts'],
532
+ datasets: [{
533
+ label: 'Average Score',
534
+ data: [85, 82, 76, 79, 81],
535
+ backgroundColor: [
536
+ 'rgba(79, 70, 229, 0.7)',
537
+ 'rgba(99, 102, 241, 0.7)',
538
+ 'rgba(129, 140, 248, 0.7)',
539
+ 'rgba(165, 180, 252, 0.7)',
540
+ 'rgba(196, 181, 253, 0.7)'
541
+ ],
542
+ borderColor: [
543
+ 'rgba(79, 70, 229, 1)',
544
+ 'rgba(99, 102, 241, 1)',
545
+ 'rgba(129, 140, 248, 1)',
546
+ 'rgba(165, 180, 252, 1)',
547
+ 'rgba(196, 181, 253, 1)'
548
+ ],
549
+ borderWidth: 1
550
+ }]
551
+ },
552
+ options: {
553
+ responsive: true,
554
+ plugins: {
555
+ legend: {
556
+ display: false
557
+ }
558
+ },
559
+ scales: {
560
+ y: {
561
+ beginAtZero: true,
562
+ max: 100
563
+ }
564
+ }
565
+ }
566
+ });
567
+ </script>
568
+ </body>
569
+ </html>
students.html ADDED
@@ -0,0 +1,384 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Students | EduManage</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
9
+ <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
11
+ <script src="https://unpkg.com/feather-icons"></script>
12
+ <style>
13
+ .sidebar {
14
+ transition: all 0.3s ease;
15
+ }
16
+ .sidebar-mini {
17
+ width: 80px;
18
+ }
19
+ .sidebar-full {
20
+ width: 250px;
21
+ }
22
+ .main-content {
23
+ transition: all 0.3s ease;
24
+ }
25
+ .content-expanded {
26
+ margin-left: 250px;
27
+ }
28
+ .content-collapsed {
29
+ margin-left: 80px;
30
+ }
31
+ .student-card:hover {
32
+ transform: translateY(-3px);
33
+ box-shadow: 0 10px 20px rgba(0,0,0,0.1);
34
+ }
35
+ .avatar {
36
+ transition: all 0.3s ease;
37
+ }
38
+ .student-card:hover .avatar {
39
+ transform: scale(1.05);
40
+ }
41
+ </style>
42
+ </head>
43
+ <body class="bg-gray-50">
44
+ <div class="flex h-screen overflow-hidden">
45
+ <!-- Sidebar -->
46
+ <div id="sidebar" class="sidebar sidebar-full bg-indigo-800 text-white fixed h-full">
47
+ <div class="p-4 flex items-center justify-between border-b border-indigo-700">
48
+ <div class="flex items-center space-x-2">
49
+ <i data-feather="book-open" class="w-6 h-6"></i>
50
+ <span class="text-xl font-bold">EduManage</span>
51
+ </div>
52
+ <button id="toggleSidebar" class="text-white focus:outline-none">
53
+ <i data-feather="chevron-left" class="w-5 h-5"></i>
54
+ </button>
55
+ </div>
56
+ <div class="p-4">
57
+ <div class="flex items-center space-x-3 mb-6">
58
+ <img src="http://static.photos/people/200x200/1" alt="User" class="w-10 h-10 rounded-full">
59
+ <div>
60
+ <p class="font-medium">Admin User</p>
61
+ <p class="text-xs text-indigo-300">Super Admin</p>
62
+ </div>
63
+ </div>
64
+ <nav>
65
+ <ul class="space-y-2">
66
+ <li>
67
+ <a href="index.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
68
+ <i data-feather="home" class="w-5 h-5"></i>
69
+ <span>Dashboard</span>
70
+ </a>
71
+ </li>
72
+ <li>
73
+ <a href="#" class="flex items-center space-x-3 p-2 rounded bg-indigo-700">
74
+ <i data-feather="users" class="w-5 h-5"></i>
75
+ <span>Students</span>
76
+ </a>
77
+ </li>
78
+ <li>
79
+ <a href="teachers.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
80
+ <i data-feather="user" class="w-5 h-5"></i>
81
+ <span>Teachers</span>
82
+ </a>
83
+ </li>
84
+ <li>
85
+ <a href="classes.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
86
+ <i data-feather="book" class="w-5 h-5"></i>
87
+ <span>Classes</span>
88
+ </a>
89
+ </li>
90
+ <li>
91
+ <a href="attendance.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
92
+ <i data-feather="check-square" class="w-5 h-5"></i>
93
+ <span>Attendance</span>
94
+ </a>
95
+ </li>
96
+ <li>
97
+ <a href="grades.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
98
+ <i data-feather="award" class="w-5 h-5"></i>
99
+ <span>Grades</span>
100
+ </a>
101
+ </li>
102
+ <li>
103
+ <a href="reports.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
104
+ <i data-feather="file-text" class="w-5 h-5"></i>
105
+ <span>Reports</span>
106
+ </a>
107
+ </li>
108
+ <li>
109
+ <a href="settings.html" class="flex items-center space-x-3 p-2 rounded hover:bg-indigo-700">
110
+ <i data-feather="settings" class="w-5 h-5"></i>
111
+ <span>Settings</span>
112
+ </a>
113
+ </li>
114
+ </ul>
115
+ </nav>
116
+ </div>
117
+ </div>
118
+
119
+ <!-- Main Content -->
120
+ <div id="mainContent" class="main-content content-expanded flex-1 overflow-auto">
121
+ <!-- Top Navigation -->
122
+ <header class="bg-white shadow-sm">
123
+ <div class="flex items-center justify-between p-4">
124
+ <div class="flex items-center space-x-4">
125
+ <h1 class="text-2xl font-bold text-gray-800">Students</h1>
126
+ </div>
127
+ <div class="flex items-center space-x-4">
128
+ <div class="relative">
129
+ <i data-feather="search" class="absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
130
+ <input type="text" placeholder="Search students..." class="pl-10 pr-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-indigo-500">
131
+ </div>
132
+ <button class="p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200">
133
+ <i data-feather="bell" class="w-5 h-5"></i>
134
+ </button>
135
+ <div class="flex items-center space-x-2">
136
+ <img src="http://static.photos/people/200x200/1" alt="User" class="w-8 h-8 rounded-full">
137
+ <span class="font-medium">Admin</span>
138
+ </div>
139
+ </div>
140
+ </div>
141
+ </header>
142
+
143
+ <!-- Students Content -->
144
+ <main class="p-6">
145
+ <!-- Student Management Header -->
146
+ <div class="flex flex-col md:flex-row items-start md:items-center justify-between mb-6">
147
+ <div>
148
+ <h2 class="text-xl font-semibold">Student Management</h2>
149
+ <p class="text-gray-600">Manage all student records, profiles, and information</p>
150
+ </div>
151
+ <div class="flex space-x-3 mt-4 md:mt-0">
152
+ <div class="relative">
153
+ <select class="appearance-none bg-white border border-gray-300 rounded-lg pl-3 pr-8 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500">
154
+ <option>All Grades</option>
155
+ <option>Grade 1</option>
156
+ <option>Grade 2</option>
157
+ <option>Grade 3</option>
158
+ <option>Grade 4</option>
159
+ <option>Grade 5</option>
160
+ </select>
161
+ <i data-feather="chevron-down" class="absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-400 w-4 h-4"></i>
162
+ </div>
163
+ <button class="flex items-center space-x-1 px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700">
164
+ <i data-feather="plus" class="w-4 h-4"></i>
165
+ <span>Add Student</span>
166
+ </button>
167
+ </div>
168
+ </div>
169
+
170
+ <!-- Student Stats -->
171
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-4 mb-6">
172
+ <div class="bg-white p-4 rounded-lg shadow-sm border border-gray-200">
173
+ <div class="flex items-center justify-between">
174
+ <div>
175
+ <p class="text-sm text-gray-500">Total Students</p>
176
+ <h3 class="text-2xl font-bold">1,245</h3>
177
+ </div>
178
+ <div class="p-3 rounded-full bg-indigo-100 text-indigo-600">
179
+ <i data-feather="users" class="w-5 h-5"></i>
180
+ </div>
181
+ </div>
182
+ </div>
183
+ <div class="bg-white p-4 rounded-lg shadow-sm border border-gray-200">
184
+ <div class="flex items-center justify-between">
185
+ <div>
186
+ <p class="text-sm text-gray-500">New This Month</p>
187
+ <h3 class="text-2xl font-bold">42</h3>
188
+ </div>
189
+ <div class="p-3 rounded-full bg-green-100 text-green-600">
190
+ <i data-feather="user-plus" class="w-5 h-5"></i>
191
+ </div>
192
+ </div>
193
+ </div>
194
+ <div class="bg-white p-4 rounded-lg shadow-sm border border-gray-200">
195
+ <div class="flex items-center justify-between">
196
+ <div>
197
+ <p class="text-sm text-gray-500">Active Students</p>
198
+ <h3 class="text-2xl font-bold">1,198</h3>
199
+ </div>
200
+ <div class="p-3 rounded-full bg-blue-100 text-blue-600">
201
+ <i data-feather="user-check" class="w-5 h-5"></i>
202
+ </div>
203
+ </div>
204
+ </div>
205
+ <div class="bg-white p-4 rounded-lg shadow-sm border border-gray-200">
206
+ <div class="flex items-center justify-between">
207
+ <div>
208
+ <p class="text-sm text-gray-500">Inactive Students</p>
209
+ <h3 class="text-2xl font-bold">47</h3>
210
+ </div>
211
+ <div class="p-3 rounded-full bg-yellow-100 text-yellow-600">
212
+ <i data-feather="user-x" class="w-5 h-5"></i>
213
+ </div>
214
+ </div>
215
+ </div>
216
+ </div>
217
+
218
+ <!-- Student List -->
219
+ <div class="bg-white rounded-xl shadow-md overflow-hidden">
220
+ <!-- Student List Header -->
221
+ <div class="px-6 py-4 border-b border-gray-200 flex flex-col md:flex-row items-start md:items-center justify-between">
222
+ <div class="mb-3 md:mb-0">
223
+ <h3 class="text-lg font-semibold">All Students</h3>
224
+ <p class="text-sm text-gray-500">Showing 1 to 10 of 1,245 students</p>
225
+ </div>
226
+ <div class="flex items-center space-x-3">
227
+ <div class="relative">
228
+ <select class="appearance-none bg-white border border-gray-300 rounded-lg pl-3 pr-8 py-2 focus:outline-none focus:ring-2 focus:ring-indigo-500">
229
+ <option>Sort by: Newest</option>
230
+ <option>Sort by: Oldest</option>
231
+ <option>Sort by: Name</option>
232
+ <option>Sort by: Grade</option>
233
+ </select>
234
+ <i data-feather="chevron-down" class="absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-400 w-4 h-4"></i>
235
+ </div>
236
+ <button class="p-2 rounded-lg bg-gray-100 text-gray-600 hover:bg-gray-200">
237
+ <i data-feather="filter" class="w-5 h-5"></i>
238
+ </button>
239
+ </div>
240
+ </div>
241
+
242
+ <!-- Student Table -->
243
+ <div class="overflow-x-auto">
244
+ <table class="min-w-full divide-y divide-gray-200">
245
+ <thead class="bg-gray-50">
246
+ <tr>
247
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Student</th>
248
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">ID</th>
249
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Grade</th>
250
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
251
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">GPA</th>
252
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
253
+ </tr>
254
+ </thead>
255
+ <tbody class="bg-white divide-y divide-gray-200">
256
+ <tr class="hover:bg-gray-50">
257
+ <td class="px-6 py-4 whitespace-nowrap">
258
+ <div class="flex items-center">
259
+ <div class="flex-shrink-0 h-10 w-10">
260
+ <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/101" alt="">
261
+ </div>
262
+ <div class="ml-4">
263
+ <div class="text-sm font-medium text-gray-900">Emily Johnson</div>
264
+ <div class="text-sm text-gray-500">emily.j@example.com</div>
265
+ </div>
266
+ </div>
267
+ </td>
268
+ <td class="px-6 py-4 whitespace-nowrap">
269
+ <div class="text-sm text-gray-900">#STD2023001</div>
270
+ </td>
271
+ <td class="px-6 py-4 whitespace-nowrap">
272
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-indigo-100 text-indigo-800">Grade 12</span>
273
+ </td>
274
+ <td class="px-6 py-4 whitespace-nowrap">
275
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Active</span>
276
+ </td>
277
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
278
+ <div class="flex items-center">
279
+ <span class="font-medium">3.8</span>
280
+ <i data-feather="trending-up" class="w-4 h-4 ml-1 text-green-500"></i>
281
+ </div>
282
+ </td>
283
+ <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
284
+ <div class="flex space-x-2">
285
+ <button class="text-indigo-600 hover:text-indigo-900">
286
+ <i data-feather="eye" class="w-4 h-4"></i>
287
+ </button>
288
+ <button class="text-blue-600 hover:text-blue-900">
289
+ <i data-feather="edit" class="w-4 h-4"></i>
290
+ </button>
291
+ <button class="text-red-600 hover:text-red-900">
292
+ <i data-feather="trash-2" class="w-4 h-4"></i>
293
+ </button>
294
+ </div>
295
+ </td>
296
+ </tr>
297
+ <tr class="hover:bg-gray-50">
298
+ <td class="px-6 py-4 whitespace-nowrap">
299
+ <div class="flex items-center">
300
+ <div class="flex-shrink-0 h-10 w-10">
301
+ <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/102" alt="">
302
+ </div>
303
+ <div class="ml-4">
304
+ <div class="text-sm font-medium text-gray-900">Michael Smith</div>
305
+ <div class="text-sm text-gray-500">michael.s@example.com</div>
306
+ </div>
307
+ </div>
308
+ </td>
309
+ <td class="px-6 py-4 whitespace-nowrap">
310
+ <div class="text-sm text-gray-900">#STD2023002</div>
311
+ </td>
312
+ <td class="px-6 py-4 whitespace-nowrap">
313
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Grade 11</span>
314
+ </td>
315
+ <td class="px-6 py-4 whitespace-nowrap">
316
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Active</span>
317
+ </td>
318
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
319
+ <div class="flex items-center">
320
+ <span class="font-medium">3.5</span>
321
+ <i data-feather="trending-up" class="w-4 h-4 ml-1 text-green-500"></i>
322
+ </div>
323
+ </td>
324
+ <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
325
+ <div class="flex space-x-2">
326
+ <button class="text-indigo-600 hover:text-indigo-900">
327
+ <i data-feather="eye" class="w-4 h-4"></i>
328
+ </button>
329
+ <button class="text-blue-600 hover:text-blue-900">
330
+ <i data-feather="edit" class="w-4 h-4"></i>
331
+ </button>
332
+ <button class="text-red-600 hover:text-red-900">
333
+ <i data-feather="trash-2" class="w-4 h-4"></i>
334
+ </button>
335
+ </div>
336
+ </td>
337
+ </tr>
338
+ <tr class="hover:bg-gray-50">
339
+ <td class="px-6 py-4 whitespace-nowrap">
340
+ <div class="flex items-center">
341
+ <div class="flex-shrink-0 h-10 w-10">
342
+ <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/103" alt="">
343
+ </div>
344
+ <div class="ml-4">
345
+ <div class="text-sm font-medium text-gray-900">Sarah Williams</div>
346
+ <div class="text-sm text-gray-500">sarah.w@example.com</div>
347
+ </div>
348
+ </div>
349
+ </td>
350
+ <td class="px-6 py-4 whitespace-nowrap">
351
+ <div class="text-sm text-gray-900">#STD2023003</div>
352
+ </td>
353
+ <td class="px-6 py-4 whitespace-nowrap">
354
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Grade 10</span>
355
+ </td>
356
+ <td class="px-6 py-4 whitespace-nowrap">
357
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Active</span>
358
+ </td>
359
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
360
+ <div class="flex items-center">
361
+ <span class="font-medium">3.9</span>
362
+ <i data-feather="trending-up" class="w-4 h-4 ml-1 text-green-500"></i>
363
+ </div>
364
+ </td>
365
+ <td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium">
366
+ <div class="flex space-x-2">
367
+ <button class="text-indigo-600 hover:text-indigo-900">
368
+ <i data-feather="eye" class="w-4 h-4"></i>
369
+ </button>
370
+ <button class="text-blue-600 hover:text-blue-900">
371
+ <i data-feather="edit" class="w-4 h-4"></i>
372
+ </button>
373
+ <button class="text-red-600 hover:text-red-900">
374
+ <i data-feather="trash-2" class="w-4 h-4"></i>
375
+ </button>
376
+ </div>
377
+ </td>
378
+ </tr>
379
+ <tr class="hover:bg-gray-50">
380
+ <td class="px-6 py-4 whitespace-nowrap">
381
+ <div class="flex items-center">
382
+ <div class="flex-shrink-0
383
+ </body>
384
+ </html>