Decodeur commited on
Commit
0a183a5
·
verified ·
1 Parent(s): f176ce8

application web pour la gestion des établissements scolaires avec le site officiel - Follow Up Deployment

Browse files
Files changed (1) hide show
  1. index.html +449 -17
index.html CHANGED
@@ -1,20 +1,452 @@
1
  <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>My app</title>
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <meta charset="utf-8">
7
  <script src="https://cdn.tailwindcss.com"></script>
8
- </head>
9
- <body class="flex justify-center items-center h-screen overflow-hidden bg-white font-sans text-center px-6">
10
- <div class="w-full">
11
- <span class="text-xs rounded-full mb-2 inline-block px-2 py-1 border border-amber-500/15 bg-amber-500/15 text-amber-500">🔥 New version dropped!</span>
12
- <h1 class="text-4xl lg:text-6xl font-bold font-sans">
13
- <span class="text-2xl lg:text-4xl text-gray-400 block font-medium">I'm ready to work,</span>
14
- Ask me anything.
15
- </h1>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  </div>
17
- <img src="https://enzostvs-deepsite.hf.space/arrow.svg" class="absolute bottom-8 left-0 w-[100px] transform rotate-[30deg]" />
18
- <script></script>
19
- <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=Decodeur/https-cdn-tailwindcss-com" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
20
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <!DOCTYPE html>
2
+ <html lang="fr">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>EduManage - Gestion des Établissements Scolaires</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
+ .dashboard-grid {
11
+ display: grid;
12
+ grid-template-columns: 250px 1fr;
13
+ min-height: 100vh;
14
+ }
15
+
16
+ .stats-grid {
17
+ display: grid;
18
+ grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
19
+ gap: 1rem;
20
+ }
21
+
22
+ .iframe-container {
23
+ position: relative;
24
+ overflow: hidden;
25
+ padding-top: 56.25%;
26
+ }
27
+
28
+ .iframe-container iframe {
29
+ position: absolute;
30
+ top: 0;
31
+ left: 0;
32
+ width: 100%;
33
+ height: 100%;
34
+ border: 0;
35
+ }
36
+
37
+ @media (max-width: 768px) {
38
+ .dashboard-grid {
39
+ grid-template-columns: 1fr;
40
+ }
41
+
42
+ .sidebar {
43
+ display: none;
44
+ }
45
+
46
+ .mobile-menu-button {
47
+ display: block;
48
+ }
49
+ }
50
+
51
+ .sidebar {
52
+ transition: all 0.3s ease;
53
+ }
54
+
55
+ .sidebar-mobile {
56
+ transform: translateX(-100%);
57
+ }
58
+
59
+ .sidebar-visible {
60
+ transform: translateX(0);
61
+ }
62
+ </style>
63
+ </head>
64
+ <body class="bg-gray-100 font-sans">
65
+ <!-- Mobile Menu Button -->
66
+ <div class="md:hidden bg-blue-800 p-4 flex justify-between items-center">
67
+ <h1 class="text-white font-bold text-xl">EduManage</h1>
68
+ <button id="mobileMenuButton" class="text-white focus:outline-none">
69
+ <i class="fas fa-bars text-2xl"></i>
70
+ </button>
71
  </div>
72
+
73
+ <!-- Dashboard Layout -->
74
+ <div class="dashboard-grid">
75
+ <!-- Sidebar -->
76
+ <div id="sidebar" class="sidebar bg-blue-800 text-white sidebar-mobile md:sidebar-visible">
77
+ <div class="p-4 hidden md:block">
78
+ <h1 class="text-2xl font-bold">EduManage</h1>
79
+ <p class="text-blue-200 text-sm">Gestion scolaire intelligente</p>
80
+ </div>
81
+
82
+ <nav class="mt-6">
83
+ <div class="px-4 py-2 text-blue-200 uppercase text-xs font-semibold">Navigation</div>
84
+ <a href="#" class="block px-4 py-3 text-white bg-blue-700 hover:bg-blue-600 transition">
85
+ <i class="fas fa-home mr-2"></i> Tableau de bord
86
+ </a>
87
+ <a href="#" class="block px-4 py-3 text-white hover:bg-blue-600 transition">
88
+ <i class="fas fa-school mr-2"></i> Établissements
89
+ </a>
90
+ <a href="#" class="block px-4 py-3 text-white hover:bg-blue-600 transition">
91
+ <i class="fas fa-users mr-2"></i> Élèves
92
+ </a>
93
+ <a href="#" class="block px-4 py-3 text-white hover:bg-blue-600 transition">
94
+ <i class="fas fa-chalkboard-teacher mr-2"></i> Enseignants
95
+ </a>
96
+ <a href="#" class="block px-4 py-3 text-white hover:bg-blue-600 transition">
97
+ <i class="fas fa-calendar-alt mr-2"></i> Emploi du temps
98
+ </a>
99
+ <a href="#" class="block px-4 py-3 text-white hover:bg-blue-600 transition">
100
+ <i class="fas fa-graduation-cap mr-2"></i> Résultats
101
+ </a>
102
+
103
+ <div class="px-4 py-2 text-blue-200 uppercase text-xs font-semibold mt-4">Administration</div>
104
+ <a href="#" class="block px-4 py-3 text-white hover:bg-blue-600 transition">
105
+ <i class="fas fa-cog mr-2"></i> Paramètres
106
+ </a>
107
+ <a href="#" class="block px-4 py-3 text-white hover:bg-blue-600 transition">
108
+ <i class="fas fa-globe mr-2"></i> Site Officiel
109
+ </a>
110
+ </nav>
111
+
112
+ <div class="absolute bottom-0 left-0 right-0 p-4 bg-blue-900">
113
+ <div class="flex items-center">
114
+ <img src="https://randomuser.me/api/portraits/women/65.jpg" alt="Profile" class="w-10 h-10 rounded-full">
115
+ <div class="ml-3">
116
+ <p class="text-white font-medium">Admin User</p>
117
+ <p class="text-blue-300 text-xs">Administrateur</p>
118
+ </div>
119
+ </div>
120
+ </div>
121
+ </div>
122
+
123
+ <!-- Main Content -->
124
+ <div class="p-4 md:p-8">
125
+ <header class="mb-8">
126
+ <h2 class="text-2xl font-bold text-gray-800">Tableau de bord</h2>
127
+ <p class="text-gray-600">Bienvenue dans le système de gestion des établissements scolaires</p>
128
+ </header>
129
+
130
+ <!-- Stats Cards -->
131
+ <div class="stats-grid mb-8">
132
+ <div class="bg-white p-4 rounded-lg shadow">
133
+ <div class="flex items-center">
134
+ <div class="p-3 rounded-full bg-blue-100 text-blue-600">
135
+ <i class="fas fa-school text-xl"></i>
136
+ </div>
137
+ <div class="ml-4">
138
+ <p class="text-gray-500">Établissements</p>
139
+ <h3 class="text-2xl font-bold">24</h3>
140
+ </div>
141
+ </div>
142
+ </div>
143
+
144
+ <div class="bg-white p-4 rounded-lg shadow">
145
+ <div class="flex items-center">
146
+ <div class="p-3 rounded-full bg-green-100 text-green-600">
147
+ <i class="fas fa-users text-xl"></i>
148
+ </div>
149
+ <div class="ml-4">
150
+ <p class="text-gray-500">Élèves</p>
151
+ <h3 class="text-2xl font-bold">1,245</h3>
152
+ </div>
153
+ </div>
154
+ </div>
155
+
156
+ <div class="bg-white p-4 rounded-lg shadow">
157
+ <div class="flex items-center">
158
+ <div class="p-3 rounded-full bg-purple-100 text-purple-600">
159
+ <i class="fas fa-chalkboard-teacher text-xl"></i>
160
+ </div>
161
+ <div class="ml-4">
162
+ <p class="text-gray-500">Enseignants</p>
163
+ <h3 class="text-2xl font-bold">98</h3>
164
+ </div>
165
+ </div>
166
+ </div>
167
+
168
+ <div class="bg-white p-4 rounded-lg shadow">
169
+ <div class="flex items-center">
170
+ <div class="p-3 rounded-full bg-yellow-100 text-yellow-600">
171
+ <i class="fas fa-calendar-check text-xl"></i>
172
+ </div>
173
+ <div class="ml-4">
174
+ <p class="text-gray-500">Activités</p>
175
+ <h3 class="text-2xl font-bold">15</h3>
176
+ </div>
177
+ </div>
178
+ </div>
179
+ </div>
180
+
181
+ <!-- Main Content Grid -->
182
+ <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8">
183
+ <!-- Recent Activities -->
184
+ <div class="bg-white p-6 rounded-lg shadow lg:col-span-2">
185
+ <div class="flex justify-between items-center mb-4">
186
+ <h3 class="text-lg font-semibold">Activités récentes</h3>
187
+ <a href="#" class="text-blue-600 text-sm">Voir tout</a>
188
+ </div>
189
+
190
+ <div class="space-y-4">
191
+ <div class="flex items-start">
192
+ <div class="p-2 bg-blue-100 rounded-full text-blue-600 mr-3">
193
+ <i class="fas fa-user-plus"></i>
194
+ </div>
195
+ <div>
196
+ <p class="font-medium">Nouvel élève inscrit</p>
197
+ <p class="text-gray-500 text-sm">Jean Dupont a été inscrit en classe de 5ème</p>
198
+ <p class="text-gray-400 text-xs mt-1">Il y a 2 heures</p>
199
+ </div>
200
+ </div>
201
+
202
+ <div class="flex items-start">
203
+ <div class="p-2 bg-green-100 rounded-full text-green-600 mr-3">
204
+ <i class="fas fa-check-circle"></i>
205
+ </div>
206
+ <div>
207
+ <p class="font-medium">Résultats publiés</p>
208
+ <p class="text-gray-500 text-sm">Les résultats du 2ème trimestre ont été publiés</p>
209
+ <p class="text-gray-400 text-xs mt-1">Il y a 1 jour</p>
210
+ </div>
211
+ </div>
212
+
213
+ <div class="flex items-start">
214
+ <div class="p-2 bg-purple-100 rounded-full text-purple-600 mr-3">
215
+ <i class="fas fa-calendar-alt"></i>
216
+ </div>
217
+ <div>
218
+ <p class="font-medium">Nouvel événement</p>
219
+ <p class="text-gray-500 text-sm">Journée portes ouvertes prévue le 15 juin</p>
220
+ <p class="text-gray-400 text-xs mt-1">Il y a 2 jours</p>
221
+ </div>
222
+ </div>
223
+ </div>
224
+ </div>
225
+
226
+ <!-- Quick Actions -->
227
+ <div class="bg-white p-6 rounded-lg shadow">
228
+ <h3 class="text-lg font-semibold mb-4">Actions rapides</h3>
229
+
230
+ <div class="grid grid-cols-2 gap-3">
231
+ <a href="#" class="p-4 bg-blue-50 rounded-lg text-center hover:bg-blue-100 transition">
232
+ <i class="fas fa-user-plus text-blue-600 text-xl mb-2"></i>
233
+ <p class="text-sm font-medium">Ajouter élève</p>
234
+ </a>
235
+
236
+ <a href="#" class="p-4 bg-green-50 rounded-lg text-center hover:bg-green-100 transition">
237
+ <i class="fas fa-chalkboard-teacher text-green-600 text-xl mb-2"></i>
238
+ <p class="text-sm font-medium">Ajouter enseignant</p>
239
+ </a>
240
+
241
+ <a href="#" class="p-4 bg-purple-50 rounded-lg text-center hover:bg-purple-100 transition">
242
+ <i class="fas fa-file-alt text-purple-600 text-xl mb-2"></i>
243
+ <p class="text-sm font-medium">Générer rapport</p>
244
+ </a>
245
+
246
+ <a href="#" class="p-4 bg-yellow-50 rounded-lg text-center hover:bg-yellow-100 transition">
247
+ <i class="fas fa-bell text-yellow-600 text-xl mb-2"></i>
248
+ <p class="text-sm font-medium">Envoyer notification</p>
249
+ </a>
250
+ </div>
251
+ </div>
252
+ </div>
253
+
254
+ <!-- School Website Section -->
255
+ <div class="bg-white p-6 rounded-lg shadow mb-8">
256
+ <div class="flex justify-between items-center mb-4">
257
+ <h3 class="text-lg font-semibold">Site Officiel de l'Établissement</h3>
258
+ <div class="flex space-x-2">
259
+ <button class="px-3 py-1 bg-blue-600 text-white rounded hover:bg-blue-700 transition">
260
+ <i class="fas fa-sync-alt mr-1"></i> Actualiser
261
+ </button>
262
+ <button class="px-3 py-1 bg-gray-200 text-gray-700 rounded hover:bg-gray-300 transition">
263
+ <i class="fas fa-expand mr-1"></i> Plein écran
264
+ </button>
265
+ </div>
266
+ </div>
267
+
268
+ <div class="iframe-container">
269
+ <iframe src="https://www.education.gouv.fr/" allowfullscreen></iframe>
270
+ </div>
271
+
272
+ <div class="mt-4 flex justify-between items-center">
273
+ <div class="text-sm text-gray-500">
274
+ <i class="fas fa-info-circle mr-1"></i> Site officiel du ministère de l'éducation
275
+ </div>
276
+ <div class="flex space-x-2">
277
+ <button class="text-blue-600 hover:text-blue-800">
278
+ <i class="fas fa-edit mr-1"></i> Modifier
279
+ </button>
280
+ <button class="text-blue-600 hover:text-blue-800">
281
+ <i class="fas fa-cog mr-1"></i> Paramètres
282
+ </button>
283
+ </div>
284
+ </div>
285
+ </div>
286
+
287
+ <!-- School List -->
288
+ <div class="bg-white p-6 rounded-lg shadow">
289
+ <div class="flex justify-between items-center mb-4">
290
+ <h3 class="text-lg font-semibold">Établissements scolaires</h3>
291
+ <button class="px-4 py-2 bg-blue-600 text-white rounded hover:bg-blue-700 transition">
292
+ <i class="fas fa-plus mr-1"></i> Ajouter
293
+ </button>
294
+ </div>
295
+
296
+ <div class="overflow-x-auto">
297
+ <table class="min-w-full divide-y divide-gray-200">
298
+ <thead class="bg-gray-50">
299
+ <tr>
300
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Nom</th>
301
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Type</th>
302
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Localisation</th>
303
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Élèves</th>
304
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Statut</th>
305
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
306
+ </tr>
307
+ </thead>
308
+ <tbody class="bg-white divide-y divide-gray-200">
309
+ <tr>
310
+ <td class="px-6 py-4 whitespace-nowrap">
311
+ <div class="flex items-center">
312
+ <div class="flex-shrink-0 h-10 w-10 bg-blue-100 rounded-full flex items-center justify-center text-blue-600">
313
+ <i class="fas fa-school"></i>
314
+ </div>
315
+ <div class="ml-4">
316
+ <div class="text-sm font-medium text-gray-900">Lycée Victor Hugo</div>
317
+ <div class="text-sm text-gray-500">Code: LVH123</div>
318
+ </div>
319
+ </div>
320
+ </td>
321
+ <td class="px-6 py-4 whitespace-nowrap">
322
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">
323
+ Lycée
324
+ </span>
325
+ </td>
326
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Paris, 75016</td>
327
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">856</td>
328
+ <td class="px-6 py-4 whitespace-nowrap">
329
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">
330
+ Actif
331
+ </span>
332
+ </td>
333
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
334
+ <a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a>
335
+ <a href="#" class="text-yellow-600 hover:text-yellow-900 mr-3"><i class="fas fa-edit"></i></a>
336
+ <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a>
337
+ </td>
338
+ </tr>
339
+
340
+ <tr>
341
+ <td class="px-6 py-4 whitespace-nowrap">
342
+ <div class="flex items-center">
343
+ <div class="flex-shrink-0 h-10 w-10 bg-green-100 rounded-full flex items-center justify-center text-green-600">
344
+ <i class="fas fa-school"></i>
345
+ </div>
346
+ <div class="ml-4">
347
+ <div class="text-sm font-medium text-gray-900">Collège Marie Curie</div>
348
+ <div class="text-sm text-gray-500">Code: CMC456</div>
349
+ </div>
350
+ </div>
351
+ </td>
352
+ <td class="px-6 py-4 whitespace-nowrap">
353
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">
354
+ Collège
355
+ </span>
356
+ </td>
357
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Lyon, 69002</td>
358
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">623</td>
359
+ <td class="px-6 py-4 whitespace-nowrap">
360
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">
361
+ Actif
362
+ </span>
363
+ </td>
364
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
365
+ <a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a>
366
+ <a href="#" class="text-yellow-600 hover:text-yellow-900 mr-3"><i class="fas fa-edit"></i></a>
367
+ <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a>
368
+ </td>
369
+ </tr>
370
+
371
+ <tr>
372
+ <td class="px-6 py-4 whitespace-nowrap">
373
+ <div class="flex items-center">
374
+ <div class="flex-shrink-0 h-10 w-10 bg-purple-100 rounded-full flex items-center justify-center text-purple-600">
375
+ <i class="fas fa-school"></i>
376
+ </div>
377
+ <div class="ml-4">
378
+ <div class="text-sm font-medium text-gray-900">École Primaire Jules Ferry</div>
379
+ <div class="text-sm text-gray-500">Code: EPJF789</div>
380
+ </div>
381
+ </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-purple-100 text-purple-800">
385
+ Primaire
386
+ </span>
387
+ </td>
388
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Marseille, 13001</td>
389
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">312</td>
390
+ <td class="px-6 py-4 whitespace-nowrap">
391
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">
392
+ Maintenance
393
+ </span>
394
+ </td>
395
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
396
+ <a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a>
397
+ <a href="#" class="text-yellow-600 hover:text-yellow-900 mr-3"><i class="fas fa-edit"></i></a>
398
+ <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a>
399
+ </td>
400
+ </tr>
401
+ </tbody>
402
+ </table>
403
+ </div>
404
+ </div>
405
+ </div>
406
+ </div>
407
+
408
+ <script>
409
+ // Mobile menu toggle
410
+ const mobileMenuButton = document.getElementById('mobileMenuButton');
411
+ const sidebar = document.getElementById('sidebar');
412
+
413
+ mobileMenuButton.addEventListener('click', () => {
414
+ sidebar.classList.toggle('sidebar-visible');
415
+ });
416
+
417
+ // Simulate loading data
418
+ document.addEventListener('DOMContentLoaded', () => {
419
+ // You could add AJAX calls here to load real data
420
+ console.log('Dashboard loaded');
421
+ });
422
+
423
+ // Sample function to show a notification
424
+ function showNotification(message, type = 'info') {
425
+ const colors = {
426
+ info: 'blue',
427
+ success: 'green',
428
+ warning: 'yellow',
429
+ error: 'red'
430
+ };
431
+
432
+ const notification = document.createElement('div');
433
+ notification.className = `fixed bottom-4 right-4 p-4 rounded-lg shadow-lg bg-${colors[type]}-100 border-l-4 border-${colors[type]}-500 text-${colors[type]}-700`;
434
+ notification.innerHTML = `
435
+ <div class="flex items-center">
436
+ <i class="fas fa-info-circle mr-2"></i>
437
+ <span>${message}</span>
438
+ </div>
439
+ `;
440
+
441
+ document.body.appendChild(notification);
442
+
443
+ setTimeout(() => {
444
+ notification.remove();
445
+ }, 3000);
446
+ }
447
+
448
+ // Example usage:
449
+ // showNotification('Bienvenue dans EduManage!', 'success');
450
+ </script>
451
+ <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=Decodeur/https-cdn-tailwindcss-com" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
452
+ </html>