Decodeur commited on
Commit
0e2748c
·
verified ·
1 Parent(s): 471c1af

site internet de gestion des établissements scolaires privé avec toutes les fonctionnalités de A à Z - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +395 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Edumanagepro
3
- emoji: 🏢
4
- colorFrom: pink
5
- colorTo: yellow
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: edumanagepro
3
+ emoji: 🐳
4
+ colorFrom: yellow
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,395 @@
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="fr">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>EduManagePro | Gestion Scolaire Privée</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
+ .sidebar {
11
+ transition: all 0.3s ease;
12
+ }
13
+ .dashboard-content {
14
+ transition: all 0.3s ease;
15
+ }
16
+ @media (max-width: 768px) {
17
+ .sidebar {
18
+ transform: translateX(-100%);
19
+ }
20
+ .sidebar.active {
21
+ transform: translateX(0);
22
+ }
23
+ }
24
+ .chart-container {
25
+ height: 300px;
26
+ }
27
+ </style>
28
+ </head>
29
+ <body class="bg-gray-100 font-sans">
30
+ <div class="flex h-screen overflow-hidden">
31
+ <!-- Sidebar -->
32
+ <div class="sidebar bg-blue-800 text-white w-64 fixed h-full overflow-y-auto">
33
+ <div class="p-4 flex items-center space-x-2 border-b border-blue-700">
34
+ <i class="fas fa-graduation-cap text-2xl"></i>
35
+ <span class="text-xl font-bold">EduManagePro</span>
36
+ </div>
37
+ <nav class="mt-6">
38
+ <div>
39
+ <div class="px-4 py-2 text-blue-200 uppercase text-xs font-semibold">Général</div>
40
+ <a href="#" class="block px-4 py-3 hover:bg-blue-700 flex items-center space-x-2 text-white">
41
+ <i class="fas fa-tachometer-alt"></i>
42
+ <span>Tableau de bord</span>
43
+ </a>
44
+ <a href="#" class="block px-4 py-3 hover:bg-blue-700 flex items-center space-x-2 text-white">
45
+ <i class="fas fa-calendar-alt"></i>
46
+ <span>Calendrier</span>
47
+ </a>
48
+ </div>
49
+
50
+ <div class="mt-4">
51
+ <div class="px-4 py-2 text-blue-200 uppercase text-xs font-semibold">Élèves</div>
52
+ <a href="#" class="block px-4 py-3 hover:bg-blue-700 flex items-center space-x-2 text-white">
53
+ <i class="fas fa-users"></i>
54
+ <span>Liste des élèves</span>
55
+ </a>
56
+ <a href="#" class="block px-4 py-3 hover:bg-blue-700 flex items-center space-x-2 text-white">
57
+ <i class="fas fa-user-plus"></i>
58
+ <span>Inscriptions</span>
59
+ </a>
60
+ <a href="#" class="block px-4 py-3 hover:bg-blue-700 flex items-center space-x-2 text-white">
61
+ <i class="fas fa-id-card"></i>
62
+ <span>Dossiers scolaires</span>
63
+ </a>
64
+ </div>
65
+
66
+ <div class="mt-4">
67
+ <div class="px-4 py-2 text-blue-200 uppercase text-xs font-semibold">Enseignants</div>
68
+ <a href="#" class="block px-4 py-3 hover:bg-blue-700 flex items-center space-x-2 text-white">
69
+ <i class="fas fa-chalkboard-teacher"></i>
70
+ <span>Professeurs</span>
71
+ </a>
72
+ <a href="#" class="block px-4 py-3 hover:bg-blue-700 flex items-center space-x-2 text-white">
73
+ <i class="fas fa-tasks"></i>
74
+ <span>Emplois du temps</span>
75
+ </a>
76
+ </div>
77
+
78
+ <div class="mt-4">
79
+ <div class="px-4 py-2 text-blue-200 uppercase text-xs font-semibold">Pédagogie</div>
80
+ <a href="#" class="block px-4 py-3 hover:bg-blue-700 flex items-center space-x-2 text-white">
81
+ <i class="fas fa-book"></i>
82
+ <span>Cours & Programmes</span>
83
+ </a>
84
+ <a href="#" class="block px-4 py-3 hover:bg-blue-700 flex items-center space-x-2 text-white">
85
+ <i class="fas fa-clipboard-check"></i>
86
+ <span>Évaluations</span>
87
+ </a>
88
+ <a href="#" class="block px-4 py-3 hover:bg-blue-700 flex items-center space-x-2 text-white">
89
+ <i class="fas fa-chart-line"></i>
90
+ <span>Bulletins</span>
91
+ </a>
92
+ </div>
93
+
94
+ <div class="mt-4">
95
+ <div class="px-4 py-2 text-blue-200 uppercase text-xs font-semibold">Administration</div>
96
+ <a href="#" class="block px-4 py-3 hover:bg-blue-700 flex items-center space-x-2 text-white">
97
+ <i class="fas fa-euro-sign"></i>
98
+ <span>Finances</span>
99
+ </a>
100
+ <a href="#" class="block px-4 py-3 hover:bg-blue-700 flex items-center space-x-2 text-white">
101
+ <i class="fas fa-file-invoice"></i>
102
+ <span>Facturation</span>
103
+ </a>
104
+ <a href="#" class="block px-4 py-3 hover:bg-blue-700 flex items-center space-x-2 text-white">
105
+ <i class="fas fa-bell"></i>
106
+ <span>Communication</span>
107
+ </a>
108
+ <a href="#" class="block px-4 py-3 hover:bg-blue-700 flex items-center space-x-2 text-white">
109
+ <i class="fas fa-cog"></i>
110
+ <span>Paramètres</span>
111
+ </a>
112
+ </div>
113
+ </nav>
114
+ </div>
115
+
116
+ <!-- Main Content -->
117
+ <div class="dashboard-content flex-1 overflow-auto ml-64">
118
+ <!-- Top Navigation -->
119
+ <header class="bg-white shadow-sm">
120
+ <div class="flex justify-between items-center p-4">
121
+ <div class="flex items-center">
122
+ <button id="sidebarToggle" class="md:hidden text-gray-500 mr-4">
123
+ <i class="fas fa-bars text-xl"></i>
124
+ </button>
125
+ <h1 class="text-xl font-semibold text-gray-800">Tableau de bord</h1>
126
+ </div>
127
+ <div class="flex items-center space-x-4">
128
+ <div class="relative">
129
+ <button class="text-gray-500 hover:text-gray-700">
130
+ <i class="fas fa-bell text-xl"></i>
131
+ <span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-red-500"></span>
132
+ </button>
133
+ </div>
134
+ <div class="flex items-center space-x-2">
135
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Profile" class="w-8 h-8 rounded-full">
136
+ <span class="text-gray-700">Admin</span>
137
+ </div>
138
+ </div>
139
+ </div>
140
+ </header>
141
+
142
+ <!-- Dashboard Content -->
143
+ <main class="p-6">
144
+ <!-- Stats Cards -->
145
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
146
+ <div class="bg-white rounded-lg shadow p-6 flex items-center">
147
+ <div class="p-3 rounded-full bg-blue-100 text-blue-600 mr-4">
148
+ <i class="fas fa-users text-xl"></i>
149
+ </div>
150
+ <div>
151
+ <p class="text-gray-500">Élèves inscrits</p>
152
+ <h3 class="text-2xl font-bold">1,245</h3>
153
+ <p class="text-green-500 text-sm">+12% vs mois dernier</p>
154
+ </div>
155
+ </div>
156
+ <div class="bg-white rounded-lg shadow p-6 flex items-center">
157
+ <div class="p-3 rounded-full bg-green-100 text-green-600 mr-4">
158
+ <i class="fas fa-chalkboard-teacher text-xl"></i>
159
+ </div>
160
+ <div>
161
+ <p class="text-gray-500">Enseignants</p>
162
+ <h3 class="text-2xl font-bold">84</h3>
163
+ <p class="text-green-500 text-sm">+5% vs mois dernier</p>
164
+ </div>
165
+ </div>
166
+ <div class="bg-white rounded-lg shadow p-6 flex items-center">
167
+ <div class="p-3 rounded-full bg-purple-100 text-purple-600 mr-4">
168
+ <i class="fas fa-euro-sign text-xl"></i>
169
+ </div>
170
+ <div>
171
+ <p class="text-gray-500">Recettes mensuelles</p>
172
+ <h3 class="text-2xl font-bold">€245,678</h3>
173
+ <p class="text-red-500 text-sm">-2% vs mois dernier</p>
174
+ </div>
175
+ </div>
176
+ <div class="bg-white rounded-lg shadow p-6 flex items-center">
177
+ <div class="p-3 rounded-full bg-yellow-100 text-yellow-600 mr-4">
178
+ <i class="fas fa-graduation-cap text-xl"></i>
179
+ </div>
180
+ <div>
181
+ <p class="text-gray-500">Taux de réussite</p>
182
+ <h3 class="text-2xl font-bold">96%</h3>
183
+ <p class="text-green-500 text-sm">+3% vs année dernière</p>
184
+ </div>
185
+ </div>
186
+ </div>
187
+
188
+ <!-- Charts Row -->
189
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6">
190
+ <div class="bg-white rounded-lg shadow p-6">
191
+ <div class="flex justify-between items-center mb-4">
192
+ <h2 class="text-lg font-semibold">Évolution des inscriptions</h2>
193
+ <select class="border rounded px-3 py-1 text-sm">
194
+ <option>Cette année</option>
195
+ <option>L'année dernière</option>
196
+ <option>5 dernières années</option>
197
+ </select>
198
+ </div>
199
+ <div class="chart-container">
200
+ <canvas id="enrollmentsChart"></canvas>
201
+ </div>
202
+ </div>
203
+ <div class="bg-white rounded-lg shadow p-6">
204
+ <div class="flex justify-between items-center mb-4">
205
+ <h2 class="text-lg font-semibold">Répartition par niveau</h2>
206
+ <select class="border rounded px-3 py-1 text-sm">
207
+ <option>2023-2024</option>
208
+ <option>2022-2023</option>
209
+ <option>2021-2022</option>
210
+ </select>
211
+ </div>
212
+ <div class="chart-container">
213
+ <canvas id="gradesChart"></canvas>
214
+ </div>
215
+ </div>
216
+ </div>
217
+
218
+ <!-- Recent Activity & Upcoming Events -->
219
+ <div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
220
+ <div class="lg:col-span-2 bg-white rounded-lg shadow p-6">
221
+ <h2 class="text-lg font-semibold mb-4">Activité récente</h2>
222
+ <div class="space-y-4">
223
+ <div class="flex items-start">
224
+ <div class="p-2 rounded-full bg-blue-100 text-blue-600 mr-3">
225
+ <i class="fas fa-user-plus"></i>
226
+ </div>
227
+ <div>
228
+ <p class="font-medium">Nouvelle inscription</p>
229
+ <p class="text-sm text-gray-500">Marie Dupont s'est inscrite en Terminale S</p>
230
+ <p class="text-xs text-gray-400">Il y a 2 heures</p>
231
+ </div>
232
+ </div>
233
+ <div class="flex items-start">
234
+ <div class="p-2 rounded-full bg-green-100 text-green-600 mr-3">
235
+ <i class="fas fa-money-bill-wave"></i>
236
+ </div>
237
+ <div>
238
+ <p class="font-medium">Paiement reçu</p>
239
+ <p class="text-sm text-gray-500">Famille Martin - €1,200 pour frais de scolarité</p>
240
+ <p class="text-xs text-gray-400">Il y a 5 heures</p>
241
+ </div>
242
+ </div>
243
+ <div class="flex items-start">
244
+ <div class="p-2 rounded-full bg-purple-100 text-purple-600 mr-3">
245
+ <i class="fas fa-clipboard-check"></i>
246
+ </div>
247
+ <div>
248
+ <p class="font-medium">Nouvelle évaluation</p>
249
+ <p class="text-sm text-gray-500">M. Durand a ajouté un contrôle de Mathématiques</p>
250
+ <p class="text-xs text-gray-400">Hier à 14:30</p>
251
+ </div>
252
+ </div>
253
+ <div class="flex items-start">
254
+ <div class="p-2 rounded-full bg-yellow-100 text-yellow-600 mr-3">
255
+ <i class="fas fa-calendar-alt"></i>
256
+ </div>
257
+ <div>
258
+ <p class="font-medium">Événement ajouté</p>
259
+ <p class="text-sm text-gray-500">Réunion parents-professeurs le 15/10/2023</p>
260
+ <p class="text-xs text-gray-400">Hier à 09:15</p>
261
+ </div>
262
+ </div>
263
+ </div>
264
+ </div>
265
+
266
+ <div class="bg-white rounded-lg shadow p-6">
267
+ <h2 class="text-lg font-semibold mb-4">Événements à venir</h2>
268
+ <div class="space-y-4">
269
+ <div class="border-l-4 border-blue-500 pl-4 py-1">
270
+ <p class="font-medium">Réunion du conseil</p>
271
+ <p class="text-sm text-gray-500">Aujourd'hui, 16:00 - Salle de réunion</p>
272
+ </div>
273
+ <div class="border-l-4 border-green-500 pl-4 py-1">
274
+ <p class="font-medium">Sortie pédagogique</p>
275
+ <p class="text-sm text-gray-500">12/10/2023 - Musée des Sciences</p>
276
+ </div>
277
+ <div class="border-l-4 border-purple-500 pl-4 py-1">
278
+ <p class="font-medium">Date limite paiement</p>
279
+ <p class="text-sm text-gray-500">15/10/2023 - Frais de scolarité</p>
280
+ </div>
281
+ <div class="border-l-4 border-yellow-500 pl-4 py-1">
282
+ <p class="font-medium">Vacances scolaires</p>
283
+ <p class="text-sm text-gray-500">21/10/2023 au 05/11/2023</p>
284
+ </div>
285
+ </div>
286
+
287
+ <h2 class="text-lg font-semibold mt-6 mb-4">Tâches urgentes</h2>
288
+ <div class="space-y-2">
289
+ <div class="flex items-center">
290
+ <input type="checkbox" class="mr-2">
291
+ <span>Valider les inscriptions en attente (3)</span>
292
+ </div>
293
+ <div class="flex items-center">
294
+ <input type="checkbox" class="mr-2">
295
+ <span>Envoyer les convocations conseil de classe</span>
296
+ </div>
297
+ <div class="flex items-center">
298
+ <input type="checkbox" class="mr-2">
299
+ <span>Préparer le budget 2024</span>
300
+ </div>
301
+ </div>
302
+ </div>
303
+ </div>
304
+ </main>
305
+ </div>
306
+ </div>
307
+
308
+ <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
309
+ <script>
310
+ // Toggle sidebar on mobile
311
+ document.getElementById('sidebarToggle').addEventListener('click', function() {
312
+ document.querySelector('.sidebar').classList.toggle('active');
313
+ document.querySelector('.dashboard-content').classList.toggle('ml-0');
314
+ document.querySelector('.dashboard-content').classList.toggle('ml-64');
315
+ });
316
+
317
+ // Charts
318
+ document.addEventListener('DOMContentLoaded', function() {
319
+ // Enrollments Chart
320
+ const enrollmentsCtx = document.getElementById('enrollmentsChart').getContext('2d');
321
+ const enrollmentsChart = new Chart(enrollmentsCtx, {
322
+ type: 'line',
323
+ data: {
324
+ labels: ['Jan', 'Fév', 'Mar', 'Avr', 'Mai', 'Juin', 'Juil', 'Août', 'Sep', 'Oct', 'Nov', 'Déc'],
325
+ datasets: [{
326
+ label: 'Inscriptions 2023',
327
+ data: [65, 59, 80, 81, 56, 55, 40, 30, 85, 120, 105, 90],
328
+ backgroundColor: 'rgba(59, 130, 246, 0.2)',
329
+ borderColor: 'rgba(59, 130, 246, 1)',
330
+ borderWidth: 2,
331
+ tension: 0.4,
332
+ fill: true
333
+ }, {
334
+ label: 'Inscriptions 2022',
335
+ data: [50, 45, 60, 70, 50, 40, 30, 25, 70, 90, 80, 70],
336
+ backgroundColor: 'rgba(156, 163, 175, 0.2)',
337
+ borderColor: 'rgba(156, 163, 175, 1)',
338
+ borderWidth: 2,
339
+ tension: 0.4,
340
+ fill: true
341
+ }]
342
+ },
343
+ options: {
344
+ responsive: true,
345
+ maintainAspectRatio: false,
346
+ plugins: {
347
+ legend: {
348
+ position: 'top',
349
+ }
350
+ },
351
+ scales: {
352
+ y: {
353
+ beginAtZero: true
354
+ }
355
+ }
356
+ }
357
+ });
358
+
359
+ // Grades Distribution Chart
360
+ const gradesCtx = document.getElementById('gradesChart').getContext('2d');
361
+ const gradesChart = new Chart(gradesCtx, {
362
+ type: 'doughnut',
363
+ data: {
364
+ labels: ['Maternelle', 'Primaire', 'Collège', 'Lycée'],
365
+ datasets: [{
366
+ data: [15, 35, 30, 20],
367
+ backgroundColor: [
368
+ 'rgba(255, 99, 132, 0.7)',
369
+ 'rgba(54, 162, 235, 0.7)',
370
+ 'rgba(255, 206, 86, 0.7)',
371
+ 'rgba(75, 192, 192, 0.7)'
372
+ ],
373
+ borderColor: [
374
+ 'rgba(255, 99, 132, 1)',
375
+ 'rgba(54, 162, 235, 1)',
376
+ 'rgba(255, 206, 86, 1)',
377
+ 'rgba(75, 192, 192, 1)'
378
+ ],
379
+ borderWidth: 1
380
+ }]
381
+ },
382
+ options: {
383
+ responsive: true,
384
+ maintainAspectRatio: false,
385
+ plugins: {
386
+ legend: {
387
+ position: 'right',
388
+ }
389
+ }
390
+ }
391
+ });
392
+ });
393
+ </script>
394
+ <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/edumanagepro" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
395
+ </html>