Spaces:
Running
Running
Download index.html from Decodeur/edumanagepro: direct link, hf CLI and curl.
- Browser
- Download file 37.5 kB
-
https://huggingface.co/spaces/Decodeur/edumanagepro/resolve/main/index.html
- Command line
-
hf download hf://spaces/Decodeur/edumanagepro/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Decodeur/edumanagepro/resolve/main/index.html
37.5 kB
| <html lang="fr"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>EduManagePro | Gestion Scolaire Privée</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Poppins', sans-serif; | |
| } | |
| .sidebar { | |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| box-shadow: 4px 0 15px rgba(0, 0, 0, 0.05); | |
| } | |
| .dashboard-content { | |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| @media (max-width: 768px) { | |
| .sidebar { | |
| transform: translateX(-100%); | |
| z-index: 50; | |
| } | |
| .sidebar.active { | |
| transform: translateX(0); | |
| } | |
| .sidebar-overlay { | |
| display: none; | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background-color: rgba(0, 0, 0, 0.5); | |
| z-index: 40; | |
| } | |
| .sidebar-overlay.active { | |
| display: block; | |
| } | |
| } | |
| .chart-container { | |
| height: 300px; | |
| } | |
| .nav-item.active { | |
| background: linear-gradient(90deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0) 100%); | |
| border-left: 4px solid #3B82F6; | |
| } | |
| .notification-dot { | |
| position: absolute; | |
| top: -2px; | |
| right: -2px; | |
| width: 12px; | |
| height: 12px; | |
| border-radius: 50%; | |
| background-color: #EF4444; | |
| border: 2px solid white; | |
| } | |
| .stats-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1); | |
| } | |
| .gradient-bg { | |
| background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <div class="flex h-screen overflow-hidden"> | |
| <!-- Sidebar Overlay (Mobile) --> | |
| <div class="sidebar-overlay"></div> | |
| <!-- Sidebar --> | |
| <div class="sidebar bg-white w-64 fixed h-full overflow-y-auto border-r border-gray-200"> | |
| <div class="p-6 flex items-center space-x-3"> | |
| <div class="gradient-bg p-2 rounded-lg"> | |
| <i class="fas fa-graduation-cap text-white text-xl"></i> | |
| </div> | |
| <span class="text-xl font-bold text-gray-800">EduManage<span class="text-blue-600">Pro</span></span> | |
| </div> | |
| <div class="px-4 mb-6"> | |
| <div class="relative"> | |
| <input type="text" placeholder="Rechercher..." class="w-full pl-10 pr-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent text-sm"> | |
| <i class="fas fa-search absolute left-3 top-2.5 text-gray-400"></i> | |
| </div> | |
| </div> | |
| <nav class="px-2"> | |
| <div> | |
| <div class="px-4 py-2 text-gray-500 uppercase text-xs font-semibold tracking-wider">Général</div> | |
| <a href="#" class="nav-item flex items-center space-x-3 px-4 py-3 text-gray-700 rounded-lg mb-1 active"> | |
| <div class="text-blue-600"> | |
| <i class="fas fa-tachometer-alt"></i> | |
| </div> | |
| <span>Tableau de bord</span> | |
| </a> | |
| <a href="#" class="nav-item flex items-center space-x-3 px-4 py-3 text-gray-700 rounded-lg mb-1 hover:bg-gray-100"> | |
| <div class="text-gray-500"> | |
| <i class="fas fa-calendar-alt"></i> | |
| </div> | |
| <span>Calendrier</span> | |
| </a> | |
| </div> | |
| <div class="mt-2"> | |
| <div class="px-4 py-2 text-gray-500 uppercase text-xs font-semibold tracking-wider">Élèves</div> | |
| <a href="#" class="nav-item flex items-center space-x-3 px-4 py-3 text-gray-700 rounded-lg mb-1 hover:bg-gray-100"> | |
| <div class="text-gray-500"> | |
| <i class="fas fa-users"></i> | |
| </div> | |
| <span>Liste des élèves</span> | |
| </a> | |
| <a href="#" class="nav-item flex items-center space-x-3 px-4 py-3 text-gray-700 rounded-lg mb-1 hover:bg-gray-100"> | |
| <div class="text-gray-500"> | |
| <i class="fas fa-user-plus"></i> | |
| </div> | |
| <span>Inscriptions</span> | |
| <span class="ml-auto bg-blue-100 text-blue-800 text-xs px-2 py-0.5 rounded-full">12</span> | |
| </a> | |
| <a href="#" class="nav-item flex items-center space-x-3 px-4 py-3 text-gray-700 rounded-lg mb-1 hover:bg-gray-100"> | |
| <div class="text-gray-500"> | |
| <i class="fas fa-id-card"></i> | |
| </div> | |
| <span>Dossiers scolaires</span> | |
| </a> | |
| </div> | |
| <div class="mt-2"> | |
| <div class="px-4 py-2 text-gray-500 uppercase text-xs font-semibold tracking-wider">Enseignants</div> | |
| <a href="#" class="nav-item flex items-center space-x-3 px-4 py-3 text-gray-700 rounded-lg mb-1 hover:bg-gray-100"> | |
| <div class="text-gray-500"> | |
| <i class="fas fa-chalkboard-teacher"></i> | |
| </div> | |
| <span>Professeurs</span> | |
| </a> | |
| <a href="#" class="nav-item flex items-center space-x-3 px-4 py-3 text-gray-700 rounded-lg mb-1 hover:bg-gray-100"> | |
| <div class="text-gray-500"> | |
| <i class="fas fa-tasks"></i> | |
| </div> | |
| <span>Emplois du temps</span> | |
| </a> | |
| </div> | |
| <div class="mt-2"> | |
| <div class="px-4 py-2 text-gray-500 uppercase text-xs font-semibold tracking-wider">Pédagogie</div> | |
| <a href="#" class="nav-item flex items-center space-x-3 px-4 py-3 text-gray-700 rounded-lg mb-1 hover:bg-gray-100"> | |
| <div class="text-gray-500"> | |
| <i class="fas fa-book"></i> | |
| </div> | |
| <span>Cours & Programmes</span> | |
| </a> | |
| <a href="#" class="nav-item flex items-center space-x-3 px-4 py-3 text-gray-700 rounded-lg mb-1 hover:bg-gray-100"> | |
| <div class="text-gray-500"> | |
| <i class="fas fa-clipboard-check"></i> | |
| </div> | |
| <span>Évaluations</span> | |
| </a> | |
| <a href="#" class="nav-item flex items-center space-x-3 px-4 py-3 text-gray-700 rounded-lg mb-1 hover:bg-gray-100"> | |
| <div class="text-gray-500"> | |
| <i class="fas fa-chart-line"></i> | |
| </div> | |
| <span>Bulletins</span> | |
| </a> | |
| </div> | |
| <div class="mt-2"> | |
| <div class="px-4 py-2 text-gray-500 uppercase text-xs font-semibold tracking-wider">Administration</div> | |
| <a href="#" class="nav-item flex items-center space-x-3 px-4 py-3 text-gray-700 rounded-lg mb-1 hover:bg-gray-100"> | |
| <div class="text-gray-500"> | |
| <i class="fas fa-euro-sign"></i> | |
| </div> | |
| <span>Finances</span> | |
| </a> | |
| <a href="#" class="nav-item flex items-center space-x-3 px-4 py-3 text-gray-700 rounded-lg mb-1 hover:bg-gray-100"> | |
| <div class="text-gray-500"> | |
| <i class="fas fa-file-invoice"></i> | |
| </div> | |
| <span>Facturation</span> | |
| </a> | |
| <a href="#" class="nav-item flex items-center space-x-3 px-4 py-3 text-gray-700 rounded-lg mb-1 hover:bg-gray-100"> | |
| <div class="text-gray-500"> | |
| <i class="fas fa-bell"></i> | |
| </div> | |
| <span>Communication</span> | |
| <span class="ml-auto bg-red-100 text-red-800 text-xs px-2 py-0.5 rounded-full">3</span> | |
| </a> | |
| <a href="#" class="nav-item flex items-center space-x-3 px-4 py-3 text-gray-700 rounded-lg mb-1 hover:bg-gray-100"> | |
| <div class="text-gray-500"> | |
| <i class="fas fa-cog"></i> | |
| </div> | |
| <span>Paramètres</span> | |
| </a> | |
| </div> | |
| </nav> | |
| <div class="absolute bottom-0 w-full p-4 border-t border-gray-200"> | |
| <div class="flex items-center space-x-3"> | |
| <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Profile" class="w-10 h-10 rounded-full border-2 border-white shadow"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-800">Admin</p> | |
| <p class="text-xs text-gray-500">Administrateur</p> | |
| </div> | |
| <button class="ml-auto text-gray-400 hover:text-gray-600"> | |
| <i class="fas fa-sign-out-alt"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Main Content --> | |
| <div class="dashboard-content flex-1 overflow-auto ml-64"> | |
| <!-- Top Navigation --> | |
| <header class="bg-white shadow-sm sticky top-0 z-10"> | |
| <div class="flex justify-between items-center p-4"> | |
| <div class="flex items-center"> | |
| <button id="sidebarToggle" class="md:hidden text-gray-500 mr-4"> | |
| <i class="fas fa-bars text-xl"></i> | |
| </button> | |
| <div class="relative"> | |
| <input type="text" placeholder="Rechercher..." class="hidden md:block pl-10 pr-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent text-sm w-64"> | |
| <i class="fas fa-search absolute left-3 top-2.5 text-gray-400"></i> | |
| </div> | |
| </div> | |
| <div class="flex items-center space-x-6"> | |
| <button class="text-gray-500 hover:text-gray-700 relative"> | |
| <i class="fas fa-bell text-xl"></i> | |
| <div class="notification-dot"></div> | |
| </button> | |
| <button class="text-gray-500 hover:text-gray-700"> | |
| <i class="fas fa-envelope text-xl"></i> | |
| </button> | |
| <button class="text-gray-500 hover:text-gray-700"> | |
| <i class="fas fa-question-circle text-xl"></i> | |
| </button> | |
| <div class="flex items-center space-x-3"> | |
| <div class="text-right hidden md:block"> | |
| <p class="text-sm font-medium text-gray-800">Admin</p> | |
| <p class="text-xs text-gray-500">Administrateur</p> | |
| </div> | |
| <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Profile" class="w-8 h-8 rounded-full border-2 border-white shadow"> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Dashboard Content --> | |
| <main class="p-6"> | |
| <!-- Welcome Banner --> | |
| <div class="gradient-bg rounded-xl p-6 mb-6 text-white"> | |
| <div class="flex flex-col md:flex-row md:items-center md:justify-between"> | |
| <div> | |
| <h1 class="text-2xl font-bold mb-1">Bonjour, Admin</h1> | |
| <p class="opacity-90">Voici ce qui se passe dans votre établissement aujourd'hui</p> | |
| </div> | |
| <button class="mt-4 md:mt-0 bg-white text-blue-600 px-4 py-2 rounded-lg font-medium hover:bg-opacity-90 transition"> | |
| <i class="fas fa-plus mr-2"></i> Nouvelle action | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Stats Cards --> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6"> | |
| <div class="stats-card bg-white rounded-xl shadow p-6 flex items-center transition duration-300"> | |
| <div class="p-3 rounded-lg bg-blue-100 text-blue-600 mr-4"> | |
| <i class="fas fa-users text-xl"></i> | |
| </div> | |
| <div> | |
| <p class="text-gray-500 text-sm">Élèves inscrits</p> | |
| <h3 class="text-2xl font-bold">1,245</h3> | |
| <div class="flex items-center mt-1"> | |
| <span class="text-green-500 text-xs font-medium bg-green-50 px-2 py-0.5 rounded-full flex items-center"> | |
| <i class="fas fa-arrow-up mr-1 text-xs"></i> 12% | |
| </span> | |
| <span class="text-gray-500 text-xs ml-2">vs mois dernier</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="stats-card bg-white rounded-xl shadow p-6 flex items-center transition duration-300"> | |
| <div class="p-3 rounded-lg bg-green-100 text-green-600 mr-4"> | |
| <i class="fas fa-chalkboard-teacher text-xl"></i> | |
| </div> | |
| <div> | |
| <p class="text-gray-500 text-sm">Enseignants</p> | |
| <h3 class="text-2xl font-bold">84</h3> | |
| <div class="flex items-center mt-1"> | |
| <span class="text-green-500 text-xs font-medium bg-green-50 px-2 py-0.5 rounded-full flex items-center"> | |
| <i class="fas fa-arrow-up mr-1 text-xs"></i> 5% | |
| </span> | |
| <span class="text-gray-500 text-xs ml-2">vs mois dernier</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="stats-card bg-white rounded-xl shadow p-6 flex items-center transition duration-300"> | |
| <div class="p-3 rounded-lg bg-purple-100 text-purple-600 mr-4"> | |
| <i class="fas fa-euro-sign text-xl"></i> | |
| </div> | |
| <div> | |
| <p class="text-gray-500 text-sm">Recettes mensuelles</p> | |
| <h3 class="text-2xl font-bold">€245,678</h3> | |
| <div class="flex items-center mt-1"> | |
| <span class="text-red-500 text-xs font-medium bg-red-50 px-2 py-0.5 rounded-full flex items-center"> | |
| <i class="fas fa-arrow-down mr-1 text-xs"></i> 2% | |
| </span> | |
| <span class="text-gray-500 text-xs ml-2">vs mois dernier</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="stats-card bg-white rounded-xl shadow p-6 flex items-center transition duration-300"> | |
| <div class="p-3 rounded-lg bg-yellow-100 text-yellow-600 mr-4"> | |
| <i class="fas fa-graduation-cap text-xl"></i> | |
| </div> | |
| <div> | |
| <p class="text-gray-500 text-sm">Taux de réussite</p> | |
| <h3 class="text-2xl font-bold">96%</h3> | |
| <div class="flex items-center mt-1"> | |
| <span class="text-green-500 text-xs font-medium bg-green-50 px-2 py-0.5 rounded-full flex items-center"> | |
| <i class="fas fa-arrow-up mr-1 text-xs"></i> 3% | |
| </span> | |
| <span class="text-gray-500 text-xs ml-2">vs année dernière</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Charts Row --> | |
| <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6"> | |
| <div class="bg-white rounded-xl shadow p-6"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-lg font-semibold text-gray-800">Évolution des inscriptions</h2> | |
| <div class="flex items-center space-x-2"> | |
| <button class="text-xs px-3 py-1 rounded-lg border border-gray-200 hover:bg-gray-50">Année</button> | |
| <button class="text-xs px-3 py-1 rounded-lg border border-gray-200 hover:bg-gray-50">Mois</button> | |
| <button class="text-xs px-3 py-1 rounded-lg bg-blue-50 text-blue-600 border border-blue-100">Semaine</button> | |
| </div> | |
| </div> | |
| <div class="chart-container"> | |
| <canvas id="enrollmentsChart"></canvas> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow p-6"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-lg font-semibold text-gray-800">Répartition par niveau</h2> | |
| <select class="text-xs px-3 py-1.5 rounded-lg border border-gray-200 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"> | |
| <option>2023-2024</option> | |
| <option>2022-2023</option> | |
| <option>2021-2022</option> | |
| </select> | |
| </div> | |
| <div class="chart-container"> | |
| <canvas id="gradesChart"></canvas> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Recent Activity & Upcoming Events --> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-6"> | |
| <div class="lg:col-span-2 bg-white rounded-xl shadow p-6"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-lg font-semibold text-gray-800">Activité récente</h2> | |
| <button class="text-blue-600 text-sm font-medium hover:text-blue-800">Voir tout</button> | |
| </div> | |
| <div class="space-y-4"> | |
| <div class="flex items-start p-3 hover:bg-gray-50 rounded-lg transition"> | |
| <div class="p-2 rounded-lg bg-blue-100 text-blue-600 mr-3"> | |
| <i class="fas fa-user-plus"></i> | |
| </div> | |
| <div class="flex-1"> | |
| <div class="flex justify-between items-start"> | |
| <p class="font-medium">Nouvelle inscription</p> | |
| <span class="text-xs text-gray-400">Il y a 2 heures</span> | |
| </div> | |
| <p class="text-sm text-gray-500 mt-1">Marie Dupont s'est inscrite en Terminale S</p> | |
| <div class="flex mt-2 space-x-2"> | |
| <span class="text-xs bg-blue-50 text-blue-600 px-2 py-0.5 rounded-full">Nouveau</span> | |
| <span class="text-xs bg-gray-50 text-gray-600 px-2 py-0.5 rounded-full">Secondaire</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="flex items-start p-3 hover:bg-gray-50 rounded-lg transition"> | |
| <div class="p-2 rounded-lg bg-green-100 text-green-600 mr-3"> | |
| <i class="fas fa-money-bill-wave"></i> | |
| </div> | |
| <div class="flex-1"> | |
| <div class="flex justify-between items-start"> | |
| <p class="font-medium">Paiement reçu</p> | |
| <span class="text-xs text-gray-400">Il y a 5 heures</span> | |
| </div> | |
| <p class="text-sm text-gray-500 mt-1">Famille Martin - €1,200 pour frais de scolarité</p> | |
| <div class="flex mt-2 space-x-2"> | |
| <span class="text-xs bg-green-50 text-green-600 px-2 py-0.5 rounded-full">Finance</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="flex items-start p-3 hover:bg-gray-50 rounded-lg transition"> | |
| <div class="p-2 rounded-lg bg-purple-100 text-purple-600 mr-3"> | |
| <i class="fas fa-clipboard-check"></i> | |
| </div> | |
| <div class="flex-1"> | |
| <div class="flex justify-between items-start"> | |
| <p class="font-medium">Nouvelle évaluation</p> | |
| <span class="text-xs text-gray-400">Hier à 14:30</span> | |
| </div> | |
| <p class="text-sm text-gray-500 mt-1">M. Durand a ajouté un contrôle de Mathématiques</p> | |
| <div class="flex mt-2 space-x-2"> | |
| <span class="text-xs bg-purple-50 text-purple-600 px-2 py-0.5 rounded-full">Pédagogie</span> | |
| <span class="text-xs bg-gray-50 text-gray-600 px-2 py-0.5 rounded-full">Mathématiques</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="flex items-start p-3 hover:bg-gray-50 rounded-lg transition"> | |
| <div class="p-2 rounded-lg bg-yellow-100 text-yellow-600 mr-3"> | |
| <i class="fas fa-calendar-alt"></i> | |
| </div> | |
| <div class="flex-1"> | |
| <div class="flex justify-between items-start"> | |
| <p class="font-medium">Événement ajouté</p> | |
| <span class="text-xs text-gray-400">Hier à 09:15</span> | |
| </div> | |
| <p class="text-sm text-gray-500 mt-1">Réunion parents-professeurs le 15/10/2023</p> | |
| <div class="flex mt-2 space-x-2"> | |
| <span class="text-xs bg-yellow-50 text-yellow-600 px-2 py-0.5 rounded-full">Événement</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="space-y-6"> | |
| <div class="bg-white rounded-xl shadow p-6"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-lg font-semibold text-gray-800">Événements à venir</h2> | |
| <button class="text-blue-600 text-sm font-medium hover:text-blue-800">Voir calendrier</button> | |
| </div> | |
| <div class="space-y-4"> | |
| <div class="pl-4 py-2 border-l-4 border-blue-500 hover:bg-gray-50 rounded-r-lg transition"> | |
| <p class="font-medium text-sm">Réunion du conseil</p> | |
| <p class="text-xs text-gray-500 mt-1">Aujourd'hui, 16:00 - Salle de réunion</p> | |
| </div> | |
| <div class="pl-4 py-2 border-l-4 border-green-500 hover:bg-gray-50 rounded-r-lg transition"> | |
| <p class="font-medium text-sm">Sortie pédagogique</p> | |
| <p class="text-xs text-gray-500 mt-1">12/10/2023 - Musée des Sciences</p> | |
| </div> | |
| <div class="pl-4 py-2 border-l-4 border-purple-500 hover:bg-gray-50 rounded-r-lg transition"> | |
| <p class="font-medium text-sm">Date limite paiement</p> | |
| <p class="text-xs text-gray-500 mt-1">15/10/2023 - Frais de scolarité</p> | |
| </div> | |
| <div class="pl-4 py-2 border-l-4 border-yellow-500 hover:bg-gray-50 rounded-r-lg transition"> | |
| <p class="font-medium text-sm">Vacances scolaires</p> | |
| <p class="text-xs text-gray-500 mt-1">21/10/2023 au 05/11/2023</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow p-6"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-lg font-semibold text-gray-800">Tâches urgentes</h2> | |
| <button class="text-blue-600 text-sm font-medium hover:text-blue-800">Voir tout</button> | |
| </div> | |
| <div class="space-y-3"> | |
| <div class="flex items-center p-2 hover:bg-gray-50 rounded-lg transition"> | |
| <input type="checkbox" class="rounded text-blue-600 mr-3 h-5 w-5 focus:ring-blue-500"> | |
| <div> | |
| <p class="text-sm font-medium">Valider les inscriptions en attente</p> | |
| <p class="text-xs text-gray-500 mt-1">3 demandes en attente</p> | |
| </div> | |
| </div> | |
| <div class="flex items-center p-2 hover:bg-gray-50 rounded-lg transition"> | |
| <input type="checkbox" class="rounded text-blue-600 mr-3 h-5 w-5 focus:ring-blue-500"> | |
| <div> | |
| <p class="text-sm font-medium">Envoyer les convocations conseil de classe</p> | |
| <p class="text-xs text-gray-500 mt-1">Date limite: 10/10/2023</p> | |
| </div> | |
| </div> | |
| <div class="flex items-center p-2 hover:bg-gray-50 rounded-lg transition"> | |
| <input type="checkbox" class="rounded text-blue-600 mr-3 h-5 w-5 focus:ring-blue-500"> | |
| <div> | |
| <p class="text-sm font-medium">Préparer le budget 2024</p> | |
| <p class="text-xs text-gray-500 mt-1">Réunion le 18/10/2023</p> | |
| </div> | |
| </div> | |
| </div> | |
| <button class="w-full mt-4 text-blue-600 text-sm font-medium py-2 border border-dashed border-gray-300 rounded-lg hover:bg-blue-50 transition flex items-center justify-center"> | |
| <i class="fas fa-plus mr-2"></i> Ajouter une tâche | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| </div> | |
| <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
| <script> | |
| // Toggle sidebar on mobile | |
| document.getElementById('sidebarToggle').addEventListener('click', function() { | |
| document.querySelector('.sidebar').classList.toggle('active'); | |
| document.querySelector('.sidebar-overlay').classList.toggle('active'); | |
| document.body.classList.toggle('overflow-hidden'); | |
| }); | |
| // Close sidebar when clicking on overlay | |
| document.querySelector('.sidebar-overlay').addEventListener('click', function() { | |
| document.querySelector('.sidebar').classList.remove('active'); | |
| document.querySelector('.sidebar-overlay').classList.remove('active'); | |
| document.body.classList.remove('overflow-hidden'); | |
| }); | |
| // Charts | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // Enrollments Chart | |
| const enrollmentsCtx = document.getElementById('enrollmentsChart').getContext('2d'); | |
| const enrollmentsChart = new Chart(enrollmentsCtx, { | |
| type: 'line', | |
| data: { | |
| labels: ['Jan', 'Fév', 'Mar', 'Avr', 'Mai', 'Juin', 'Juil', 'Août', 'Sep', 'Oct', 'Nov', 'Déc'], | |
| datasets: [{ | |
| label: 'Inscriptions 2023', | |
| data: [65, 59, 80, 81, 56, 55, 40, 30, 85, 120, 105, 90], | |
| backgroundColor: 'rgba(59, 130, 246, 0.1)', | |
| borderColor: 'rgba(59, 130, 246, 1)', | |
| borderWidth: 2, | |
| tension: 0.4, | |
| fill: true, | |
| pointBackgroundColor: 'white', | |
| pointBorderColor: 'rgba(59, 130, 246, 1)', | |
| pointBorderWidth: 2, | |
| pointRadius: 4, | |
| pointHoverRadius: 6 | |
| }, { | |
| label: 'Inscriptions 2022', | |
| data: [50, 45, 60, 70, 50, 40, 30, 25, 70, 90, 80, 70], | |
| backgroundColor: 'rgba(156, 163, 175, 0.1)', | |
| borderColor: 'rgba(156, 163, 175, 1)', | |
| borderWidth: 2, | |
| tension: 0.4, | |
| fill: true, | |
| pointBackgroundColor: 'white', | |
| pointBorderColor: 'rgba(156, 163, 175, 1)', | |
| pointBorderWidth: 2, | |
| pointRadius: 4, | |
| pointHoverRadius: 6 | |
| }] | |
| }, | |
| options: { | |
| responsive: true, | |
| maintainAspectRatio: false, | |
| plugins: { | |
| legend: { | |
| position: 'top', | |
| labels: { | |
| usePointStyle: true, | |
| padding: 20 | |
| } | |
| }, | |
| tooltip: { | |
| backgroundColor: 'rgba(0, 0, 0, 0.8)', | |
| titleFont: { | |
| size: 14, | |
| weight: 'bold' | |
| }, | |
| bodyFont: { | |
| size: 12 | |
| }, | |
| padding: 12, | |
| cornerRadius: 8, | |
| displayColors: false | |
| } | |
| }, | |
| scales: { | |
| y: { | |
| beginAtZero: true, | |
| grid: { | |
| drawBorder: false, | |
| color: 'rgba(0, 0, 0, 0.05)' | |
| }, | |
| ticks: { | |
| padding: 10 | |
| } | |
| }, | |
| x: { | |
| grid: { | |
| display: false, | |
| drawBorder: false | |
| }, | |
| ticks: { | |
| padding: 10 | |
| } | |
| } | |
| }, | |
| interaction: { | |
| intersect: false, | |
| mode: 'index' | |
| } | |
| } | |
| }); | |
| // Grades Distribution Chart | |
| const gradesCtx = document.getElementById('gradesChart').getContext('2d'); | |
| const gradesChart = new Chart(gradesCtx, { | |
| type: 'doughnut', | |
| data: { | |
| labels: ['Maternelle', 'Primaire', 'Collège', 'Lycée'], | |
| datasets: [{ | |
| data: [15, 35, 30, 20], | |
| backgroundColor: [ | |
| 'rgba(239, 68, 68, 0.8)', | |
| 'rgba(59, 130, 246, 0.8)', | |
| 'rgba(234, 179, 8, 0.8)', | |
| 'rgba(139, 92, 246, 0.8)' | |
| ], | |
| borderColor: [ | |
| 'rgba(239, 68, 68, 1)', | |
| 'rgba(59, 130, 246, 1)', | |
| 'rgba(234, 179, 8, 1)', | |
| 'rgba(139, 92, 246, 1)' | |
| ], | |
| borderWidth: 0, | |
| borderRadius: 4, | |
| spacing: 2 | |
| }] | |
| }, | |
| options: { | |
| responsive: true, | |
| maintainAspectRatio: false, | |
| cutout: '70%', | |
| plugins: { | |
| legend: { | |
| position: 'right', | |
| labels: { | |
| usePointStyle: true, | |
| padding: 20, | |
| font: { | |
| size: 12 | |
| } | |
| } | |
| }, | |
| tooltip: { | |
| backgroundColor: 'rgba(0, 0, 0, 0.8)', | |
| titleFont: { | |
| size: 14, | |
| weight: 'bold' | |
| }, | |
| bodyFont: { | |
| size: 12 | |
| }, | |
| padding: 12, | |
| cornerRadius: 8, | |
| displayColors: false, | |
| callbacks: { | |
| label: function(context) { | |
| return `${context.label}: ${context.raw}%`; | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }); | |
| }); | |
| </script> | |
| <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> | |
| </html> |