-
Notifications
You must be signed in to change notification settings - Fork 244
Expand file tree
/
Copy pathindex-2.html
More file actions
474 lines (455 loc) · 28.2 KB
/
index-2.html
File metadata and controls
474 lines (455 loc) · 28.2 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
{{> head}}
<style>
/* Critical CSS for immediate render */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #f5f7fa; }
.sidebar { position: fixed; left: 0; top: 0; width: 260px; height: 100vh; background: #1f2937; z-index: 1040; }
.main-wrapper { margin-left: 260px; min-height: 100vh; transition: margin-left 0.3s ease; }
.top-navbar { background: white; height: 60px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); padding: 0 1rem; }
.dashboard-content { padding: 24px; }
</style>
{{> sidebar}}
<!-- Main Content Wrapper -->
<div class="main-wrapper" id="mainWrapper">
{{> header}}
<!-- Main Content -->
<main class="dashboard-content" id="main-content">
<div class="container-fluid">
<!-- Page Header -->
<div class="mb-4">
<div class="d-flex justify-content-between align-items-center">
<div>
<h1 class="h3 font-bold">Academic Management Dashboard</h1>
<p class="text-muted text-sm">Comprehensive overview of courses, student progress, and academic performance metrics.</p>
</div>
<div class="d-flex gap-2">
<button class="btn btn-outline-secondary">
<i class="bi bi-calendar-week me-2"></i>Academic Calendar
</button>
<button class="btn btn-success">
<i class="bi bi-plus-circle me-2"></i>New Semester
</button>
</div>
</div>
</div>
<!-- Academic Overview Cards -->
<div class="dashboard-row">
<div class="dashboard-grid grid-cols-4">
<div class="dashboard-card">
<div class="dashboard-card-body text-center">
<div class="mb-3">
<div class="stat-icon-large bg-success bg-opacity-10 rounded-circle d-flex align-items-center justify-content-center mx-auto" style="width: 60px; height: 60px;">
<i class="bi bi-book-half" style="font-size: 24px; color: #198754;"></i>
</div>
</div>
<div class="stat-value text-success fw-bold mb-1" style="font-size: 2rem;">142</div>
<div class="stat-label text-muted mb-2">Active Courses</div>
<div class="stat-change text-success small fw-semibold">
<i class="bi bi-arrow-up" style="font-size: 12px;"></i> +8
</div>
<div class="text-muted" style="font-size: 0.75rem;">new this semester</div>
</div>
</div>
<div class="dashboard-card">
<div class="dashboard-card-body text-center">
<div class="mb-3">
<div class="stat-icon-large bg-primary bg-opacity-10 rounded-circle d-flex align-items-center justify-content-center mx-auto" style="width: 60px; height: 60px;">
<i class="bi bi-people-fill" style="font-size: 24px; color: #0d6efd;"></i>
</div>
</div>
<div class="stat-value text-primary fw-bold mb-1" style="font-size: 2rem;">9,284</div>
<div class="stat-label text-muted mb-2">Enrolled Students</div>
<div class="stat-change text-success small fw-semibold">
<i class="bi bi-arrow-up" style="font-size: 12px;"></i> +412
</div>
<div class="text-muted" style="font-size: 0.75rem;">since last month</div>
</div>
</div>
<div class="dashboard-card">
<div class="dashboard-card-body text-center">
<div class="mb-3">
<div class="stat-icon-large bg-warning bg-opacity-10 rounded-circle d-flex align-items-center justify-content-center mx-auto" style="width: 60px; height: 60px;">
<i class="bi bi-person-badge" style="font-size: 24px; color: #ffc107;"></i>
</div>
</div>
<div class="stat-value text-warning fw-bold mb-1" style="font-size: 2rem;">68</div>
<div class="stat-label text-muted mb-2">Faculty Members</div>
<div class="stat-change text-success small fw-semibold">
<i class="bi bi-arrow-up" style="font-size: 12px;"></i> +3
</div>
<div class="text-muted" style="font-size: 0.75rem;">new hires</div>
</div>
</div>
<div class="dashboard-card">
<div class="dashboard-card-body text-center">
<div class="mb-3">
<div class="stat-icon-large bg-info bg-opacity-10 rounded-circle d-flex align-items-center justify-content-center mx-auto" style="width: 60px; height: 60px;">
<i class="bi bi-award" style="font-size: 24px; color: #0dcaf0;"></i>
</div>
</div>
<div class="stat-value text-info fw-bold mb-1" style="font-size: 2rem;">4.7</div>
<div class="stat-label text-muted mb-2">Course Rating</div>
<div class="stat-change text-success small fw-semibold">
<i class="bi bi-arrow-up" style="font-size: 12px;"></i> +0.3
</div>
<div class="text-muted" style="font-size: 0.75rem;">average improvement</div>
</div>
</div>
</div>
</div>
<!-- Course Performance and Student Progress -->
<div class="dashboard-row">
<div class="dashboard-grid grid-cols-2">
<div class="dashboard-card">
<div class="dashboard-card-header d-flex justify-content-between align-items-center">
<h5 class="dashboard-card-title mb-0">Course Performance</h5>
<div class="dropdown">
<button class="btn btn-sm btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown">
Current Semester
</button>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#">Current Semester</a></li>
<li><a class="dropdown-item" href="#">Last Semester</a></li>
<li><a class="dropdown-item" href="#">Academic Year</a></li>
</ul>
</div>
</div>
<div class="dashboard-card-body">
<div class="chart-container">
<canvas id="coursePerformanceChart" width="400" height="200"></canvas>
</div>
</div>
</div>
<div class="dashboard-card">
<div class="dashboard-card-header d-flex justify-content-between align-items-center">
<h5 class="dashboard-card-title mb-0">Student Progress</h5>
<div class="dropdown">
<button class="btn btn-sm btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown">
All Departments
</button>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#">All Departments</a></li>
<li><a class="dropdown-item" href="#">Computer Science</a></li>
<li><a class="dropdown-item" href="#">Mathematics</a></li>
<li><a class="dropdown-item" href="#">Biology</a></li>
</ul>
</div>
</div>
<div class="dashboard-card-body">
<div class="chart-container">
<canvas id="studentProgressChart" width="400" height="200"></canvas>
</div>
</div>
</div>
</div>
</div>
<!-- Academic Insights -->
<div class="dashboard-row">
<div class="dashboard-grid grid-cols-3">
<div class="dashboard-card">
<div class="dashboard-card-header">
<h6 class="dashboard-card-title">Department Overview</h6>
</div>
<div class="dashboard-card-body">
<div class="mb-3">
<div class="d-flex justify-content-between align-items-center mb-2">
<div class="d-flex align-items-center">
<div class="bg-primary bg-opacity-10 rounded me-2" style="width: 8px; height: 8px;"></div>
<span class="small">Computer Science</span>
</div>
<strong>34 courses</strong>
</div>
<div class="progress progress-sm">
<div class="progress-bar bg-primary" style="width: 45%"></div>
</div>
</div>
<div class="mb-3">
<div class="d-flex justify-content-between align-items-center mb-2">
<div class="d-flex align-items-center">
<div class="bg-success bg-opacity-10 rounded me-2" style="width: 8px; height: 8px;"></div>
<span class="small">Mathematics</span>
</div>
<strong>28 courses</strong>
</div>
<div class="progress progress-sm">
<div class="progress-bar bg-success" style="width: 37%"></div>
</div>
</div>
<div class="mb-3">
<div class="d-flex justify-content-between align-items-center mb-2">
<div class="d-flex align-items-center">
<div class="bg-info bg-opacity-10 rounded me-2" style="width: 8px; height: 8px;"></div>
<span class="small">Biology</span>
</div>
<strong>22 courses</strong>
</div>
<div class="progress progress-sm">
<div class="progress-bar bg-info" style="width: 29%"></div>
</div>
</div>
<div class="small text-muted">
<strong>Total:</strong> 84 courses across 12 departments
</div>
</div>
</div>
<div class="dashboard-card">
<div class="dashboard-card-header">
<h6 class="dashboard-card-title">Academic Calendar</h6>
</div>
<div class="dashboard-card-body">
<div class="mb-3">
<div class="d-flex align-items-start">
<div class="bg-warning bg-opacity-10 text-warning rounded-circle d-flex align-items-center justify-content-center me-3" style="width: 32px; height: 32px; flex-shrink: 0;">
<i class="bi bi-calendar-event" style="font-size: 14px;"></i>
</div>
<div>
<h6 class="mb-1">Spring Registration</h6>
<small class="text-muted">Opens February 1st</small>
<div class="small text-warning fw-semibold">In 2 weeks</div>
</div>
</div>
</div>
<div class="mb-3">
<div class="d-flex align-items-start">
<div class="bg-primary bg-opacity-10 text-primary rounded-circle d-flex align-items-center justify-content-center me-3" style="width: 32px; height: 32px; flex-shrink: 0;">
<i class="bi bi-mortarboard" style="font-size: 14px;"></i>
</div>
<div>
<h6 class="mb-1">Midterm Exams</h6>
<small class="text-muted">March 15-22, 2025</small>
<div class="small text-primary fw-semibold">In 8 weeks</div>
</div>
</div>
</div>
<div class="mb-3">
<div class="d-flex align-items-start">
<div class="bg-success bg-opacity-10 text-success rounded-circle d-flex align-items-center justify-content-center me-3" style="width: 32px; height: 32px; flex-shrink: 0;">
<i class="bi bi-trophy" style="font-size: 14px;"></i>
</div>
<div>
<h6 class="mb-1">Graduation Ceremony</h6>
<small class="text-muted">May 18, 2025</small>
<div class="small text-success fw-semibold">In 16 weeks</div>
</div>
</div>
</div>
</div>
</div>
<div class="dashboard-card">
<div class="dashboard-card-header">
<h6 class="dashboard-card-title">Quick Actions</h6>
</div>
<div class="dashboard-card-body">
<div class="d-grid gap-2">
<button class="btn btn-outline-primary btn-sm">
<i class="bi bi-plus-circle me-2"></i>Create Course
</button>
<button class="btn btn-outline-success btn-sm">
<i class="bi bi-person-plus me-2"></i>Enroll Student
</button>
<button class="btn btn-outline-info btn-sm">
<i class="bi bi-calendar-plus me-2"></i>Schedule Class
</button>
<button class="btn btn-outline-warning btn-sm">
<i class="bi bi-file-earmark-text me-2"></i>Grade Report
</button>
<button class="btn btn-outline-secondary btn-sm">
<i class="bi bi-gear me-2"></i>Settings
</button>
</div>
</div>
</div>
</div>
</div>
<!-- Recent Course Activity and Top Students -->
<div class="dashboard-row">
<div class="dashboard-grid grid-cols-2">
<div class="dashboard-card">
<div class="dashboard-card-header d-flex justify-content-between align-items-center">
<h5 class="dashboard-card-title mb-0">Recent Course Activity</h5>
<a href="all-courses.html" class="btn btn-outline-primary btn-sm">View All</a>
</div>
<div class="dashboard-card-body">
<div class="list-group list-group-flush">
<div class="list-group-item d-flex align-items-center px-0 py-3">
<div class="bg-primary bg-opacity-10 text-primary rounded-circle d-flex align-items-center justify-content-center me-3" style="width: 40px; height: 40px;">
<i class="bi bi-plus-circle" style="color: #0d6efd; font-size: 16px;"></i>
</div>
<div class="flex-grow-1">
<h6 class="mb-1">New Course Created</h6>
<small class="text-muted">Advanced Machine Learning</small>
<div class="small text-muted">Prof. Sarah Johnson - 2 hours ago</div>
</div>
<span class="badge bg-primary">New</span>
</div>
<div class="list-group-item d-flex align-items-center px-0 py-3">
<div class="bg-success bg-opacity-10 text-success rounded-circle d-flex align-items-center justify-content-center me-3" style="width: 40px; height: 40px;">
<i class="bi bi-person-check" style="color: #198754; font-size: 16px;"></i>
</div>
<div class="flex-grow-1">
<h6 class="mb-1">Student Enrollment</h6>
<small class="text-muted">15 new students in Data Structures</small>
<div class="small text-muted">Prof. Michael Chen - 4 hours ago</div>
</div>
<span class="badge bg-success">+15</span>
</div>
<div class="list-group-item d-flex align-items-center px-0 py-3">
<div class="bg-warning bg-opacity-10 text-warning rounded-circle d-flex align-items-center justify-content-center me-3" style="width: 40px; height: 40px;">
<i class="bi bi-file-earmark-check" style="color: #ffc107; font-size: 16px;"></i>
</div>
<div class="flex-grow-1">
<h6 class="mb-1">Assignment Graded</h6>
<small class="text-muted">Programming Assignment #3</small>
<div class="small text-muted">Prof. Lisa Wang - 6 hours ago</div>
</div>
<span class="badge bg-warning text-dark">85% avg</span>
</div>
</div>
</div>
</div>
<div class="dashboard-card">
<div class="dashboard-card-header d-flex justify-content-between align-items-center">
<h5 class="dashboard-card-title mb-0">Top Performing Courses</h5>
<a href="#" class="btn btn-outline-primary btn-sm">View Report</a>
</div>
<div class="dashboard-card-body">
<div class="list-group list-group-flush">
<div class="list-group-item d-flex align-items-center px-0 py-3">
<div class="bg-success bg-opacity-10 text-success rounded-circle d-flex align-items-center justify-content-center me-3" style="width: 40px; height: 40px;">
<strong style="color: #198754; font-size: 16px; font-weight: bold;">1</strong>
</div>
<div class="flex-grow-1">
<h6 class="mb-1">Advanced Programming</h6>
<small class="text-muted">Prof. Sarah Johnson</small>
<div class="small text-success">4.9/5.0 rating • 98% completion</div>
</div>
<div class="text-end">
<div class="fw-bold text-success">45</div>
<small class="text-muted">enrolled</small>
</div>
</div>
<div class="list-group-item d-flex align-items-center px-0 py-3">
<div class="bg-primary bg-opacity-10 text-primary rounded-circle d-flex align-items-center justify-content-center me-3" style="width: 40px; height: 40px;">
<strong style="color: #0d6efd; font-size: 16px; font-weight: bold;">2</strong>
</div>
<div class="flex-grow-1">
<h6 class="mb-1">Data Structures</h6>
<small class="text-muted">Prof. Michael Chen</small>
<div class="small text-success">4.8/5.0 rating • 96% completion</div>
</div>
<div class="text-end">
<div class="fw-bold text-primary">38</div>
<small class="text-muted">enrolled</small>
</div>
</div>
<div class="list-group-item d-flex align-items-center px-0 py-3">
<div class="bg-warning bg-opacity-10 text-warning rounded-circle d-flex align-items-center justify-content-center me-3" style="width: 40px; height: 40px;">
<strong style="color: #ffc107; font-size: 16px; font-weight: bold;">3</strong>
</div>
<div class="flex-grow-1">
<h6 class="mb-1">Machine Learning</h6>
<small class="text-muted">Prof. David Kim</small>
<div class="small text-success">4.7/5.0 rating • 94% completion</div>
</div>
<div class="text-end">
<div class="fw-bold text-warning">32</div>
<small class="text-muted">enrolled</small>
</div>
</div>
</div>
</div>
</div>
</div>
</div> </div>
</main>
{{> footer}}
</div>
{{> scripts}}
<script>
document.addEventListener('DOMContentLoaded', function() {
// Course Performance Chart
const coursePerformanceCtx = document.getElementById('coursePerformanceChart');
if (coursePerformanceCtx) {
new Chart(coursePerformanceCtx, {
type: 'doughnut',
data: {
labels: ['Excellent (4.5+)', 'Good (4.0-4.4)', 'Average (3.5-3.9)', 'Below Average (<3.5)'],
datasets: [{
data: [45, 32, 18, 5],
backgroundColor: [
'#198754',
'#0d6efd',
'#ffc107',
'#dc3545'
],
borderWidth: 0
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
plugins: {
legend: {
position: 'bottom',
labels: {
padding: 20,
usePointStyle: true
}
}
}
}
});
}
// Student Progress Chart
const studentProgressCtx = document.getElementById('studentProgressChart');
if (studentProgressCtx) {
new Chart(studentProgressCtx, {
type: 'line',
data: {
labels: ['Week 1', 'Week 2', 'Week 3', 'Week 4', 'Week 5', 'Week 6'],
datasets: [{
label: 'Completed Assignments (%)',
data: [85, 88, 92, 87, 94, 91],
borderColor: '#198754',
backgroundColor: 'rgba(25, 135, 84, 0.1)',
tension: 0.4,
fill: true,
pointRadius: 5,
pointHoverRadius: 7
}, {
label: 'Class Attendance (%)',
data: [92, 90, 94, 96, 93, 95],
borderColor: '#0d6efd',
backgroundColor: 'rgba(13, 110, 253, 0.1)',
tension: 0.4,
fill: true,
pointRadius: 5,
pointHoverRadius: 7
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
plugins: {
legend: {
position: 'top',
align: 'end'
}
},
scales: {
y: {
beginAtZero: false,
min: 80,
max: 100,
ticks: {
callback: function(value) {
return value + '%';
}
}
}
}
}
});
}
});
</script>