-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathteacher-analytics.html
More file actions
72 lines (65 loc) · 2.78 KB
/
Copy pathteacher-analytics.html
File metadata and controls
72 lines (65 loc) · 2.78 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>EduSphere-teacher Dashboard</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="dashboard">
<aside class="sidebar" id="sidebar"></aside>
<main class="main-content">
<div class="page-header">
<h2>Analytics</h2>
<p>Monitor student performance across your classes</p>
</div>
<div class="dash-card" id="analyticsClassList"></div>
<div id="analyticsSection" style="display:none;">
<div style="display:flex;align-items:center;gap:12px;margin-bottom:20px;">
<button class="btn-outline" onclick="backToAnalyticsClasses()"
style="padding:6px 16px;font-size:13px;">← Back</button>
<h3 id="analyticsClassName" style="color:white;font-size:18px;"></h3>
</div>
<div class="dash-card" style="margin-bottom:16px;">
<div style="display:flex;gap:24px;font-size:13px;">
<span>🔴 Red — Low attendance or poor performance</span>
<span>🟡 Yellow — Average</span>
<span>🟢 Green — Good performance</span>
</div>
</div>
<div class="dash-card">
<h3>Students</h3>
<div id="studentAnalyticsList"></div>
</div>
</div>
</main>
<div class="ai-float" onclick="toggleChat()">
<button class="ai-float-btn">
E<span class="ai-highlight">S</span>
</button>
<span class="ai-float-label">AI Assistant</span>
</div>
<div class="ai-chat-popup" id="aiChat">
<div class="chat-header">
<div class="chat-title">
<span>Edu<span class="highlight">Sphere</span> AI</span>
</div>
<button class="chat-close" onclick="toggleChat()">✕</button>
</div>
<div class="chat-messages" id="chatMessages">
<div class="msg ai-msg">
<p>Hi! I'm EduSphere AI. I'll be fully functional soon. How can I help you today?</p>
</div>
</div>
<div class="chat-input-row">
<input type="text" id="chatInput" placeholder="Ask anything..." />
<button class="chat-send" onclick="sendMessage()">➤</button>
</div>
</div>
</div>
<script src="sidebar.js"></script>
<script src="dashboard.js"></script>
<script src="teacher-analytics.js"></script>
</body>
</html>