tutosutiles commited on
Commit
e7eebd5
·
verified ·
1 Parent(s): e55711f

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +6 -4
  2. index.html +1137 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Auto1c
3
- emoji: 📊
4
  colorFrom: gray
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: auto1c
3
+ emoji: 🐳
4
  colorFrom: gray
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,1137 @@
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>Auto-École Pro</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
+ /* Custom CSS */
11
+ .slide-in { animation: slideIn 0.3s ease-out forwards; }
12
+ @keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
13
+ .fade-in { animation: fadeIn 0.5s ease-in forwards; }
14
+ @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
15
+ .dashboard-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
16
+ .dashboard-card { transition: all 0.3s ease; }
17
+ .calendar-day { transition: all 0.2s ease; }
18
+ .calendar-day:hover:not(.disabled) { background-color: #3b82f6; color: white; cursor: pointer; }
19
+ .calendar-day.selected { background-color: #2563eb; color: white; }
20
+ .calendar-day.disabled { opacity: 0.5; cursor: not-allowed; }
21
+ .tab-content { display: none; }
22
+ .tab-content.active { display: block; animation: fadeIn 0.3s ease-in; }
23
+ .active-tab { border-bottom: 3px solid; font-weight: 600; }
24
+ /* Scrollbar styling */
25
+ ::-webkit-scrollbar { width: 8px; height: 8px; }
26
+ ::-webkit-scrollbar-track { background: #f1f1f1; }
27
+ ::-webkit-scrollbar-thumb { background: #888; border-radius: 10px; }
28
+ ::-webkit-scrollbar-thumb:hover { background: #555; }
29
+ </style>
30
+ </head>
31
+ <body class="bg-gray-100 font-sans">
32
+ <!-- Login Screen -->
33
+ <div id="login-screen" class="min-h-screen flex items-center justify-center p-4">
34
+ <div class="bg-white rounded-xl shadow-2xl overflow-hidden w-full max-w-md">
35
+ <div class="bg-blue-600 py-6 px-8 text-center">
36
+ <h1 class="text-3xl font-bold text-white">Auto-École Pro</h1>
37
+ <p class="text-blue-100 mt-2">Connectez-vous à votre espace</p>
38
+ </div>
39
+ <div class="p-8">
40
+ <div class="mb-6">
41
+ <label class="block text-gray-700 text-sm font-bold mb-2" for="login-role">Rôle</label>
42
+ <select id="login-role" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline">
43
+ <option value="admin">Administrateur</option>
44
+ <option value="monitor">Moniteur</option>
45
+ <option value="student" selected>Élève</option>
46
+ </select>
47
+ </div>
48
+ <div class="mb-6">
49
+ <label class="block text-gray-700 text-sm font-bold mb-2" for="login-email">Email</label>
50
+ <input id="login-email" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" type="email" placeholder="email@example.com">
51
+ </div>
52
+ <div class="mb-6">
53
+ <label class="block text-gray-700 text-sm font-bold mb-2" for="login-password">Mot de passe</label>
54
+ <input id="login-password" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" type="password" placeholder="********">
55
+ </div>
56
+ <div class="flex items-center justify-between">
57
+ <button id="login-btn" class="bg-blue-600 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline w-full transition duration-300">
58
+ Connexion
59
+ </button>
60
+ </div>
61
+ <div class="mt-4 text-center">
62
+ <a href="#" class="text-blue-600 hover:text-blue-800 text-sm">Mot de passe oublié ?</a>
63
+ </div>
64
+ </div>
65
+ </div>
66
+ </div>
67
+
68
+ <!-- Admin Dashboard -->
69
+ <div id="admin-dashboard" class="hidden min-h-screen">
70
+ <!-- Sidebar -->
71
+ <div class="fixed inset-y-0 left-0 w-64 bg-gray-800 text-white shadow-lg">
72
+ <div class="flex items-center justify-center h-16 px-4 bg-gray-900">
73
+ <h1 class="text-xl font-bold">Admin Dashboard</h1>
74
+ </div>
75
+ <nav class="mt-6">
76
+ <div class="px-4 py-3 hover:bg-gray-700 cursor-pointer flex items-center active-nav-item" data-section="admin-dashboard">
77
+ <i class="fas fa-tachometer-alt mr-3"></i> Tableau de bord
78
+ </div>
79
+ <div class="px-4 py-3 hover:bg-gray-700 cursor-pointer flex items-center" data-section="admin-students">
80
+ <i class="fas fa-users mr-3"></i> Élèves
81
+ </div>
82
+ <div class="px-4 py-3 hover:bg-gray-700 cursor-pointer flex items-center" data-section="admin-monitors">
83
+ <i class="fas fa-chalkboard-teacher mr-3"></i> Moniteurs
84
+ </div>
85
+ <div class="px-4 py-3 hover:bg-gray-700 cursor-pointer flex items-center" data-section="admin-vehicles">
86
+ <i class="fas fa-car mr-3"></i> Véhicules
87
+ </div>
88
+ <div class="px-4 py-3 hover:bg-gray-700 cursor-pointer flex items-center" data-section="admin-lessons">
89
+ <i class="fas fa-calendar-alt mr-3"></i> Cours & Planning
90
+ </div>
91
+ <div class="px-4 py-3 hover:bg-gray-700 cursor-pointer flex items-center" data-section="admin-exams">
92
+ <i class="fas fa-file-alt mr-3"></i> Examens
93
+ </div>
94
+ <div class="px-4 py-3 hover:bg-gray-700 cursor-pointer flex items-center" data-section="admin-finance">
95
+ <i class="fas fa-euro-sign mr-3"></i> Finances
96
+ </div>
97
+ <div class="px-4 py-3 hover:bg-gray-700 cursor-pointer flex items-center" data-section="admin-settings">
98
+ <i class="fas fa-cog mr-3"></i> Paramètres
99
+ </div>
100
+ </nav>
101
+ <div class="absolute bottom-0 w-full p-4">
102
+ <button id="admin-logout" class="w-full bg-red-600 hover:bg-red-700 text-white py-2 px-4 rounded flex items-center justify-center">
103
+ <i class="fas fa-sign-out-alt mr-2"></i> Déconnexion
104
+ </button>
105
+ </div>
106
+ </div>
107
+
108
+ <!-- Main Content -->
109
+ <div class="ml-64">
110
+ <!-- Top Navigation -->
111
+ <header class="bg-white shadow-sm">
112
+ <div class="flex justify-between items-center px-6 py-4">
113
+ <h2 class="text-xl font-semibold text-gray-800">Tableau de bord</h2>
114
+ <div class="flex items-center space-x-4">
115
+ <div class="relative cursor-pointer" title="Notifications">
116
+ <i class="fas fa-bell text-gray-500"></i>
117
+ <span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-red-500"></span>
118
+ </div>
119
+ <div class="relative cursor-pointer" title="Messages">
120
+ <i class="fas fa-envelope text-gray-500"></i>
121
+ <span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-blue-500"></span>
122
+ </div>
123
+ <div class="flex items-center cursor-pointer">
124
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Admin" class="h-8 w-8 rounded-full">
125
+ <span class="ml-2 text-gray-700">Admin</span>
126
+ </div>
127
+ </div>
128
+ </div>
129
+ </header>
130
+
131
+ <!-- Dashboard Content -->
132
+ <main class="p-6">
133
+ <!-- Stats Cards -->
134
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
135
+ <div class="dashboard-card bg-white rounded-lg shadow p-6 flex items-center">
136
+ <div class="p-3 rounded-full bg-blue-100 text-blue-600 mr-4">
137
+ <i class="fas fa-users text-xl"></i>
138
+ </div>
139
+ <div>
140
+ <p class="text-gray-500">Élèves inscrits</p>
141
+ <h3 class="text-2xl font-bold">124</h3>
142
+ <p class="text-sm text-green-600">+5 ce mois</p>
143
+ </div>
144
+ </div>
145
+ <div class="dashboard-card bg-white rounded-lg shadow p-6 flex items-center">
146
+ <div class="p-3 rounded-full bg-green-100 text-green-600 mr-4">
147
+ <i class="fas fa-chalkboard-teacher text-xl"></i>
148
+ </div>
149
+ <div>
150
+ <p class="text-gray-500">Moniteurs actifs</p>
151
+ <h3 class="text-2xl font-bold">8</h3>
152
+ <p class="text-sm text-gray-500">2 en congés</p>
153
+ </div>
154
+ </div>
155
+ <div class="dashboard-card bg-white rounded-lg shadow p-6 flex items-center">
156
+ <div class="p-3 rounded-full bg-yellow-100 text-yellow-600 mr-4">
157
+ <i class="fas fa-car text-xl"></i>
158
+ </div>
159
+ <div>
160
+ <p class="text-gray-500">Véhicules</p>
161
+ <h3 class="text-2xl font-bold">12</h3>
162
+ <p class="text-sm text-red-600">2 en maintenance</p>
163
+ </div>
164
+ </div>
165
+ <div class="dashboard-card bg-white rounded-lg shadow p-6 flex items-center">
166
+ <div class="p-3 rounded-full bg-purple-100 text-purple-600 mr-4">
167
+ <i class="fas fa-euro-sign text-xl"></i>
168
+ </div>
169
+ <div>
170
+ <p class="text-gray-500">Revenus ce mois</p>
171
+ <h3 class="text-2xl font-bold">€8,450</h3>
172
+ <p class="text-sm text-green-600">+12% vs mois dernier</p>
173
+ </div>
174
+ </div>
175
+ </div>
176
+
177
+ <!-- Tabs for different sections -->
178
+ <div class="bg-white rounded-lg shadow mb-8">
179
+ <div class="border-b border-gray-200">
180
+ <nav class="flex -mb-px">
181
+ <button class="mr-8 py-4 px-1 border-b-2 font-medium text-sm active-tab border-blue-500 text-blue-600" data-tab="admin-tab-overview">
182
+ Aperçu
183
+ </button>
184
+ <button class="mr-8 py-4 px-1 border-b-2 font-medium text-sm border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300" data-tab="admin-tab-calendar">
185
+ Calendrier
186
+ </button>
187
+ <button class="mr-8 py-4 px-1 border-b-2 font-medium text-sm border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300" data-tab="admin-tab-reports">
188
+ Rapports
189
+ </button>
190
+ </nav>
191
+ </div>
192
+ <div class="p-6">
193
+ <!-- Overview Tab -->
194
+ <div id="admin-tab-overview" class="tab-content active">
195
+ <div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
196
+ <div class="lg:col-span-2">
197
+ <h3 class="text-lg font-semibold mb-4">Activité récente</h3>
198
+ <div class="bg-gray-50 rounded-lg p-4">
199
+ <div class="space-y-4">
200
+ <div class="flex items-start">
201
+ <div class="p-2 rounded-full bg-blue-100 text-blue-600 mr-3">
202
+ <i class="fas fa-user-plus"></i>
203
+ </div>
204
+ <div>
205
+ <p class="font-medium">Nouvel élève inscrit</p>
206
+ <p class="text-sm text-gray-500">Jean Dupont s'est inscrit il y a 2 heures</p>
207
+ </div>
208
+ </div>
209
+ <div class="flex items-start">
210
+ <div class="p-2 rounded-full bg-green-100 text-green-600 mr-3">
211
+ <i class="fas fa-check-circle"></i>
212
+ </div>
213
+ <div>
214
+ <p class="font-medium">Examen réussi</p>
215
+ <p class="text-sm text-gray-500">Marie Martin a réussi son permis hier</p>
216
+ </div>
217
+ </div>
218
+ <div class="flex items-start">
219
+ <div class="p-2 rounded-full bg-yellow-100 text-yellow-600 mr-3">
220
+ <i class="fas fa-calendar-plus"></i>
221
+ </div>
222
+ <div>
223
+ <p class="font-medium">Nouveau cours programmé</p>
224
+ <p class="text-sm text-gray-500">Leçon de conduite ajoutée pour demain</p>
225
+ </div>
226
+ </div>
227
+ <div class="flex items-start">
228
+ <div class="p-2 rounded-full bg-red-100 text-red-600 mr-3">
229
+ <i class="fas fa-exclamation-circle"></i>
230
+ </div>
231
+ <div>
232
+ <p class="font-medium">Paiement en retard</p>
233
+ <p class="text-sm text-gray-500">Pierre Lambert a un paiement en retard</p>
234
+ </div>
235
+ </div>
236
+ <div class="flex items-start">
237
+ <div class="p-2 rounded-full bg-purple-100 text-purple-600 mr-3">
238
+ <i class="fas fa-car-crash"></i>
239
+ </div>
240
+ <div>
241
+ <p class="font-medium">Véhicule en maintenance</p>
242
+ <p class="text-sm text-gray-500">La voiture AB-123-CD est en réparation</p>
243
+ </div>
244
+ </div>
245
+ </div>
246
+ <button class="mt-4 text-blue-600 hover:text-blue-800 text-sm font-medium">Voir toute l'activité</button>
247
+ </div>
248
+ </div>
249
+ <div>
250
+ <h3 class="text-lg font-semibold mb-4">Statistiques rapides</h3>
251
+ <div class="bg-gray-50 rounded-lg p-4">
252
+ <div class="mb-4">
253
+ <p class="text-sm text-gray-500 mb-1">Taux de réussite</p>
254
+ <div class="flex items-center">
255
+ <div class="w-full bg-gray-200 rounded-full h-2.5 mr-2">
256
+ <div class="bg-green-600 h-2.5 rounded-full" style="width: 72%"></div>
257
+ </div>
258
+ <span class="text-sm font-medium">72%</span>
259
+ </div>
260
+ </div>
261
+ <div class="mb-4">
262
+ <p class="text-sm text-gray-500 mb-1">Occupation moniteurs</p>
263
+ <div class="flex items-center">
264
+ <div class="w-full bg-gray-200 rounded-full h-2.5 mr-2">
265
+ <div class="bg-blue-600 h-2.5 rounded-full" style="width: 85%"></div>
266
+ </div>
267
+ <span class="text-sm font-medium">85%</span>
268
+ </div>
269
+ </div>
270
+ <div class="mb-4">
271
+ <p class="text-sm text-gray-500 mb-1">Utilisation véhicules</p>
272
+ <div class="flex items-center">
273
+ <div class="w-full bg-gray-200 rounded-full h-2.5 mr-2">
274
+ <div class="bg-yellow-500 h-2.5 rounded-full" style="width: 78%"></div>
275
+ </div>
276
+ <span class="text-sm font-medium">78%</span>
277
+ </div>
278
+ </div>
279
+ <div class="mb-4">
280
+ <p class="text-sm text-gray-500 mb-1">Satisfaction clients</p>
281
+ <div class="flex items-center">
282
+ <div class="w-full bg-gray-200 rounded-full h-2.5 mr-2">
283
+ <div class="bg-purple-600 h-2.5 rounded-full" style="width: 91%"></div>
284
+ </div>
285
+ <span class="text-sm font-medium">4.6/5</span>
286
+ </div>
287
+ </div>
288
+ <button class="mt-4 text-blue-600 hover:text-blue-800 text-sm font-medium">Voir les statistiques détaillées</button>
289
+ </div>
290
+ </div>
291
+ </div>
292
+ </div>
293
+
294
+ <!-- Calendar Tab -->
295
+ <div id="admin-tab-calendar" class="tab-content">
296
+ <div class="flex flex-col lg:flex-row gap-6">
297
+ <div class="lg:w-1/3">
298
+ <div class="bg-gray-50 rounded-lg p-4">
299
+ <div class="flex justify-between items-center mb-4">
300
+ <h3 class="text-lg font-semibold">Filtres</h3>
301
+ </div>
302
+ <div class="space-y-4">
303
+ <div>
304
+ <label class="block text-sm font-medium text-gray-700 mb-1">Moniteurs</label>
305
+ <select class="shadow-sm focus:ring-blue-500 focus:border-blue-500 block w-full sm:text-sm border-gray-300 rounded-md">
306
+ <option>Tous les moniteurs</option>
307
+ <option>Marc Dubois</option>
308
+ <option>Sophie Martin</option>
309
+ <option>Jean Dupont</option>
310
+ </select>
311
+ </div>
312
+ <div>
313
+ <label class="block text-sm font-medium text-gray-700 mb-1">Véhicules</label>
314
+ <select class="shadow-sm focus:ring-blue-500 focus:border-blue-500 block w-full sm:text-sm border-gray-300 rounded-md">
315
+ <option>Tous les véhicules</option>
316
+ <option>AB-123-CD</option>
317
+ <option>EF-456-GH</option>
318
+ <option>IJ-789-KL</option>
319
+ </select>
320
+ </div>
321
+ <div>
322
+ <label class="block text-sm font-medium text-gray-700 mb-1">Type de cours</label>
323
+ <select class="shadow-sm focus:ring-blue-500 focus:border-blue-500 block w-full sm:text-sm border-gray-300 rounded-md">
324
+ <option>Tous les types</option>
325
+ <option>Conduite</option>
326
+ <option>Code</option>
327
+ <option>Examen blanc</option>
328
+ </select>
329
+ </div>
330
+ <div>
331
+ <label class="block text-sm font-medium text-gray-700 mb-1">Statut</label>
332
+ <select class="shadow-sm focus:ring-blue-500 focus:border-blue-500 block w-full sm:text-sm border-gray-300 rounded-md">
333
+ <option>Tous les statuts</option>
334
+ <option>Confirmé</option>
335
+ <option>En attente</option>
336
+ <option>Annulé</option>
337
+ </select>
338
+ </div>
339
+ <button class="w-full bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-md text-sm font-medium">
340
+ Appliquer les filtres
341
+ </button>
342
+ </div>
343
+ </div>
344
+ </div>
345
+ <div class="lg:w-2/3">
346
+ <div class="bg-gray-50 rounded-lg p-4">
347
+ <div class="flex justify-between items-center mb-4">
348
+ <h3 class="text-lg font-semibold">Calendrier des cours</h3>
349
+ <div class="flex space-x-2">
350
+ <button class="p-1 rounded hover:bg-gray-200">
351
+ <i class="fas fa-chevron-left"></i>
352
+ </button>
353
+ <span class="font-medium">Mai 2023</span>
354
+ <button class="p-1 rounded hover:bg-gray-200">
355
+ <i class="fas fa-chevron-right"></i>
356
+ </button>
357
+ </div>
358
+ </div>
359
+ <div class="grid grid-cols-7 gap-1 text-center text-sm mb-2">
360
+ <div class="font-medium text-gray-500">Lun</div>
361
+ <div class="font-medium text-gray-500">Mar</div>
362
+ <div class="font-medium text-gray-500">Mer</div>
363
+ <div class="font-medium text-gray-500">Jeu</div>
364
+ <div class="font-medium text-gray-500">Ven</div>
365
+ <div class="font-medium text-gray-500">Sam</div>
366
+ <div class="font-medium text-gray-500">Dim</div>
367
+ </div>
368
+ <div class="grid grid-cols-7 gap-1 text-center">
369
+ <div class="calendar-day disabled py-2 rounded">29</div>
370
+ <div class="calendar-day disabled py-2 rounded">30</div>
371
+ <div class="calendar-day py-2 rounded">1</div>
372
+ <div class="calendar-day py-2 rounded">2</div>
373
+ <div class="calendar-day py-2 rounded">3</div>
374
+ <div class="calendar-day py-2 rounded">4</div>
375
+ <div class="calendar-day py-2 rounded">5</div>
376
+ <div class="calendar-day py-2 rounded">6</div>
377
+ <div class="calendar-day py-2 rounded">7</div>
378
+ <div class="calendar-day py-2 rounded">8</div>
379
+ <div class="calendar-day py-2 rounded">9</div>
380
+ <div class="calendar-day py-2 rounded">10</div>
381
+ <div class="calendar-day py-2 rounded">11</div>
382
+ <div class="calendar-day py-2 rounded">12</div>
383
+ <div class="calendar-day py-2 rounded">13</div>
384
+ <div class="calendar-day py-2 rounded">14</div>
385
+ <div class="calendar-day py-2 rounded">15</div>
386
+ <div class="calendar-day py-2 rounded">16</div>
387
+ <div class="calendar-day py-2 rounded">17</div>
388
+ <div class="calendar-day selected py-2 rounded bg-blue-100 text-blue-800">18</div>
389
+ <div class="calendar-day py-2 rounded">19</div>
390
+ <div class="calendar-day py-2 rounded">20</div>
391
+ <div class="calendar-day py-2 rounded">21</div>
392
+ <div class="calendar-day py-2 rounded">22</div>
393
+ <div class="calendar-day py-2 rounded">23</div>
394
+ <div class="calendar-day py-2 rounded">24</div>
395
+ <div class="calendar-day py-2 rounded">25</div>
396
+ <div class="calendar-day py-2 rounded">26</div>
397
+ <div class="calendar-day py-2 rounded">27</div>
398
+ <div class="calendar-day py-2 rounded">28</div>
399
+ <div class="calendar-day py-2 rounded">29</div>
400
+ <div class="calendar-day py-2 rounded">30</div>
401
+ <div class="calendar-day py-2 rounded">31</div>
402
+ <div class="calendar-day disabled py-2 rounded">1</div>
403
+ <div class="calendar-day disabled py-2 rounded">2</div>
404
+ </div>
405
+ <div class="mt-4 pt-4 border-t">
406
+ <h4 class="font-medium mb-2">Événements aujourd'hui</h4>
407
+ <div class="space-y-3">
408
+ <div class="flex items-center justify-between p-2 hover:bg-gray-100 rounded">
409
+ <div class="flex items-center">
410
+ <div class="w-2 h-2 rounded-full bg-blue-500 mr-2"></div>
411
+ <span class="text-sm">09:00 - Leçon conduite (Jean D.)</span>
412
+ </div>
413
+ <button class="text-gray-400 hover:text-gray-600 text-sm">
414
+ <i class="fas fa-ellipsis-v"></i>
415
+ </button>
416
+ </div>
417
+ <div class="flex items-center justify-between p-2 hover:bg-gray-100 rounded">
418
+ <div class="flex items-center">
419
+ <div class="w-2 h-2 rounded-full bg-green-500 mr-2"></div>
420
+ <span class="text-sm">10:00 - Examen théorique</span>
421
+ </div>
422
+ <button class="text-gray-400 hover:text-gray-600 text-sm">
423
+ <i class="fas fa-ellipsis-v"></i>
424
+ </button>
425
+ </div>
426
+ <div class="flex items-center justify-between p-2 hover:bg-gray-100 rounded">
427
+ <div class="flex items-center">
428
+ <div class="w-2 h-2 rounded-full bg-yellow-500 mr-2"></div>
429
+ <span class="text-sm">14:30 - Réunion moniteurs</span>
430
+ </div>
431
+ <button class="text-gray-400 hover:text-gray-600 text-sm">
432
+ <i class="fas fa-ellipsis-v"></i>
433
+ </button>
434
+ </div>
435
+ <div class="flex items-center justify-between p-2 hover:bg-gray-100 rounded">
436
+ <div class="flex items-center">
437
+ <div class="w-2 h-2 rounded-full bg-red-500 mr-2"></div>
438
+ <span class="text-sm">16:00 - Maintenance véhicule</span>
439
+ </div>
440
+ <button class="text-gray-400 hover:text-gray-600 text-sm">
441
+ <i class="fas fa-ellipsis-v"></i>
442
+ </button>
443
+ </div>
444
+ </div>
445
+ <button class="mt-3 text-blue-600 hover:text-blue-800 text-sm font-medium flex items-center">
446
+ <i class="fas fa-plus mr-1"></i> Ajouter un événement
447
+ </button>
448
+ </div>
449
+ </div>
450
+ </div>
451
+ </div>
452
+ </div>
453
+
454
+ <!-- Reports Tab -->
455
+ <div id="admin-tab-reports" class="tab-content">
456
+ <div class="bg-gray-50 rounded-lg p-4">
457
+ <div class="flex justify-between items-center mb-4">
458
+ <h3 class="text-lg font-semibold">Rapports et statistiques</h3>
459
+ <div class="flex space-x-2">
460
+ <button class="bg-white border border-gray-300 rounded-md px-3 py-1 text-sm font-medium text-gray-700 hover:bg-gray-50">
461
+ <i class="fas fa-download mr-1"></i> Exporter
462
+ </button>
463
+ <button class="bg-blue-600 text-white rounded-md px-3 py-1 text-sm font-medium hover:bg-blue-700">
464
+ <i class="fas fa-print mr-1"></i> Imprimer
465
+ </button>
466
+ </div>
467
+ </div>
468
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
469
+ <div class="bg-white p-4 rounded-lg shadow">
470
+ <h4 class="font-medium mb-3">Taux de réussite par mois</h4>
471
+ <div class="h-64">
472
+ <!-- Placeholder for chart -->
473
+ <div class="flex items-center justify-center h-full bg-gray-100 rounded">
474
+ <p class="text-gray-500">Graphique des taux de réussite</p>
475
+ </div>
476
+ </div>
477
+ </div>
478
+ <div class="bg-white p-4 rounded-lg shadow">
479
+ <h4 class="font-medium mb-3">Revenus par mois</h4>
480
+ <div class="h-64">
481
+ <!-- Placeholder for chart -->
482
+ <div class="flex items-center justify-center h-full bg-gray-100 rounded">
483
+ <p class="text-gray-500">Graphique des revenus</p>
484
+ </div>
485
+ </div>
486
+ </div>
487
+ </div>
488
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
489
+ <div class="bg-white p-4 rounded-lg shadow">
490
+ <h4 class="font-medium mb-3">Répartition par type de cours</h4>
491
+ <div class="h-64">
492
+ <!-- Placeholder for chart -->
493
+ <div class="flex items-center justify-center h-full bg-gray-100 rounded">
494
+ <p class="text-gray-500">Graphique camembert</p>
495
+ </div>
496
+ </div>
497
+ </div>
498
+ <div class="bg-white p-4 rounded-lg shadow">
499
+ <h4 class="font-medium mb-3">Occupation des moniteurs</h4>
500
+ <div class="h-64">
501
+ <!-- Placeholder for chart -->
502
+ <div class="flex items-center justify-center h-full bg-gray-100 rounded">
503
+ <p class="text-gray-500">Graphique à barres</p>
504
+ </div>
505
+ </div>
506
+ </div>
507
+ <div class="bg-white p-4 rounded-lg shadow">
508
+ <h4 class="font-medium mb-3">Utilisation des véhicules</h4>
509
+ <div class="h-64">
510
+ <!-- Placeholder for chart -->
511
+ <div class="flex items-center justify-center h-full bg-gray-100 rounded">
512
+ <p class="text-gray-500">Graphique combiné</p>
513
+ </div>
514
+ </div>
515
+ </div>
516
+ </div>
517
+ </div>
518
+ </div>
519
+ </div>
520
+ </div>
521
+
522
+ <!-- Students Section -->
523
+ <div id="admin-students" class="tab-content hidden">
524
+ <div class="bg-white rounded-lg shadow overflow-hidden">
525
+ <div class="px-6 py-4 border-b border-gray-200">
526
+ <div class="flex justify-between items-center">
527
+ <h3 class="text-lg font-semibold">Gestion des élèves</h3>
528
+ <button class="bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded text-sm font-medium flex items-center">
529
+ <i class="fas fa-plus mr-2"></i> Ajouter un élève
530
+ </button>
531
+ </div>
532
+ </div>
533
+ <div class="p-6">
534
+ <div class="mb-6">
535
+ <div class="flex flex-col md:flex-row md:items-center md:justify-between">
536
+ <div class="mb-4 md:mb-0">
537
+ <div class="relative">
538
+ <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
539
+ <i class="fas fa-search text-gray-400"></i>
540
+ </div>
541
+ <input type="text" class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm" placeholder="Rechercher un élève...">
542
+ </div>
543
+ </div>
544
+ <div class="flex space-x-3">
545
+ <select class="block w-full md:w-auto pl-3 pr-10 py-2 text-base border border-gray-300 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md">
546
+ <option>Tous les statuts</option>
547
+ <option>Actif</option>
548
+ <option>Inactif</option>
549
+ <option>En attente</option>
550
+ </select>
551
+ <select class="block w-full md:w-auto pl-3 pr-10 py-2 text-base border border-gray-300 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md">
552
+ <option>Trier par</option>
553
+ <option>Nom (A-Z)</option>
554
+ <option>Nom (Z-A)</option>
555
+ <option>Date d'inscription</option>
556
+ </select>
557
+ </div>
558
+ </div>
559
+ </div>
560
+ <div class="overflow-x-auto">
561
+ <table class="min-w-full divide-y divide-gray-200">
562
+ <thead class="bg-gray-50">
563
+ <tr>
564
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Nom</th>
565
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Téléphone</th>
566
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Inscription</th>
567
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Statut</th>
568
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Progression</th>
569
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
570
+ </tr>
571
+ </thead>
572
+ <tbody class="bg-white divide-y divide-gray-200">
573
+ <tr class="hover:bg-gray-50">
574
+ <td class="px-6 py-4 whitespace-nowrap">
575
+ <div class="flex items-center">
576
+ <div class="flex-shrink-0 h-10 w-10">
577
+ <img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/65.jpg" alt="">
578
+ </div>
579
+ <div class="ml-4">
580
+ <div class="text-sm font-medium text-gray-900">Sophie Durand</div>
581
+ <div class="text-sm text-gray-500">sophie.durand@example.com</div>
582
+ </div>
583
+ </div>
584
+ </td>
585
+ <td class="px-6 py-4 whitespace-nowrap">
586
+ <div class="text-sm text-gray-900">06 12 34 56 78</div>
587
+ </td>
588
+ <td class="px-6 py-4 whitespace-nowrap">
589
+ <div class="text-sm text-gray-900">15/03/2023</div>
590
+ </td>
591
+ <td class="px-6 py-4 whitespace-nowrap">
592
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Actif</span>
593
+ </td>
594
+ <td class="px-6 py-4 whitespace-nowrap">
595
+ <div class="w-full bg-gray-200 rounded-full h-2">
596
+ <div class="bg-blue-600 h-2 rounded-full" style="width: 75%"></div>
597
+ </div>
598
+ </td>
599
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
600
+ <a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a>
601
+ <a href="#" class="text-yellow-600 hover:text-yellow-900 mr-3"><i class="fas fa-edit"></i></a>
602
+ <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a>
603
+ </td>
604
+ </tr>
605
+ <tr class="hover:bg-gray-50">
606
+ <td class="px-6 py-4 whitespace-nowrap">
607
+ <div class="flex items-center">
608
+ <div class="flex-shrink-0 h-10 w-10">
609
+ <img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/men/32.jpg" alt="">
610
+ </div>
611
+ <div class="ml-4">
612
+ <div class="text-sm font-medium text-gray-900">Jean Dupont</div>
613
+ <div class="text-sm text-gray-500">jean.dupont@example.com</div>
614
+ </div>
615
+ </div>
616
+ </td>
617
+ <td class="px-6 py-4 whitespace-nowrap">
618
+ <div class="text-sm text-gray-900">06 98 76 54 32</div>
619
+ </td>
620
+ <td class="px-6 py-4 whitespace-nowrap">
621
+ <div class="text-sm text-gray-900">22/04/2023</div>
622
+ </td>
623
+ <td class="px-6 py-4 whitespace-nowrap">
624
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Actif</span>
625
+ </td>
626
+ <td class="px-6 py-4 whitespace-nowrap">
627
+ <div class="w-full bg-gray-200 rounded-full h-2">
628
+ <div class="bg-blue-600 h-2 rounded-full" style="width: 45%"></div>
629
+ </div>
630
+ </td>
631
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
632
+ <a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a>
633
+ <a href="#" class="text-yellow-600 hover:text-yellow-900 mr-3"><i class="fas fa-edit"></i></a>
634
+ <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a>
635
+ </td>
636
+ </tr>
637
+ <tr class="hover:bg-gray-50">
638
+ <td class="px-6 py-4 whitespace-nowrap">
639
+ <div class="flex items-center">
640
+ <div class="flex-shrink-0 h-10 w-10">
641
+ <img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/44.jpg" alt="">
642
+ </div>
643
+ <div class="ml-4">
644
+ <div class="text-sm font-medium text-gray-900">Marie Martin</div>
645
+ <div class="text-sm text-gray-500">marie.martin@example.com</div>
646
+ </div>
647
+ </div>
648
+ </td>
649
+ <td class="px-6 py-4 whitespace-nowrap">
650
+ <div class="text-sm text-gray-900">06 45 67 89 01</div>
651
+ </td>
652
+ <td class="px-6 py-4 whitespace-nowrap">
653
+ <div class="text-sm text-gray-900">10/01/2023</div>
654
+ </td>
655
+ <td class="px-6 py-4 whitespace-nowrap">
656
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">En attente</span>
657
+ </td>
658
+ <td class="px-6 py-4 whitespace-nowrap">
659
+ <div class="w-full bg-gray-200 rounded-full h-2">
660
+ <div class="bg-blue-600 h-2 rounded-full" style="width: 20%"></div>
661
+ </div>
662
+ </td>
663
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
664
+ <a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a>
665
+ <a href="#" class="text-yellow-600 hover:text-yellow-900 mr-3"><i class="fas fa-edit"></i></a>
666
+ <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a>
667
+ </td>
668
+ </tr>
669
+ <tr class="hover:bg-gray-50">
670
+ <td class="px-6 py-4 whitespace-nowrap">
671
+ <div class="flex items-center">
672
+ <div class="flex-shrink-0 h-10 w-10">
673
+ <img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/men/75.jpg" alt="">
674
+ </div>
675
+ <div class="ml-4">
676
+ <div class="text-sm font-medium text-gray-900">Pierre Lambert</div>
677
+ <div class="text-sm text-gray-500">pierre.lambert@example.com</div>
678
+ </div>
679
+ </div>
680
+ </td>
681
+ <td class="px-6 py-4 whitespace-nowrap">
682
+ <div class="text-sm text-gray-900">06 23 45 67 89</div>
683
+ </td>
684
+ <td class="px-6 py-4 whitespace-nowrap">
685
+ <div class="text-sm text-gray-900">05/05/2023</div>
686
+ </td>
687
+ <td class="px-6 py-4 whitespace-nowrap">
688
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Inactif</span>
689
+ </td>
690
+ <td class="px-6 py-4 whitespace-nowrap">
691
+ <div class="w-full bg-gray-200 rounded-full h-2">
692
+ <div class="bg-blue-600 h-2 rounded-full" style="width: 60%"></div>
693
+ </div>
694
+ </td>
695
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
696
+ <a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a>
697
+ <a href="#" class="text-yellow-600 hover:text-yellow-900 mr-3"><i class="fas fa-edit"></i></a>
698
+ <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a>
699
+ </td>
700
+ </tr>
701
+ </tbody>
702
+ </table>
703
+ </div>
704
+ <div class="mt-4 flex items-center justify-between">
705
+ <div class="text-sm text-gray-500">
706
+ Affichage de <span class="font-medium">1</span> à <span class="font-medium">4</span> sur <span class="font-medium">124</span> élèves
707
+ </div>
708
+ <div class="flex space-x-2">
709
+ <button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">
710
+ Précédent
711
+ </button>
712
+ <button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">
713
+ Suivant
714
+ </button>
715
+ </div>
716
+ </div>
717
+ </div>
718
+ </div>
719
+ </div>
720
+
721
+ <!-- Monitors Section -->
722
+ <div id="admin-monitors" class="tab-content hidden">
723
+ <div class="bg-white rounded-lg shadow overflow-hidden">
724
+ <div class="px-6 py-4 border-b border-gray-200">
725
+ <div class="flex justify-between items-center">
726
+ <h3 class="text-lg font-semibold">Gestion des moniteurs</h3>
727
+ <button class="bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded text-sm font-medium flex items-center">
728
+ <i class="fas fa-plus mr-2"></i> Ajouter un moniteur
729
+ </button>
730
+ </div>
731
+ </div>
732
+ <div class="p-6">
733
+ <div class="mb-6">
734
+ <div class="flex flex-col md:flex-row md:items-center md:justify-between">
735
+ <div class="mb-4 md:mb-0">
736
+ <div class="relative">
737
+ <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
738
+ <i class="fas fa-search text-gray-400"></i>
739
+ </div>
740
+ <input type="text" class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm" placeholder="Rechercher un moniteur...">
741
+ </div>
742
+ </div>
743
+ <div class="flex space-x-3">
744
+ <select class="block w-full md:w-auto pl-3 pr-10 py-2 text-base border border-gray-300 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md">
745
+ <option>Tous les statuts</option>
746
+ <option>Actif</option>
747
+ <option>En congé</option>
748
+ <option>Inactif</option>
749
+ </select>
750
+ <select class="block w-full md:w-auto pl-3 pr-10 py-2 text-base border border-gray-300 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md">
751
+ <option>Trier par</option>
752
+ <option>Nom (A-Z)</option>
753
+ <option>Nom (Z-A)</option>
754
+ <option>Date d'embauche</option>
755
+ </select>
756
+ </div>
757
+ </div>
758
+ </div>
759
+ <div class="overflow-x-auto">
760
+ <table class="min-w-full divide-y divide-gray-200">
761
+ <thead class="bg-gray-50">
762
+ <tr>
763
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Nom</th>
764
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Téléphone</th>
765
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Embauche</th>
766
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Statut</th>
767
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Élèves</th>
768
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
769
+ </tr>
770
+ </thead>
771
+ <tbody class="bg-white divide-y divide-gray-200">
772
+ <tr class="hover:bg-gray-50">
773
+ <td class="px-6 py-4 whitespace-nowrap">
774
+ <div class="flex items-center">
775
+ <div class="flex-shrink-0 h-10 w-10">
776
+ <img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/men/32.jpg" alt="">
777
+ </div>
778
+ <div class="ml-4">
779
+ <div class="text-sm font-medium text-gray-900">Marc Dubois</div>
780
+ <div class="text-sm text-gray-500">marc.dubois@example.com</div>
781
+ </div>
782
+ </div>
783
+ </td>
784
+ <td class="px-6 py-4 whitespace-nowrap">
785
+ <div class="text-sm text-gray-900">06 12 34 56 78</div>
786
+ </td>
787
+ <td class="px-6 py-4 whitespace-nowrap">
788
+ <div class="text-sm text-gray-900">15/03/2021</div>
789
+ </td>
790
+ <td class="px-6 py-4 whitespace-nowrap">
791
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Actif</span>
792
+ </td>
793
+ <td class="px-6 py-4 whitespace-nowrap">
794
+ <div class="text-sm text-gray-900">12 élèves</div>
795
+ </td>
796
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
797
+ <a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a>
798
+ <a href="#" class="text-yellow-600 hover:text-yellow-900 mr-3"><i class="fas fa-edit"></i></a>
799
+ <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a>
800
+ </td>
801
+ </tr>
802
+ <tr class="hover:bg-gray-50">
803
+ <td class="px-6 py-4 whitespace-nowrap">
804
+ <div class="flex items-center">
805
+ <div class="flex-shrink-0 h-10 w-10">
806
+ <img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/44.jpg" alt="">
807
+ </div>
808
+ <div class="ml-4">
809
+ <div class="text-sm font-medium text-gray-900">Sophie Martin</div>
810
+ <div class="text-sm text-gray-500">sophie.martin@example.com</div>
811
+ </div>
812
+ </div>
813
+ </td>
814
+ <td class="px-6 py-4 whitespace-nowrap">
815
+ <div class="text-sm text-gray-900">06 98 76 54 32</div>
816
+ </td>
817
+ <td class="px-6 py-4 whitespace-nowrap">
818
+ <div class="text-sm text-gray-900">22/04/2020</div>
819
+ </td>
820
+ <td class="px-6 py-4 whitespace-nowrap">
821
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">En congé</span>
822
+ </td>
823
+ <td class="px-6 py-4 whitespace-nowrap">
824
+ <div class="text-sm text-gray-900">8 élèves</div>
825
+ </td>
826
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
827
+ <a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a>
828
+ <a href="#" class="text-yellow-600 hover:text-yellow-900 mr-3"><i class="fas fa-edit"></i></a>
829
+ <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a>
830
+ </td>
831
+ </tr>
832
+ <tr class="hover:bg-gray-50">
833
+ <td class="px-6 py-4 whitespace-nowrap">
834
+ <div class="flex items-center">
835
+ <div class="flex-shrink-0 h-10 w-10">
836
+ <img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/men/75.jpg" alt="">
837
+ </div>
838
+ <div class="ml-4">
839
+ <div class="text-sm font-medium text-gray-900">Jean Dupont</div>
840
+ <div class="text-sm text-gray-500">jean.dupont@example.com</div>
841
+ </div>
842
+ </div>
843
+ </td>
844
+ <td class="px-6 py-4 whitespace-nowrap">
845
+ <div class="text-sm text-gray-900">06 45 67 89 01</div>
846
+ </td>
847
+ <td class="px-6 py-4 whitespace-nowrap">
848
+ <div class="text-sm text-gray-900">10/01/2022</div>
849
+ </td>
850
+ <td class="px-6 py-4 whitespace-nowrap">
851
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Actif</span>
852
+ </td>
853
+ <td class="px-6 py-4 whitespace-nowrap">
854
+ <div class="text-sm text-gray-900">15 élèves</div>
855
+ </td>
856
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
857
+ <a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a>
858
+ <a href="#" class="text-yellow-600 hover:text-yellow-900 mr-3"><i class="fas fa-edit"></i></a>
859
+ <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a>
860
+ </td>
861
+ </tr>
862
+ <tr class="hover:bg-gray-50">
863
+ <td class="px-6 py-4 whitespace-nowrap">
864
+ <div class="flex items-center">
865
+ <div class="flex-shrink-0 h-10 w-10">
866
+ <img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/65.jpg" alt="">
867
+ </div>
868
+ <div class="ml-4">
869
+ <div class="text-sm font-medium text-gray-900">Marie Durand</div>
870
+ <div class="text-sm text-gray-500">marie.durand@example.com</div>
871
+ </div>
872
+ </div>
873
+ </td>
874
+ <td class="px-6 py-4 whitespace-nowrap">
875
+ <div class="text-sm text-gray-900">06 23 45 67 89</div>
876
+ </td>
877
+ <td class="px-6 py-4 whitespace-nowrap">
878
+ <div class="text-sm text-gray-900">05/05/2021</div>
879
+ </td>
880
+ <td class="px-6 py-4 whitespace-nowrap">
881
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Inactif</span>
882
+ </td>
883
+ <td class="px-6 py-4 whitespace-nowrap">
884
+ <div class="text-sm text-gray-900">0 élève</div>
885
+ </td>
886
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
887
+ <a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a>
888
+ <a href="#" class="text-yellow-600 hover:text-yellow-900 mr-3"><i class="fas fa-edit"></i></a>
889
+ <a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a>
890
+ </td>
891
+ </tr>
892
+ </tbody>
893
+ </table>
894
+ </div>
895
+ <div class="mt-4 flex items-center justify-between">
896
+ <div class="text-sm text-gray-500">
897
+ Affichage de <span class="font-medium">1</span> à <span class="font-medium">4</span> sur <span class="font-medium">8</span> moniteurs
898
+ </div>
899
+ <div class="flex space-x-2">
900
+ <button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">
901
+ Précédent
902
+ </button>
903
+ <button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">
904
+ Suivant
905
+ </button>
906
+ </div>
907
+ </div>
908
+ </div>
909
+ </div>
910
+ </div>
911
+
912
+ <!-- Vehicles Section -->
913
+ <div id="admin-vehicles" class="tab-content hidden">
914
+ <div class="bg-white rounded-lg shadow overflow-hidden">
915
+ <div class="px-6 py-4 border-b border-gray-200">
916
+ <div class="flex justify-between items-center">
917
+ <h3 class="text-lg font-semibold">Gestion des véhicules</h3>
918
+ <button class="bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded text-sm font-medium flex items-center">
919
+ <i class="fas fa-plus mr-2"></i> Ajouter un véhicule
920
+ </button>
921
+ </div>
922
+ </div>
923
+ <div class="p-6">
924
+ <div class="mb-6">
925
+ <div class="flex flex-col md:flex-row md:items-center md:justify-between">
926
+ <div class="mb-4 md:mb-0">
927
+ <div class="relative">
928
+ <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
929
+ <i class="fas fa-search text-gray-400"></i>
930
+ </div>
931
+ <input type="text" class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm" placeholder="Rechercher un véhicule...">
932
+ </div>
933
+ </div>
934
+ <div class="flex space-x-3">
935
+ <select class="block w-full md:w-auto pl-3 pr-10 py-2 text-base border border-gray-300 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md">
936
+ <option>Tous les statuts</option>
937
+ <option>Disponible</option>
938
+ <option>En cours d'utilisation</option>
939
+ <option>En maintenance</option>
940
+ </select>
941
+ <select class="block w-full md:w-auto pl-3 pr-10 py-2 text-base border border-gray-300 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md">
942
+ <option>Trier par</option>
943
+ <option>Marque (A-Z)</option>
944
+ <option>Marque (Z-A)</option>
945
+ <option>Date d'ajout</option>
946
+ </select>
947
+ </div>
948
+ </div>
949
+ </div>
950
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
951
+ <!-- Vehicle Card 1 -->
952
+ <div class="bg-white border border-gray-200 rounded-lg shadow hover:shadow-md transition-shadow">
953
+ <div class="relative">
954
+ <img class="rounded-t-lg w-full h-40 object-cover" src="https://images.unsplash.com/photo-1494976388531-d1058494cdd8?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60" alt="">
955
+ <span class="absolute top-2 right-2 bg-blue-100 text-blue-800 text-xs font-medium px-2.5 py-0.5 rounded">Disponible</span>
956
+ </div>
957
+ <div class="p-5">
958
+ <h5 class="mb-2 text-xl font-bold tracking-tight text-gray-900">Peugeot 208</h5>
959
+ <div class="grid grid-cols-2 gap-2 mb-3">
960
+ <div>
961
+ <p class="text-sm text-gray-500">Immatriculation</p>
962
+ <p class="font-medium">AB-123-CD</p>
963
+ </div>
964
+ <div>
965
+ <p class="text-sm text-gray-500">Année</p>
966
+ <p class="font-medium">2021</p>
967
+ </div>
968
+ <div>
969
+ <p class="text-sm text-gray-500">Kilométrage</p>
970
+ <p class="font-medium">24,500 km</p>
971
+ </div>
972
+ <div>
973
+ <p class="text-sm text-gray-500">Type</p>
974
+ <p class="font-medium">Manuelle</p>
975
+ </div>
976
+ </div>
977
+ <div class="flex justify-between">
978
+ <button class="text-white bg-blue-600 hover:bg-blue-700 font-medium rounded-lg text-sm px-3 py-2 text-center inline-flex items-center">
979
+ <i class="fas fa-edit mr-2"></i> Modifier
980
+ </button>
981
+ <button class="text-white bg-red-600 hover:bg-red-700 font-medium rounded-lg text-sm px-3 py-2 text-center inline-flex items-center">
982
+ <i class="fas fa-trash mr-2"></i> Supprimer
983
+ </button>
984
+ </div>
985
+ </div>
986
+ </div>
987
+
988
+ <!-- Vehicle Card 2 -->
989
+ <div class="bg-white border border-gray-200 rounded-lg shadow hover:shadow-md transition-shadow">
990
+ <div class="relative">
991
+ <img class="rounded-t-lg w-full h-40 object-cover" src="https://images.unsplash.com/photo-1503376780353-7e6692767b70?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60" alt="">
992
+ <span class="absolute top-2 right-2 bg-yellow-100 text-yellow-800 text-xs font-medium px-2.5 py-0.5 rounded">En cours</span>
993
+ </div>
994
+ <div class="p-5">
995
+ <h5 class="mb-2 text-xl font-bold tracking-tight text-gray-900">Renault Clio</h5>
996
+ <div class="grid grid-cols-2 gap-2 mb-3">
997
+ <div>
998
+ <p class="text-sm text-gray-500">Immatriculation</p>
999
+ <p class="font-medium">EF-456-GH</p>
1000
+ </div>
1001
+ <div>
1002
+ <p class="text-sm text-gray-500">Année</p>
1003
+ <p class="font-medium">2022</p>
1004
+ </div>
1005
+ <div>
1006
+ <p class="text-sm text-gray-500">Kilométrage</p>
1007
+ <p class="font-medium">12,300 km</p>
1008
+ </div>
1009
+ <div>
1010
+ <p class="text-sm text-gray-500">Type</p>
1011
+ <p class="font-medium">Automatique</p>
1012
+ </div>
1013
+ </div>
1014
+ <div class="flex justify-between">
1015
+ <button class="text-white bg-blue-600 hover:bg-blue-700 font-medium rounded-lg text-sm px-3 py-2 text-center inline-flex items-center">
1016
+ <i class="fas fa-edit mr-2"></i> Modifier
1017
+ </button>
1018
+ <button class="text-white bg-red-600 hover:bg-red-700 font-medium rounded-lg text-sm px-3 py-2 text-center inline-flex items-center">
1019
+ <i class="fas fa-trash mr-2"></i> Supprimer
1020
+ </button>
1021
+ </div>
1022
+ </div>
1023
+ </div>
1024
+
1025
+ <!-- Vehicle Card 3 -->
1026
+ <div class="bg-white border border-gray-200 rounded-lg shadow hover:shadow-md transition-shadow">
1027
+ <div class="relative">
1028
+ <img class="rounded-t-lg w-full h-40 object-cover" src="https://images.unsplash.com/photo-1541899481282-d53bffe3c35d?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60" alt="">
1029
+ <span class="absolute top-2 right-2 bg-red-100 text-red-800 text-xs font-medium px-2.5 py-0.5 rounded">Maintenance</span>
1030
+ </div>
1031
+ <div class="p-5">
1032
+ <h5 class="mb-2 text-xl font-bold tracking-tight text-gray-900">Citroën C3</h5>
1033
+ <div class="grid grid-cols-2 gap-2 mb-3">
1034
+ <div>
1035
+ <p class="text-sm text-gray-500">Immatriculation</p>
1036
+ <p class="font-medium">IJ-789-KL</p>
1037
+ </div>
1038
+ <div>
1039
+ <p class="text-sm text-gray-500">Année</p>
1040
+ <p class="font-medium">2020</p>
1041
+ </div>
1042
+ <div>
1043
+ <p class="text-sm text-gray-500">Kilométrage</p>
1044
+ <p class="font-medium">38,700 km</p>
1045
+ </div>
1046
+ <div>
1047
+ <p class="text-sm text-gray-500">Type</p>
1048
+ <p class="font-medium">Manuelle</p>
1049
+ </div>
1050
+ </div>
1051
+ <div class="flex justify-between">
1052
+ <button class="text-white bg-blue-600 hover:bg-blue-700 font-medium rounded-lg text-sm px-3 py-2 text-center inline-flex items-center">
1053
+ <i class="fas fa-edit mr-2"></i> Modifier
1054
+ </button>
1055
+ <button class="text-white bg-red-600 hover:bg-red-700 font-medium rounded-lg text-sm px-3 py-2 text-center inline-flex items-center">
1056
+ <i class="fas fa-trash mr-2"></i> Supprimer
1057
+ </button>
1058
+ </div>
1059
+ </div>
1060
+ </div>
1061
+ </div>
1062
+ <div class="mt-4 flex items-center justify-between">
1063
+ <div class="text-sm text-gray-500">
1064
+ Affichage de <span class="font-medium">1</span> à <span class="font-medium">3</span> sur <span class="font-medium">12</span> véhicules
1065
+ </div>
1066
+ <div class="flex space-x-2">
1067
+ <button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">
1068
+ Précédent
1069
+ </button>
1070
+ <button class="px-3 py-1 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">
1071
+ Suivant
1072
+ </button>
1073
+ </div>
1074
+ </div>
1075
+ </div>
1076
+ </div>
1077
+ </div>
1078
+
1079
+ <!-- Lessons Section -->
1080
+ <div id="admin-lessons" class="tab-content hidden">
1081
+ <div class="bg-white rounded-lg shadow overflow-hidden">
1082
+ <div class="px-6 py-4 border-b border-gray-200">
1083
+ <div class="flex justify-between items-center">
1084
+ <h3 class="text-lg font-semibold">Gestion des cours</h3>
1085
+ <div class="flex space-x-2">
1086
+ <button class="bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded text-sm font-medium flex items-center">
1087
+ <i class="fas fa-plus mr-2"></i> Ajouter un cours
1088
+ </button>
1089
+ <button class="bg-green-600 hover:bg-green-700 text-white py-2 px-4 rounded text-sm font-medium flex items-center">
1090
+ <i class="fas fa-calendar-plus mr-2"></i> Planifier en masse
1091
+ </button>
1092
+ </div>
1093
+ </div>
1094
+ </div>
1095
+ <div class="p-6">
1096
+ <div class="mb-6">
1097
+ <div class="flex flex-col md:flex-row md:items-center md:justify-between">
1098
+ <div class="mb-4 md:mb-0">
1099
+ <div class="relative">
1100
+ <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
1101
+ <i class="fas fa-search text-gray-400"></i>
1102
+ </div>
1103
+ <input type="text" class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm" placeholder="Rechercher un cours...">
1104
+ </div>
1105
+ </div>
1106
+ <div class="flex space-x-3">
1107
+ <select class="block w-full md:w-auto pl-3 pr-10 py-2 text-base border border-gray-300 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md">
1108
+ <option>Tous les types</option>
1109
+ <option>Conduite</option>
1110
+ <option>Code</option>
1111
+ <option>Examen blanc</option>
1112
+ </select>
1113
+ <select class="block w-full md:w-auto pl-3 pr-10 py-2 text-base border border-gray-300 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md">
1114
+ <option>Tous les statuts</option>
1115
+ <option>Confirmé</option>
1116
+ <option>En attente</option>
1117
+ <option>Annulé</option>
1118
+ </select>
1119
+ <select class="block w-full md:w-auto pl-3 pr-10 py-2 text-base border border-gray-300 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md">
1120
+ <option>Date: Toutes</option>
1121
+ <option>Aujourd'hui</option>
1122
+ <option>Cette semaine</option>
1123
+ <option>Ce mois</option>
1124
+ </select>
1125
+ </div>
1126
+ </div>
1127
+ </div>
1128
+ <div class="overflow-x-auto">
1129
+ <table class="min-w-full divide-y divide-gray-200">
1130
+ <thead class="bg-gray-50">
1131
+ <tr>
1132
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date & Heure</th>
1133
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Élève</th>
1134
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Moniteur</th>
1135
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Véhicule</th>
1136
+ <th scope="col" class="px-6 py-3 text-left text
1137
+ </html>