File size: 27,215 Bytes
af19dcc | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 | <!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tableau de bord - École Maternelle</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Poppins', sans-serif;
}
.sidebar {
transition: all 0.3s;
}
.sidebar-collapsed {
width: 5rem;
}
.sidebar-expanded {
width: 16rem;
}
.main-content {
transition: margin-left 0.3s;
}
.active-nav-item {
background-color: #EFF6FF;
border-left: 4px solid #3B82F6;
color: #3B82F6;
}
</style>
</head>
<body class="bg-gray-100">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<div id="sidebar" class="sidebar sidebar-expanded bg-white shadow-md flex flex-col">
<div class="flex items-center justify-between p-4 border-b">
<div class="flex items-center">
<i data-feather="home" class="text-blue-500 mr-2"></i>
<span class="text-lg font-bold text-blue-600 whitespace-nowrap">École Maternelle</span>
</div>
<button id="toggle-sidebar" class="text-gray-500 hover:text-gray-700">
<i data-feather="chevron-left"></i>
</button>
</div>
<div class="flex-1 overflow-y-auto">
<nav class="px-2 space-y-1 py-4">
<a href="#" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md active-nav-item">
<i data-feather="home" class="mr-3 flex-shrink-0 h-5 w-5"></i>
Tableau de bord
</a>
<a href="students.html" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-gray-600 hover:bg-gray-50 hover:text-gray-900">
<i data-feather="users" class="mr-3 flex-shrink-0 h-5 w-5"></i>
Élèves
</a>
<a href="attendance.html" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-gray-600 hover:bg-gray-50 hover:text-gray-900">
<i data-feather="calendar" class="mr-3 flex-shrink-0 h-5 w-5"></i>
Présences
</a>
<a href="classes.html" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-gray-600 hover:bg-gray-50 hover:text-gray-900">
<i data-feather="book" class="mr-3 flex-shrink-0 h-5 w-5"></i>
Classes
</a>
<a href="homework.html" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-gray-600 hover:bg-gray-50 hover:text-gray-900">
<i data-feather="edit" class="mr-3 flex-shrink-0 h-5 w-5"></i>
Devoirs
</a>
<a href="schedule.html" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-gray-600 hover:bg-gray-50 hover:text-gray-900">
<i data-feather="clock" class="mr-3 flex-shrink-0 h-5 w-5"></i>
Emploi du temps
</a>
<a href="payments.html" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-gray-600 hover:bg-gray-50 hover:text-gray-900">
<i data-feather="dollar-sign" class="mr-3 flex-shrink-0 h-5 w-5"></i>
Paiements
</a>
<a href="inventory.html" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-gray-600 hover:bg-gray-50 hover:text-gray-900">
<i data-feather="package" class="mr-3 flex-shrink-0 h-5 w-5"></i>
Inventaire
</a>
<a href="announcements.html" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-gray-600 hover:bg-gray-50 hover:text-gray-900">
<i data-feather="megaphone" class="mr-3 flex-shrink-0 h-5 w-5"></i>
Annonces
</a>
<a href="staff.html" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-gray-600 hover:bg-gray-50 hover:text-gray-900">
<i data-feather="user-check" class="mr-3 flex-shrink-0 h-5 w-5"></i>
Personnel
</a>
<a href="settings.html" class="group flex items-center px-2 py-2 text-sm font-medium rounded-md text-gray-600 hover:bg-gray-50 hover:text-gray-900">
<i data-feather="settings" class="mr-3 flex-shrink-0 h-5 w-5"></i>
Paramètres
</a>
</nav>
</div>
<div class="p-4 border-t">
<div class="flex items-center">
<img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/5" alt="Admin">
<div class="ml-3">
<p class="text-sm font-medium text-gray-700">Admin</p>
<a href="#" class="text-xs font-medium text-blue-600 hover:text-blue-500">Voir profil</a>
</div>
</div>
<button class="mt-4 w-full flex items-center justify-center px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-blue-600 hover:bg-blue-700">
<i data-feather="log-out" class="mr-2"></i> Déconnexion
</button>
</div>
</div>
<!-- Main content -->
<div id="main-content" class="main-content flex-1 flex flex-col overflow-hidden">
<!-- Top navigation -->
<header class="bg-white shadow-sm">
<div class="px-4 sm:px-6 lg:px-8 py-4 flex justify-between items-center">
<h1 class="text-xl font-semibold text-gray-900">Tableau de bord</h1>
<div class="flex items-center space-x-4">
<button class="p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
<i data-feather="bell"></i>
</button>
<button class="p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
<i data-feather="message-square"></i>
</button>
</div>
</div>
</header>
<!-- Main content area -->
<main class="flex-1 overflow-y-auto p-4 sm:p-6 lg:p-8">
<!-- Stats -->
<div class="grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-4 mb-8">
<div class="bg-white overflow-hidden shadow rounded-lg" data-aos="fade-up">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-blue-100 rounded-md p-3">
<i data-feather="users" class="h-6 w-6 text-blue-600"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dt class="text-sm font-medium text-gray-500 truncate">
Élèves inscrits
</dt>
<dd class="flex items-baseline">
<div class="text-2xl font-semibold text-gray-900">
142
</div>
<div class="ml-2 flex items-baseline text-sm font-semibold text-green-600">
<i data-feather="arrow-up" class="h-4 w-4"></i>
<span class="sr-only">Increased by</span>
12%
</div>
</dd>
</div>
</div>
</div>
</div>
<div class="bg-white overflow-hidden shadow rounded-lg" data-aos="fade-up" data-aos-delay="100">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-green-100 rounded-md p-3">
<i data-feather="calendar" class="h-6 w-6 text-green-600"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dt class="text-sm font-medium text-gray-500 truncate">
Présence aujourd'hui
</dt>
<dd class="flex items-baseline">
<div class="text-2xl font-semibold text-gray-900">
128
</div>
<div class="ml-2 flex items-baseline text-sm font-semibold text-green-600">
<i data-feather="arrow-up" class="h-4 w-4"></i>
<span class="sr-only">Increased by</span>
5%
</div>
</dd>
</div>
</div>
</div>
</div>
<div class="bg-white overflow-hidden shadow rounded-lg" data-aos="fade-up" data-aos-delay="200">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-yellow-100 rounded-md p-3">
<i data-feather="dollar-sign" class="h-6 w-6 text-yellow-600"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dt class="text-sm font-medium text-gray-500 truncate">
Paiements ce mois
</dt>
<dd class="flex items-baseline">
<div class="text-2xl font-semibold text-gray-900">
€8,240
</div>
<div class="ml-2 flex items-baseline text-sm font-semibold text-red-600">
<i data-feather="arrow-down" class="h-4 w-4"></i>
<span class="sr-only">Decreased by</span>
3%
</div>
</dd>
</div>
</div>
</div>
</div>
<div class="bg-white overflow-hidden shadow rounded-lg" data-aos="fade-up" data-aos-delay="300">
<div class="px-4 py-5 sm:p-6">
<div class="flex items-center">
<div class="flex-shrink-0 bg-purple-100 rounded-md p-3">
<i data-feather="user-check" class="h-6 w-6 text-purple-600"></i>
</div>
<div class="ml-5 w-0 flex-1">
<dt class="text-sm font-medium text-gray-500 truncate">
Enseignants
</dt>
<dd class="flex items-baseline">
<div class="text-2xl font-semibold text-gray-900">
14
</div>
<div class="ml-2 flex items-baseline text-sm font-semibold text-green-600">
<i data-feather="arrow-up" class="h-4 w-4"></i>
<span class="sr-only">Increased by</span>
8%
</div>
</dd>
</div>
</div>
</div>
</div>
</div>
<!-- Recent activity -->
<div class="bg-white shadow rounded-lg mb-8" data-aos="fade-up">
<div class="px-4 py-5 sm:px-6 border-b border-gray-200">
<h3 class="text-lg leading-6 font-medium text-gray-900">
Activité récente
</h3>
</div>
<div class="bg-white overflow-hidden">
<ul class="divide-y divide-gray-200">
<li class="px-6 py-4">
<div class="flex items-center">
<div class="flex-shrink-0">
<img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/6" alt="User">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">
Marie Dupont
</div>
<div class="text-sm text-gray-500">
A payé les frais de scolarité pour Lucas
</div>
</div>
<div class="ml-auto text-sm text-gray-500">
<time datetime="2023-05-01">Il y a 2 heures</time>
</div>
</div>
</li>
<li class="px-6 py-4">
<div class="flex items-center">
<div class="flex-shrink-0">
<img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/7" alt="User">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">
Jean Martin
</div>
<div class="text-sm text-gray-500">
A consulté le bulletin de Emma
</div>
</div>
<div class="ml-auto text-sm text-gray-500">
<time datetime="2023-05-01">Il y a 5 heures</time>
</div>
</div>
</li>
<li class="px-6 py-4">
<div class="flex items-center">
<div class="flex-shrink-0">
<img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/8" alt="User">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">
Sophie Leroy
</div>
<div class="text-sm text-gray-500">
A envoyé un message à l'enseignant de Hugo
</div>
</div>
<div class="ml-auto text-sm text-gray-500">
<time datetime="2023-05-01">Il y a 1 jour</time>
</div>
</div>
</li>
<li class="px-6 py-4">
<div class="flex items-center">
<div class="flex-shrink-0">
<img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/9" alt="User">
</div>
<div class="ml-4">
<div class="text-sm font-medium text-gray-900">
Pierre Lambert
</div>
<div class="text-sm text-gray-500">
A signalé l'absence de Léa
</div>
</div>
<div class="ml-auto text-sm text-gray-500">
<time datetime="2023-05-01">Il y a 2 jours</time>
</div>
</div>
</li>
</ul>
</div>
<div class="px-4 py-4 sm:px-6 border-t border-gray-200">
<a href="#" class="text-sm font-medium text-blue-600 hover:text-blue-500">
Voir toute l'activité
</a>
</div>
</div>
<!-- Upcoming events -->
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
<div class="bg-white shadow rounded-lg" data-aos="fade-up">
<div class="px-4 py-5 sm:px-6 border-b border-gray-200">
<h3 class="text-lg leading-6 font-medium text-gray-900">
Événements à venir
</h3>
</div>
<div class="px-6 py-4">
<div class="space-y-6">
<div class="flex">
<div class="flex-shrink-0 flex items-center justify-center w-12 h-12 rounded-md bg-blue-100 text-blue-600">
<i data-feather="calendar"></i>
</div>
<div class="ml-4">
<h4 class="text-sm font-medium text-gray-900">Sortie scolaire</h4>
<p class="text-sm text-gray-500">15 mai 2023 - 9h00</p>
<p class="mt-1 text-sm text-gray-500">Visite au musée d'histoire naturelle pour toutes les classes.</p>
</div>
</div>
<div class="flex">
<div class="flex-shrink-0 flex items-center justify-center w-12 h-12 rounded-md bg-green-100 text-green-600">
<i data-feather="users"></i>
</div>
<div class="ml-4">
<h4 class="text-sm font-medium text-gray-900">Réunion parents-professeurs</h4>
<p class="text-sm text-gray-500">20 mai 2023 - 17h00</p>
<p class="mt-1 text-sm text-gray-500">Discussion sur le progrès des élèves et les projets à venir.</p>
</div>
</div>
<div class="flex">
<div class="flex-shrink-0 flex items-center justify-center w-12 h-12 rounded-md bg-purple-100 text-purple-600">
<i data-feather="music"></i>
</div>
<div class="ml-4">
<h4 class="text-sm font-medium text-gray-900">Spectacle de fin d'année</h4>
<p class="text-sm text-gray-500">30 juin 2023 - 18h30</p>
<p class="mt-1 text-sm text-gray-500">Présentation des talents des élèves avec chants et danses.</p>
</div>
</div>
</div>
</div>
</div>
<!-- Quick actions -->
<div class="bg-white shadow rounded-lg" data-aos="fade-up" data-aos-delay="100">
<div class="px-4 py-5 sm:px-6 border-b border-gray-200">
<h3 class="text-lg leading-6 font-medium text-gray-900">
Actions rapides
</h3>
</div>
<div class="px-6 py-4">
<div class="grid grid-cols-2 gap-4">
<a href="announcements.html" class="group flex flex-col items-center justify-center p-4 border border-gray-200 rounded-lg hover:bg-blue-50 hover:border-blue-200">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-blue-100 text-blue-600 group-hover:bg-blue-200">
<i data-feather="megaphone"></i>
</div>
<h4 class="mt-2 text-sm font-medium text-gray-900 group-hover:text-blue-700">Nouvelle annonce</h4>
</a>
<a href="attendance.html" class="group flex flex-col items-center justify-center p-4 border border-gray-200 rounded-lg hover:bg-green-50 hover:border-green-200">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-green-100 text-green-600 group-hover:bg-green-200">
<i data-feather="calendar"></i>
</div>
<h4 class="mt-2 text-sm font-medium text-gray-900 group-hover:text-green-700">Présences</h4>
</a>
<a href="homework.html" class="group flex flex-col items-center justify-center p-4 border border-gray-200 rounded-lg hover:bg-yellow-50 hover:border-yellow-200">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-yellow-100 text-yellow-600 group-hover:bg-yellow-200">
<i data-feather="edit"></i>
</div>
<h4 class="mt-2 text-sm font-medium text-gray-900 group-hover:text-yellow-700">Devoirs</h4>
</a>
<a href="payments.html" class="group flex flex-col items-center justify-center p-4 border border-gray-200 rounded-lg hover:bg-purple-50 hover:border-purple-200">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-purple-100 text-purple-600 group-hover:bg-purple-200">
<i data-feather="dollar-sign"></i>
</div>
<h4 class="mt-2 text-sm font-medium text-gray-900 group-hover:text-purple-700">Paiements</h4>
</a>
</div>
</div>
</div>
</div>
</main>
</div>
</div>
<script>
AOS.init();
feather.replace();
// Toggle sidebar
document.getElementById('toggle-sidebar').addEventListener('click', function() {
const sidebar = document.getElementById('sidebar');
const mainContent = document.getElementById('main-content');
if (sidebar.classList.contains('sidebar-expanded')) {
sidebar.classList.remove('sidebar-expanded');
sidebar.classList.add('sidebar-collapsed');
mainContent.classList.add('ml-20');
this.innerHTML = '<i data-feather="chevron-right"></i>';
} else {
sidebar.classList.remove('sidebar-collapsed');
sidebar.classList.add('sidebar-expanded');
mainContent.classList.remove('ml-20');
this.innerHTML = '<i data-feather="chevron-left"></i>';
}
feather.replace();
});
// Highlight active nav item
const navItems = document.querySelectorAll('nav a');
navItems.forEach(item => {
item.addEventListener('click', function() {
navItems.forEach(i => i.classList.remove('active-nav-item', 'text-blue-600'));
this.classList.add('active-nav-item', 'text-blue-600');
});
});
</script>
</body>
</html>
|