Spaces:
Running
Running
Add 3 files
Browse files- README.md +6 -4
- index.html +801 -19
- prompts.txt +0 -0
README.md
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
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: educore2
|
3 |
+
emoji: 🐳
|
4 |
+
colorFrom: red
|
5 |
colorTo: gray
|
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,801 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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>EduHome - Homeschooling Platform</title>
|
7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
9 |
+
<style>
|
10 |
+
.gradient-bg {
|
11 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
12 |
+
}
|
13 |
+
.sidebar-item:hover .sidebar-icon {
|
14 |
+
transform: translateX(5px);
|
15 |
+
}
|
16 |
+
.card-hover:hover {
|
17 |
+
transform: translateY(-5px);
|
18 |
+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
19 |
+
}
|
20 |
+
.animate-pulse-slow {
|
21 |
+
animation: pulse 3s infinite;
|
22 |
+
}
|
23 |
+
@keyframes pulse {
|
24 |
+
0%, 100% {
|
25 |
+
opacity: 1;
|
26 |
+
}
|
27 |
+
50% {
|
28 |
+
opacity: 0.5;
|
29 |
+
}
|
30 |
+
}
|
31 |
+
.notification-badge {
|
32 |
+
position: absolute;
|
33 |
+
top: -5px;
|
34 |
+
right: -5px;
|
35 |
+
}
|
36 |
+
</style>
|
37 |
+
</head>
|
38 |
+
<body class="bg-gray-100 font-sans">
|
39 |
+
<!-- Login Page (Default View) -->
|
40 |
+
<div id="login-page" class="min-h-screen flex items-center justify-center gradient-bg p-4">
|
41 |
+
<div class="bg-white rounded-xl shadow-2xl overflow-hidden w-full max-w-md">
|
42 |
+
<div class="p-8">
|
43 |
+
<div class="flex justify-center mb-8">
|
44 |
+
<div class="bg-indigo-100 p-4 rounded-full">
|
45 |
+
<i class="fas fa-home-school text-indigo-600 text-4xl"></i>
|
46 |
+
</div>
|
47 |
+
</div>
|
48 |
+
<h2 class="text-3xl font-bold text-center text-gray-800 mb-2">Welcome to EduHome</h2>
|
49 |
+
<p class="text-center text-gray-600 mb-8">Your complete homeschooling solution</p>
|
50 |
+
|
51 |
+
<form id="login-form" class="space-y-6">
|
52 |
+
<div>
|
53 |
+
<label for="email" class="block text-sm font-medium text-gray-700 mb-1">Email</label>
|
54 |
+
<input type="email" id="email" class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500" placeholder="[email protected]" required>
|
55 |
+
</div>
|
56 |
+
<div>
|
57 |
+
<label for="password" class="block text-sm font-medium text-gray-700 mb-1">Password</label>
|
58 |
+
<input type="password" id="password" class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500" placeholder="••••••••" required>
|
59 |
+
</div>
|
60 |
+
<div class="flex items-center justify-between">
|
61 |
+
<div class="flex items-center">
|
62 |
+
<input id="remember-me" type="checkbox" class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded">
|
63 |
+
<label for="remember-me" class="ml-2 block text-sm text-gray-700">Remember me</label>
|
64 |
+
</div>
|
65 |
+
<a href="#" class="text-sm text-indigo-600 hover:text-indigo-500">Forgot password?</a>
|
66 |
+
</div>
|
67 |
+
<div>
|
68 |
+
<button type="submit" class="w-full gradient-bg text-white py-3 px-4 rounded-lg font-medium hover:opacity-90 transition duration-300 flex items-center justify-center">
|
69 |
+
<i class="fas fa-sign-in-alt mr-2"></i> Sign In
|
70 |
+
</button>
|
71 |
+
</div>
|
72 |
+
</form>
|
73 |
+
|
74 |
+
<div class="mt-6 text-center">
|
75 |
+
<p class="text-sm text-gray-600">Don't have an account? <a href="#" class="text-indigo-600 font-medium hover:text-indigo-500">Sign up</a></p>
|
76 |
+
</div>
|
77 |
+
</div>
|
78 |
+
<div class="bg-gray-50 px-8 py-4 text-center">
|
79 |
+
<p class="text-xs text-gray-500">By continuing, you agree to our <a href="#" class="text-indigo-600">Terms</a> and <a href="#" class="text-indigo-600">Privacy Policy</a>.</p>
|
80 |
+
</div>
|
81 |
+
</div>
|
82 |
+
</div>
|
83 |
+
|
84 |
+
<!-- Teacher Dashboard (Hidden by Default) -->
|
85 |
+
<div id="teacher-dashboard" class="hidden min-h-screen flex">
|
86 |
+
<!-- Sidebar -->
|
87 |
+
<div class="w-64 bg-white shadow-md">
|
88 |
+
<div class="p-4 flex items-center space-x-3 border-b border-gray-200">
|
89 |
+
<div class="relative">
|
90 |
+
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Teacher" class="w-10 h-10 rounded-full object-cover">
|
91 |
+
<span class="absolute bottom-0 right-0 w-3 h-3 bg-green-500 rounded-full border-2 border-white"></span>
|
92 |
+
</div>
|
93 |
+
<div>
|
94 |
+
<p class="font-medium">Sarah Johnson</p>
|
95 |
+
<p class="text-xs text-gray-500">Teacher</p>
|
96 |
+
</div>
|
97 |
+
</div>
|
98 |
+
<nav class="p-4 space-y-1">
|
99 |
+
<a href="#" class="sidebar-item flex items-center space-x-3 p-3 rounded-lg bg-indigo-50 text-indigo-700">
|
100 |
+
<i class="sidebar-icon fas fa-tachometer-alt text-indigo-600 transition duration-200"></i>
|
101 |
+
<span>Dashboard</span>
|
102 |
+
</a>
|
103 |
+
<a href="#" class="sidebar-item flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
|
104 |
+
<i class="sidebar-icon fas fa-book text-gray-600 transition duration-200"></i>
|
105 |
+
<span>Courses</span>
|
106 |
+
</a>
|
107 |
+
<a href="#" class="sidebar-item flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
|
108 |
+
<i class="sidebar-icon fas fa-users text-gray-600 transition duration-200"></i>
|
109 |
+
<span>Students</span>
|
110 |
+
</a>
|
111 |
+
<a href="#" class="sidebar-item flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
|
112 |
+
<i class="sidebar-icon fas fa-tasks text-gray-600 transition duration-200"></i>
|
113 |
+
<span>Assignments</span>
|
114 |
+
</a>
|
115 |
+
<a href="#" class="sidebar-item flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
|
116 |
+
<i class="sidebar-icon fas fa-calendar-alt text-gray-600 transition duration-200"></i>
|
117 |
+
<span>Schedule</span>
|
118 |
+
</a>
|
119 |
+
<a href="#" class="sidebar-item flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
|
120 |
+
<i class="sidebar-icon fas fa-chart-line text-gray-600 transition duration-200"></i>
|
121 |
+
<span>Progress</span>
|
122 |
+
</a>
|
123 |
+
<a href="#" class="sidebar-item flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
|
124 |
+
<i class="sidebar-icon fas fa-comments text-gray-600 transition duration-200"></i>
|
125 |
+
<span>Messages</span>
|
126 |
+
<span class="ml-auto bg-red-500 text-white text-xs px-2 py-1 rounded-full">3</span>
|
127 |
+
</a>
|
128 |
+
<a href="#" class="sidebar-item flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
|
129 |
+
<i class="sidebar-icon fas fa-cog text-gray-600 transition duration-200"></i>
|
130 |
+
<span>Settings</span>
|
131 |
+
</a>
|
132 |
+
</nav>
|
133 |
+
<div class="absolute bottom-0 w-64 p-4 border-t border-gray-200">
|
134 |
+
<a href="#" class="flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
|
135 |
+
<i class="fas fa-sign-out-alt text-gray-600"></i>
|
136 |
+
<span>Logout</span>
|
137 |
+
</a>
|
138 |
+
</div>
|
139 |
+
</div>
|
140 |
+
|
141 |
+
<!-- Main Content -->
|
142 |
+
<div class="flex-1 bg-gray-50 p-8">
|
143 |
+
<div class="flex justify-between items-center mb-8">
|
144 |
+
<h1 class="text-2xl font-bold text-gray-800">Teacher Dashboard</h1>
|
145 |
+
<div class="flex items-center space-x-4">
|
146 |
+
<div class="relative">
|
147 |
+
<button class="p-2 rounded-full bg-white shadow-sm hover:bg-gray-100">
|
148 |
+
<i class="fas fa-bell text-gray-600"></i>
|
149 |
+
<span class="notification-badge bg-red-500 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center">5</span>
|
150 |
+
</button>
|
151 |
+
</div>
|
152 |
+
<button class="flex items-center space-x-2 bg-white shadow-sm rounded-full px-4 py-2 hover:bg-gray-100">
|
153 |
+
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Teacher" class="w-8 h-8 rounded-full">
|
154 |
+
<span class="text-sm font-medium">Sarah</span>
|
155 |
+
</button>
|
156 |
+
</div>
|
157 |
+
</div>
|
158 |
+
|
159 |
+
<!-- Stats Cards -->
|
160 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
|
161 |
+
<div class="card-hover bg-white rounded-xl shadow-sm p-6 transition duration-300">
|
162 |
+
<div class="flex items-center justify-between">
|
163 |
+
<div>
|
164 |
+
<p class="text-sm font-medium text-gray-500">Active Students</p>
|
165 |
+
<p class="text-3xl font-bold text-gray-800 mt-2">24</p>
|
166 |
+
</div>
|
167 |
+
<div class="p-3 rounded-full bg-indigo-100 text-indigo-600">
|
168 |
+
<i class="fas fa-user-graduate text-xl"></i>
|
169 |
+
</div>
|
170 |
+
</div>
|
171 |
+
<div class="mt-4">
|
172 |
+
<span class="text-xs font-medium text-green-500 bg-green-100 px-2 py-1 rounded-full">+3 from last week</span>
|
173 |
+
</div>
|
174 |
+
</div>
|
175 |
+
<div class="card-hover bg-white rounded-xl shadow-sm p-6 transition duration-300">
|
176 |
+
<div class="flex items-center justify-between">
|
177 |
+
<div>
|
178 |
+
<p class="text-sm font-medium text-gray-500">Courses</p>
|
179 |
+
<p class="text-3xl font-bold text-gray-800 mt-2">8</p>
|
180 |
+
</div>
|
181 |
+
<div class="p-3 rounded-full bg-blue-100 text-blue-600">
|
182 |
+
<i class="fas fa-book-open text-xl"></i>
|
183 |
+
</div>
|
184 |
+
</div>
|
185 |
+
<div class="mt-4">
|
186 |
+
<span class="text-xs font-medium text-blue-500 bg-blue-100 px-2 py-1 rounded-full">2 new this month</span>
|
187 |
+
</div>
|
188 |
+
</div>
|
189 |
+
<div class="card-hover bg-white rounded-xl shadow-sm p-6 transition duration-300">
|
190 |
+
<div class="flex items-center justify-between">
|
191 |
+
<div>
|
192 |
+
<p class="text-sm font-medium text-gray-500">Assignments Due</p>
|
193 |
+
<p class="text-3xl font-bold text-gray-800 mt-2">15</p>
|
194 |
+
</div>
|
195 |
+
<div class="p-3 rounded-full bg-yellow-100 text-yellow-600">
|
196 |
+
<i class="fas fa-tasks text-xl"></i>
|
197 |
+
</div>
|
198 |
+
</div>
|
199 |
+
<div class="mt-4">
|
200 |
+
<span class="text-xs font-medium text-yellow-500 bg-yellow-100 px-2 py-1 rounded-full">5 overdue</span>
|
201 |
+
</div>
|
202 |
+
</div>
|
203 |
+
<div class="card-hover bg-white rounded-xl shadow-sm p-6 transition duration-300">
|
204 |
+
<div class="flex items-center justify-between">
|
205 |
+
<div>
|
206 |
+
<p class="text-sm font-medium text-gray-500">Messages</p>
|
207 |
+
<p class="text-3xl font-bold text-gray-800 mt-2">12</p>
|
208 |
+
</div>
|
209 |
+
<div class="p-3 rounded-full bg-purple-100 text-purple-600">
|
210 |
+
<i class="fas fa-comments text-xl"></i>
|
211 |
+
</div>
|
212 |
+
</div>
|
213 |
+
<div class="mt-4">
|
214 |
+
<span class="text-xs font-medium text-purple-500 bg-purple-100 px-2 py-1 rounded-full">3 unread</span>
|
215 |
+
</div>
|
216 |
+
</div>
|
217 |
+
</div>
|
218 |
+
|
219 |
+
<!-- Recent Activity and Upcoming Classes -->
|
220 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8">
|
221 |
+
<div class="lg:col-span-2 bg-white rounded-xl shadow-sm p-6">
|
222 |
+
<div class="flex justify-between items-center mb-6">
|
223 |
+
<h2 class="text-lg font-bold text-gray-800">Recent Activity</h2>
|
224 |
+
<button class="text-sm text-indigo-600 hover:text-indigo-500">View All</button>
|
225 |
+
</div>
|
226 |
+
<div class="space-y-4">
|
227 |
+
<div class="flex items-start space-x-3">
|
228 |
+
<div class="p-2 rounded-full bg-green-100 text-green-600">
|
229 |
+
<i class="fas fa-check-circle"></i>
|
230 |
+
</div>
|
231 |
+
<div>
|
232 |
+
<p class="text-sm font-medium">Emily submitted Math Assignment</p>
|
233 |
+
<p class="text-xs text-gray-500">10 minutes ago</p>
|
234 |
+
</div>
|
235 |
+
</div>
|
236 |
+
<div class="flex items-start space-x-3">
|
237 |
+
<div class="p-2 rounded-full bg-blue-100 text-blue-600">
|
238 |
+
<i class="fas fa-comment"></i>
|
239 |
+
</div>
|
240 |
+
<div>
|
241 |
+
<p class="text-sm font-medium">New message from David's parent</p>
|
242 |
+
<p class="text-xs text-gray-500">25 minutes ago</p>
|
243 |
+
</div>
|
244 |
+
</div>
|
245 |
+
<div class="flex items-start space-x-3">
|
246 |
+
<div class="p-2 rounded-full bg-purple-100 text-purple-600">
|
247 |
+
<i class="fas fa-book"></i>
|
248 |
+
</div>
|
249 |
+
<div>
|
250 |
+
<p class="text-sm font-medium">New course material added to Science</p>
|
251 |
+
<p class="text-xs text-gray-500">2 hours ago</p>
|
252 |
+
</div>
|
253 |
+
</div>
|
254 |
+
<div class="flex items-start space-x-3">
|
255 |
+
<div class="p-2 rounded-full bg-yellow-100 text-yellow-600">
|
256 |
+
<i class="fas fa-exclamation-circle"></i>
|
257 |
+
</div>
|
258 |
+
<div>
|
259 |
+
<p class="text-sm font-medium">Michael missed the History class</p>
|
260 |
+
<p class="text-xs text-gray-500">4 hours ago</p>
|
261 |
+
</div>
|
262 |
+
</div>
|
263 |
+
</div>
|
264 |
+
</div>
|
265 |
+
<div class="bg-white rounded-xl shadow-sm p-6">
|
266 |
+
<div class="flex justify-between items-center mb-6">
|
267 |
+
<h2 class="text-lg font-bold text-gray-800">Upcoming Classes</h2>
|
268 |
+
<button class="text-sm text-indigo-600 hover:text-indigo-500">View All</button>
|
269 |
+
</div>
|
270 |
+
<div class="space-y-4">
|
271 |
+
<div class="p-4 border border-gray-200 rounded-lg">
|
272 |
+
<div class="flex justify-between items-start">
|
273 |
+
<div>
|
274 |
+
<p class="font-medium">Mathematics</p>
|
275 |
+
<p class="text-sm text-gray-500">Grade 5</p>
|
276 |
+
</div>
|
277 |
+
<span class="px-2 py-1 bg-indigo-100 text-indigo-800 text-xs rounded-full">10:00 AM</span>
|
278 |
+
</div>
|
279 |
+
<div class="mt-2 flex items-center text-sm text-gray-500">
|
280 |
+
<i class="fas fa-user-friends mr-1"></i>
|
281 |
+
<span>12 students</span>
|
282 |
+
</div>
|
283 |
+
</div>
|
284 |
+
<div class="p-4 border border-gray-200 rounded-lg">
|
285 |
+
<div class="flex justify-between items-start">
|
286 |
+
<div>
|
287 |
+
<p class="font-medium">Science</p>
|
288 |
+
<p class="text-sm text-gray-500">Grade 6</p>
|
289 |
+
</div>
|
290 |
+
<span class="px-2 py-1 bg-indigo-100 text-indigo-800 text-xs rounded-full">11:30 AM</span>
|
291 |
+
</div>
|
292 |
+
<div class="mt-2 flex items-center text-sm text-gray-500">
|
293 |
+
<i class="fas fa-user-friends mr-1"></i>
|
294 |
+
<span>8 students</span>
|
295 |
+
</div>
|
296 |
+
</div>
|
297 |
+
<div class="p-4 border border-gray-200 rounded-lg">
|
298 |
+
<div class="flex justify-between items-start">
|
299 |
+
<div>
|
300 |
+
<p class="font-medium">History</p>
|
301 |
+
<p class="text-sm text-gray-500">Grade 7</p>
|
302 |
+
</div>
|
303 |
+
<span class="px-2 py-1 bg-indigo-100 text-indigo-800 text-xs rounded-full">2:00 PM</span>
|
304 |
+
</div>
|
305 |
+
<div class="mt-2 flex items-center text-sm text-gray-500">
|
306 |
+
<i class="fas fa-user-friends mr-1"></i>
|
307 |
+
<span>10 students</span>
|
308 |
+
</div>
|
309 |
+
</div>
|
310 |
+
</div>
|
311 |
+
</div>
|
312 |
+
</div>
|
313 |
+
|
314 |
+
<!-- Student Progress -->
|
315 |
+
<div class="bg-white rounded-xl shadow-sm p-6">
|
316 |
+
<div class="flex justify-between items-center mb-6">
|
317 |
+
<h2 class="text-lg font-bold text-gray-800">Student Progress</h2>
|
318 |
+
<button class="text-sm text-indigo-600 hover:text-indigo-500">View All</button>
|
319 |
+
</div>
|
320 |
+
<div class="overflow-x-auto">
|
321 |
+
<table class="min-w-full divide-y divide-gray-200">
|
322 |
+
<thead class="bg-gray-50">
|
323 |
+
<tr>
|
324 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Student</th>
|
325 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Grade</th>
|
326 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Math</th>
|
327 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Science</th>
|
328 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">English</th>
|
329 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
|
330 |
+
</tr>
|
331 |
+
</thead>
|
332 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
333 |
+
<tr>
|
334 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
335 |
+
<div class="flex items-center">
|
336 |
+
<div class="flex-shrink-0 h-10 w-10">
|
337 |
+
<img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/12.jpg" alt="">
|
338 |
+
</div>
|
339 |
+
<div class="ml-4">
|
340 |
+
<div class="text-sm font-medium text-gray-900">Emily Johnson</div>
|
341 |
+
</div>
|
342 |
+
</div>
|
343 |
+
</td>
|
344 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
345 |
+
<div class="text-sm text-gray-900">5</div>
|
346 |
+
</td>
|
347 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
348 |
+
<div class="text-sm text-gray-900">92%</div>
|
349 |
+
</td>
|
350 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
351 |
+
<div class="text-sm text-gray-900">88%</div>
|
352 |
+
</td>
|
353 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
354 |
+
<div class="text-sm text-gray-900">95%</div>
|
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">Excellent</span>
|
358 |
+
</td>
|
359 |
+
</tr>
|
360 |
+
<tr>
|
361 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
362 |
+
<div class="flex items-center">
|
363 |
+
<div class="flex-shrink-0 h-10 w-10">
|
364 |
+
<img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/men/32.jpg" alt="">
|
365 |
+
</div>
|
366 |
+
<div class="ml-4">
|
367 |
+
<div class="text-sm font-medium text-gray-900">Michael Brown</div>
|
368 |
+
</div>
|
369 |
+
</div>
|
370 |
+
</td>
|
371 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
372 |
+
<div class="text-sm text-gray-900">6</div>
|
373 |
+
</td>
|
374 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
375 |
+
<div class="text-sm text-gray-900">78%</div>
|
376 |
+
</td>
|
377 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
378 |
+
<div class="text-sm text-gray-900">85%</div>
|
379 |
+
</td>
|
380 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
381 |
+
<div class="text-sm text-gray-900">82%</div>
|
382 |
+
</td>
|
383 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
384 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Good</span>
|
385 |
+
</td>
|
386 |
+
</tr>
|
387 |
+
<tr>
|
388 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
389 |
+
<div class="flex items-center">
|
390 |
+
<div class="flex-shrink-0 h-10 w-10">
|
391 |
+
<img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/23.jpg" alt="">
|
392 |
+
</div>
|
393 |
+
<div class="ml-4">
|
394 |
+
<div class="text-sm font-medium text-gray-900">Sophia Wilson</div>
|
395 |
+
</div>
|
396 |
+
</div>
|
397 |
+
</td>
|
398 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
399 |
+
<div class="text-sm text-gray-900">7</div>
|
400 |
+
</td>
|
401 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
402 |
+
<div class="text-sm text-gray-900">85%</div>
|
403 |
+
</td>
|
404 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
405 |
+
<div class="text-sm text-gray-900">90%</div>
|
406 |
+
</td>
|
407 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
408 |
+
<div class="text-sm text-gray-900">88%</div>
|
409 |
+
</td>
|
410 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
411 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Excellent</span>
|
412 |
+
</td>
|
413 |
+
</tr>
|
414 |
+
</tbody>
|
415 |
+
</table>
|
416 |
+
</div>
|
417 |
+
</div>
|
418 |
+
</div>
|
419 |
+
</div>
|
420 |
+
|
421 |
+
<!-- Student Dashboard (Hidden by Default) -->
|
422 |
+
<div id="student-dashboard" class="hidden min-h-screen flex">
|
423 |
+
<!-- Sidebar -->
|
424 |
+
<div class="w-64 bg-white shadow-md">
|
425 |
+
<div class="p-4 flex items-center space-x-3 border-b border-gray-200">
|
426 |
+
<div class="relative">
|
427 |
+
<img src="https://randomuser.me/api/portraits/women/12.jpg" alt="Student" class="w-10 h-10 rounded-full object-cover">
|
428 |
+
<span class="absolute bottom-0 right-0 w-3 h-3 bg-green-500 rounded-full border-2 border-white"></span>
|
429 |
+
</div>
|
430 |
+
<div>
|
431 |
+
<p class="font-medium">Emily Johnson</p>
|
432 |
+
<p class="text-xs text-gray-500">Grade 5</p>
|
433 |
+
</div>
|
434 |
+
</div>
|
435 |
+
<nav class="p-4 space-y-1">
|
436 |
+
<a href="#" class="sidebar-item flex items-center space-x-3 p-3 rounded-lg bg-indigo-50 text-indigo-700">
|
437 |
+
<i class="sidebar-icon fas fa-home text-indigo-600 transition duration-200"></i>
|
438 |
+
<span>Dashboard</span>
|
439 |
+
</a>
|
440 |
+
<a href="#" class="sidebar-item flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
|
441 |
+
<i class="sidebar-icon fas fa-book text-gray-600 transition duration-200"></i>
|
442 |
+
<span>My Courses</span>
|
443 |
+
</a>
|
444 |
+
<a href="#" class="sidebar-item flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
|
445 |
+
<i class="sidebar-icon fas fa-tasks text-gray-600 transition duration-200"></i>
|
446 |
+
<span>Assignments</span>
|
447 |
+
<span class="ml-auto bg-red-500 text-white text-xs px-2 py-1 rounded-full">2</span>
|
448 |
+
</a>
|
449 |
+
<a href="#" class="sidebar-item flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
|
450 |
+
<i class="sidebar-icon fas fa-calendar-alt text-gray-600 transition duration-200"></i>
|
451 |
+
<span>Schedule</span>
|
452 |
+
</a>
|
453 |
+
<a href="#" class="sidebar-item flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
|
454 |
+
<i class="sidebar-icon fas fa-chart-line text-gray-600 transition duration-200"></i>
|
455 |
+
<span>Progress</span>
|
456 |
+
</a>
|
457 |
+
<a href="#" class="sidebar-item flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
|
458 |
+
<i class="sidebar-icon fas fa-comments text-gray-600 transition duration-200"></i>
|
459 |
+
<span>Messages</span>
|
460 |
+
</a>
|
461 |
+
<a href="#" class="sidebar-item flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
|
462 |
+
<i class="sidebar-icon fas fa-award text-gray-600 transition duration-200"></i>
|
463 |
+
<span>Badges</span>
|
464 |
+
</a>
|
465 |
+
<a href="#" class="sidebar-item flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
|
466 |
+
<i class="sidebar-icon fas fa-cog text-gray-600 transition duration-200"></i>
|
467 |
+
<span>Settings</span>
|
468 |
+
</a>
|
469 |
+
</nav>
|
470 |
+
<div class="absolute bottom-0 w-64 p-4 border-t border-gray-200">
|
471 |
+
<a href="#" class="flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
|
472 |
+
<i class="fas fa-sign-out-alt text-gray-600"></i>
|
473 |
+
<span>Logout</span>
|
474 |
+
</a>
|
475 |
+
</div>
|
476 |
+
</div>
|
477 |
+
|
478 |
+
<!-- Main Content -->
|
479 |
+
<div class="flex-1 bg-gray-50 p-8">
|
480 |
+
<div class="flex justify-between items-center mb-8">
|
481 |
+
<h1 class="text-2xl font-bold text-gray-800">Student Dashboard</h1>
|
482 |
+
<div class="flex items-center space-x-4">
|
483 |
+
<div class="relative">
|
484 |
+
<button class="p-2 rounded-full bg-white shadow-sm hover:bg-gray-100">
|
485 |
+
<i class="fas fa-bell text-gray-600"></i>
|
486 |
+
<span class="notification-badge bg-red-500 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center">2</span>
|
487 |
+
</button>
|
488 |
+
</div>
|
489 |
+
<button class="flex items-center space-x-2 bg-white shadow-sm rounded-full px-4 py-2 hover:bg-gray-100">
|
490 |
+
<img src="https://randomuser.me/api/portraits/women/12.jpg" alt="Student" class="w-8 h-8 rounded-full">
|
491 |
+
<span class="text-sm font-medium">Emily</span>
|
492 |
+
</button>
|
493 |
+
</div>
|
494 |
+
</div>
|
495 |
+
|
496 |
+
<!-- Welcome Card -->
|
497 |
+
<div class="gradient-bg rounded-xl shadow-sm p-6 text-white mb-8">
|
498 |
+
<div class="flex items-center justify-between">
|
499 |
+
<div>
|
500 |
+
<h2 class="text-2xl font-bold mb-2">Welcome back, Emily!</h2>
|
501 |
+
<p class="mb-4">You have 2 assignments due today. Keep up the good work!</p>
|
502 |
+
<button class="bg-white text-indigo-600 px-4 py-2 rounded-lg font-medium hover:bg-opacity-90">View Assignments</button>
|
503 |
+
</div>
|
504 |
+
<div class="w-32 h-32">
|
505 |
+
<img src="https://cdn-icons-png.flaticon.com/512/3132/3132773.png" alt="Student" class="w-full h-full object-contain">
|
506 |
+
</div>
|
507 |
+
</div>
|
508 |
+
</div>
|
509 |
+
|
510 |
+
<!-- Stats Cards -->
|
511 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
|
512 |
+
<div class="card-hover bg-white rounded-xl shadow-sm p-6 transition duration-300">
|
513 |
+
<div class="flex items-center justify-between">
|
514 |
+
<div>
|
515 |
+
<p class="text-sm font-medium text-gray-500">Current Courses</p>
|
516 |
+
<p class="text-3xl font-bold text-gray-800 mt-2">5</p>
|
517 |
+
</div>
|
518 |
+
<div class="p-3 rounded-full bg-indigo-100 text-indigo-600">
|
519 |
+
<i class="fas fa-book text-xl"></i>
|
520 |
+
</div>
|
521 |
+
</div>
|
522 |
+
</div>
|
523 |
+
<div class="card-hover bg-white rounded-xl shadow-sm p-6 transition duration-300">
|
524 |
+
<div class="flex items-center justify-between">
|
525 |
+
<div>
|
526 |
+
<p class="text-sm font-medium text-gray-500">Assignments Due</p>
|
527 |
+
<p class="text-3xl font-bold text-gray-800 mt-2">2</p>
|
528 |
+
</div>
|
529 |
+
<div class="p-3 rounded-full bg-red-100 text-red-600">
|
530 |
+
<i class="fas fa-exclamation-circle text-xl"></i>
|
531 |
+
</div>
|
532 |
+
</div>
|
533 |
+
</div>
|
534 |
+
<div class="card-hover bg-white rounded-xl shadow-sm p-6 transition duration-300">
|
535 |
+
<div class="flex items-center justify-between">
|
536 |
+
<div>
|
537 |
+
<p class="text-sm font-medium text-gray-500">Average Grade</p>
|
538 |
+
<p class="text-3xl font-bold text-gray-800 mt-2">92%</p>
|
539 |
+
</div>
|
540 |
+
<div class="p-3 rounded-full bg-green-100 text-green-600">
|
541 |
+
<i class="fas fa-star text-xl"></i>
|
542 |
+
</div>
|
543 |
+
</div>
|
544 |
+
</div>
|
545 |
+
<div class="card-hover bg-white rounded-xl shadow-sm p-6 transition duration-300">
|
546 |
+
<div class="flex items-center justify-between">
|
547 |
+
<div>
|
548 |
+
<p class="text-sm font-medium text-gray-500">Badges Earned</p>
|
549 |
+
<p class="text-3xl font-bold text-gray-800 mt-2">8</p>
|
550 |
+
</div>
|
551 |
+
<div class="p-3 rounded-full bg-yellow-100 text-yellow-600">
|
552 |
+
<i class="fas fa-award text-xl"></i>
|
553 |
+
</div>
|
554 |
+
</div>
|
555 |
+
</div>
|
556 |
+
</div>
|
557 |
+
|
558 |
+
<!-- Courses and Upcoming Classes -->
|
559 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8">
|
560 |
+
<div class="lg:col-span-2 bg-white rounded-xl shadow-sm p-6">
|
561 |
+
<div class="flex justify-between items-center mb-6">
|
562 |
+
<h2 class="text-lg font-bold text-gray-800">My Courses</h2>
|
563 |
+
<button class="text-sm text-indigo-600 hover:text-indigo-500">View All</button>
|
564 |
+
</div>
|
565 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
|
566 |
+
<div class="card-hover border border-gray-200 rounded-lg p-4 transition duration-300">
|
567 |
+
<div class="flex items-center space-x-3 mb-3">
|
568 |
+
<div class="p-2 rounded-lg bg-blue-100 text-blue-600">
|
569 |
+
<i class="fas fa-square-root-alt"></i>
|
570 |
+
</div>
|
571 |
+
<h3 class="font-medium">Mathematics</h3>
|
572 |
+
</div>
|
573 |
+
<p class="text-sm text-gray-500 mb-4">Algebra and geometry concepts for grade 5 students.</p>
|
574 |
+
<div class="flex justify-between items-center">
|
575 |
+
<div class="w-full bg-gray-200 rounded-full h-2">
|
576 |
+
<div class="bg-blue-600 h-2 rounded-full" style="width: 85%"></div>
|
577 |
+
</div>
|
578 |
+
<span class="ml-2 text-sm font-medium">85%</span>
|
579 |
+
</div>
|
580 |
+
</div>
|
581 |
+
<div class="card-hover border border-gray-200 rounded-lg p-4 transition duration-300">
|
582 |
+
<div class="flex items-center space-x-3 mb-3">
|
583 |
+
<div class="p-2 rounded-lg bg-green-100 text-green-600">
|
584 |
+
<i class="fas fa-atom"></i>
|
585 |
+
</div>
|
586 |
+
<h3 class="font-medium">Science</h3>
|
587 |
+
</div>
|
588 |
+
<p class="text-sm text-gray-500 mb-4">Introduction to biology and basic physics concepts.</p>
|
589 |
+
<div class="flex justify-between items-center">
|
590 |
+
<div class="w-full bg-gray-200 rounded-full h-2">
|
591 |
+
<div class="bg-green-600 h-2 rounded-full" style="width: 78%"></div>
|
592 |
+
</div>
|
593 |
+
<span class="ml-2 text-sm font-medium">78%</span>
|
594 |
+
</div>
|
595 |
+
</div>
|
596 |
+
<div class="card-hover border border-gray-200 rounded-lg p-4 transition duration-300">
|
597 |
+
<div class="flex items-center space-x-3 mb-3">
|
598 |
+
<div class="p-2 rounded-lg bg-purple-100 text-purple-600">
|
599 |
+
<i class="fas fa-book-open"></i>
|
600 |
+
</div>
|
601 |
+
<h3 class="font-medium">English</h3>
|
602 |
+
</div>
|
603 |
+
<p class="text-sm text-gray-500 mb-4">Reading comprehension and creative writing.</p>
|
604 |
+
<div class="flex justify-between items-center">
|
605 |
+
<div class="w-full bg-gray-200 rounded-full h-2">
|
606 |
+
<div class="bg-purple-600 h-2 rounded-full" style="width: 92%"></div>
|
607 |
+
</div>
|
608 |
+
<span class="ml-2 text-sm font-medium">92%</span>
|
609 |
+
</div>
|
610 |
+
</div>
|
611 |
+
<div class="card-hover border border-gray-200 rounded-lg p-4 transition duration-300">
|
612 |
+
<div class="flex items-center space-x-3 mb-3">
|
613 |
+
<div class="p-2 rounded-lg bg-yellow-100 text-yellow-600">
|
614 |
+
<i class="fas fa-landmark"></i>
|
615 |
+
</div>
|
616 |
+
<h3 class="font-medium">History</h3>
|
617 |
+
</div>
|
618 |
+
<p class="text-sm text-gray-500 mb-4">World civilizations and important historical events.</p>
|
619 |
+
<div class="flex justify-between items-center">
|
620 |
+
<div class="w-full bg-gray-200 rounded-full h-2">
|
621 |
+
<div class="bg-yellow-600 h-2 rounded-full" style="width: 80%"></div>
|
622 |
+
</div>
|
623 |
+
<span class="ml-2 text-sm font-medium">80%</span>
|
624 |
+
</div>
|
625 |
+
</div>
|
626 |
+
</div>
|
627 |
+
</div>
|
628 |
+
<div class="bg-white rounded-xl shadow-sm p-6">
|
629 |
+
<div class="flex justify-between items-center mb-6">
|
630 |
+
<h2 class="text-lg font-bold text-gray-800">Today's Schedule</h2>
|
631 |
+
<button class="text-sm text-indigo-600 hover:text-indigo-500">View All</button>
|
632 |
+
</div>
|
633 |
+
<div class="space-y-4">
|
634 |
+
<div class="p-4 border border-gray-200 rounded-lg">
|
635 |
+
<div class="flex justify-between items-start">
|
636 |
+
<div>
|
637 |
+
<p class="font-medium">Mathematics</p>
|
638 |
+
<p class="text-sm text-gray-500">With Mrs. Johnson</p>
|
639 |
+
</div>
|
640 |
+
<span class="px-2 py-1 bg-indigo-100 text-indigo-800 text-xs rounded-full">10:00 AM</span>
|
641 |
+
</div>
|
642 |
+
<div class="mt-2 flex items-center text-sm text-gray-500">
|
643 |
+
<i class="fas fa-video mr-1"></i>
|
644 |
+
<span>Online Class</span>
|
645 |
+
</div>
|
646 |
+
<button class="mt-3 w-full bg-indigo-600 text-white py-2 px-4 rounded-lg text-sm font-medium hover:bg-indigo-700">Join Class</button>
|
647 |
+
</div>
|
648 |
+
<div class="p-4 border border-gray-200 rounded-lg">
|
649 |
+
<div class="flex justify-between items-start">
|
650 |
+
<div>
|
651 |
+
<p class="font-medium">Science</p>
|
652 |
+
<p class="text-sm text-gray-500">With Mr. Davis</p>
|
653 |
+
</div>
|
654 |
+
<span class="px-2 py-1 bg-indigo-100 text-indigo-800 text-xs rounded-full">11:30 AM</span>
|
655 |
+
</div>
|
656 |
+
<div class="mt-2 flex items-center text-sm text-gray-500">
|
657 |
+
<i class="fas fa-video mr-1"></i>
|
658 |
+
<span>Online Class</span>
|
659 |
+
</div>
|
660 |
+
<button class="mt-3 w-full bg-gray-200 text-gray-700 py-2 px-4 rounded-lg text-sm font-medium hover:bg-gray-300" disabled>Starts in 2h 15m</button>
|
661 |
+
</div>
|
662 |
+
<div class="p-4 border border-gray-200 rounded-lg bg-indigo-50">
|
663 |
+
<div class="flex justify-between items-start">
|
664 |
+
<div>
|
665 |
+
<p class="font-medium">Assignment Due</p>
|
666 |
+
<p class="text-sm text-gray-500">Math Homework</p>
|
667 |
+
</div>
|
668 |
+
<span class="px-2 py-1 bg-red-100 text-red-800 text-xs rounded-full">3:00 PM</span>
|
669 |
+
</div>
|
670 |
+
<div class="mt-2 flex items-center text-sm text-gray-500">
|
671 |
+
<i class="fas fa-tasks mr-1"></i>
|
672 |
+
<span>Chapter 5 Exercises</span>
|
673 |
+
</div>
|
674 |
+
<button class="mt-3 w-full bg-white text-indigo-600 border border-indigo-600 py-2 px-4 rounded-lg text-sm font-medium hover:bg-indigo-50">Submit Now</button>
|
675 |
+
</div>
|
676 |
+
</div>
|
677 |
+
</div>
|
678 |
+
</div>
|
679 |
+
|
680 |
+
<!-- Assignments -->
|
681 |
+
<div class="bg-white rounded-xl shadow-sm p-6">
|
682 |
+
<div class="flex justify-between items-center mb-6">
|
683 |
+
<h2 class="text-lg font-bold text-gray-800">Recent Assignments</h2>
|
684 |
+
<button class="text-sm text-indigo-600 hover:text-indigo-500">View All</button>
|
685 |
+
</div>
|
686 |
+
<div class="overflow-x-auto">
|
687 |
+
<table class="min-w-full divide-y divide-gray-200">
|
688 |
+
<thead class="bg-gray-50">
|
689 |
+
<tr>
|
690 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Assignment</th>
|
691 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Course</th>
|
692 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Due Date</th>
|
693 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
|
694 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Grade</th>
|
695 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Action</th>
|
696 |
+
</tr>
|
697 |
+
</thead>
|
698 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
699 |
+
<tr>
|
700 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
701 |
+
<div class="text-sm font-medium text-gray-900">Chapter 5 Exercises</div>
|
702 |
+
</td>
|
703 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
704 |
+
<div class="text-sm text-gray-900">Mathematics</div>
|
705 |
+
</td>
|
706 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
707 |
+
<div class="text-sm text-gray-900">Today, 3:00 PM</div>
|
708 |
+
</td>
|
709 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
710 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Due Soon</span>
|
711 |
+
</td>
|
712 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
713 |
+
<div class="text-sm text-gray-900">-</div>
|
714 |
+
</td>
|
715 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
716 |
+
<button class="text-indigo-600 hover:text-indigo-900 text-sm font-medium">Submit</button>
|
717 |
+
</td>
|
718 |
+
</tr>
|
719 |
+
<tr>
|
720 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
721 |
+
<div class="text-sm font-medium text-gray-900">Science Project</div>
|
722 |
+
</td>
|
723 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
724 |
+
<div class="text-sm text-gray-900">Science</div>
|
725 |
+
</td>
|
726 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
727 |
+
<div class="text-sm text-gray-900">Tomorrow, 11:59 PM</div>
|
728 |
+
</td>
|
729 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
730 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">In Progress</span>
|
731 |
+
</td>
|
732 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
733 |
+
<div class="text-sm text-gray-900">-</div>
|
734 |
+
</td>
|
735 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
736 |
+
<button class="text-indigo-600 hover:text-indigo-900 text-sm font-medium">Continue</button>
|
737 |
+
</td>
|
738 |
+
</tr>
|
739 |
+
<tr>
|
740 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
741 |
+
<div class="text-sm font-medium text-gray-900">Book Report</div>
|
742 |
+
</td>
|
743 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
744 |
+
<div class="text-sm text-gray-900">English</div>
|
745 |
+
</td>
|
746 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
747 |
+
<div class="text-sm text-gray-900">Apr 15, 2023</div>
|
748 |
+
</td>
|
749 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
750 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Submitted</span>
|
751 |
+
</td>
|
752 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
753 |
+
<div class="text-sm font-medium text-gray-900">A</div>
|
754 |
+
</td>
|
755 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
756 |
+
<button class="text-indigo-600 hover:text-indigo-900 text-sm font-medium">View</button>
|
757 |
+
</td>
|
758 |
+
</tr>
|
759 |
+
</tbody>
|
760 |
+
</table>
|
761 |
+
</div>
|
762 |
+
</div>
|
763 |
+
</div>
|
764 |
+
</div>
|
765 |
+
|
766 |
+
<script>
|
767 |
+
// Simple login logic to demonstrate switching between views
|
768 |
+
document.getElementById('login-form').addEventListener('submit', function(e) {
|
769 |
+
e.preventDefault();
|
770 |
+
const email = document.getElementById('email').value;
|
771 |
+
const password = document.getElementById('password').value;
|
772 |
+
|
773 |
+
// Simple demo logic - in a real app, you would validate credentials properly
|
774 |
+
if (email.includes('teacher')) {
|
775 |
+
document.getElementById('login-page').classList.add('hidden');
|
776 |
+
document.getElementById('teacher-dashboard').classList.remove('hidden');
|
777 |
+
} else if (email.includes('student')) {
|
778 |
+
document.getElementById('login-page').classList.add('hidden');
|
779 |
+
document.getElementById('student-dashboard').classList.remove('hidden');
|
780 |
+
} else {
|
781 |
+
alert('Invalid credentials. Use "[email protected]" or "[email protected]" for demo purposes.');
|
782 |
+
}
|
783 |
+
});
|
784 |
+
|
785 |
+
// Add some interactive elements
|
786 |
+
document.querySelectorAll('.card-hover').forEach(card => {
|
787 |
+
card.addEventListener('mouseenter', function() {
|
788 |
+
this.style.transition = 'transform 0.3s ease, box-shadow 0.3s ease';
|
789 |
+
});
|
790 |
+
});
|
791 |
+
|
792 |
+
// Notification bell animation
|
793 |
+
const bell = document.querySelector('.fa-bell');
|
794 |
+
if (bell) {
|
795 |
+
setInterval(() => {
|
796 |
+
bell.classList.toggle('animate-pulse-slow');
|
797 |
+
}, 3000);
|
798 |
+
}
|
799 |
+
</script>
|
800 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=GruntDaddy/educore2" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
801 |
+
</html>
|
prompts.txt
ADDED
File without changes
|