Add 2 files
Browse filesFiles changed (2)
- index.html+413-612
- prompts.txt+1-1
36 unmodified lines37383940414212 unmodified lines5556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436442 unmodified lines6476486496506516526536546556566576586596606616626636646656666676686696706716726736746751 unmodified line6776786796806816826836846856866876886896906916926936946956966976986997001 unmodified line7027037047057067078 unmodified lines71671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975036 unmodified linesfont-weight: 600;color: #4f46e5;}</style></head><body class="bg-gray-50 min-h-screen">12 unmodified lines</div></header><div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"><!-- Salle de classe 1 --><div class="room-card bg-white rounded-lg shadow-md overflow-hidden"><div class="bg-indigo-600 p-4 text-white"><h2 class="text-xl font-semibold flex items-center"><i class="fas fa-chalkboard-teacher mr-2"></i> Salle de Classe 1</h2></div><div class="p-4"><div id="lundi-salle1" class="day-schedule"><h3 class="font-medium text-gray-700 mb-2">Lundi</h3><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">9:00 - 10:30</span>: Cours de Mathématiques</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">10:30 - 14:00</span>: Disponible</div><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">14:00 - 15:30</span>: Cours de Physique</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">15:30 - 18:30</span>: Disponible</div><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">18:30 - 21:00</span>: Cours du soir</div></div><div id="mardi-salle1" class="day-schedule hidden"><h3 class="font-medium text-gray-700 mb-2">Mardi</h3><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">9:00 - 10:30</span>: Cours de Chimie</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">10:30 - 14:00</span>: Disponible</div><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">14:00 - 15:30</span>: Cours de Biologie</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">15:30 - 18:30</span>: Disponible</div><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">18:30 - 21:00</span>: Cours du soir</div></div><div id="mercredi-salle1" class="day-schedule hidden"><h3 class="font-medium text-gray-700 mb-2">Mercredi</h3><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">9:00 - 10:30</span>: Cours de Français</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">10:30 - 14:00</span>: Disponible</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">14:00 - 15:30</span>: Pas de cours (Mercredi après-midi)</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">15:30 - 18:30</span>: Disponible</div><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">18:30 - 21:00</span>: Cours du soir</div></div><div id="jeudi-salle1" class="day-schedule hidden"><h3 class="font-medium text-gray-700 mb-2">Jeudi</h3><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">9:00 - 10:30</span>: Cours d'Histoire</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">10:30 - 14:00</span>: Disponible</div><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">14:00 - 15:30</span>: Cours de Géographie</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">15:30 - 18:30</span>: Disponible</div><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">18:30 - 21:00</span>: Cours du soir</div></div><div id="vendredi-salle1" class="day-schedule hidden"><h3 class="font-medium text-gray-700 mb-2">Vendredi</h3><div class="time-slot special-event mb-2 p-2 rounded"><span class="font-medium">8:00 - 10:30</span>: Blabla café à la cafétéria</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">10:30 - 14:00</span>: Disponible</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">14:00 - 15:30</span>: Disponible</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">15:30 - 18:30</span>: Disponible</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">18:30 - 21:00</span>: Disponible</div></div></div><div class="px-4 py-3 bg-gray-50 text-right"><button class="text-indigo-600 hover:text-indigo-800 font-medium">Réserver</button></div></div><!-- Salle de classe 2 --><div class="room-card bg-white rounded-lg shadow-md overflow-hidden"><div class="bg-indigo-600 p-4 text-white"><h2 class="text-xl font-semibold flex items-center"><i class="fas fa-chalkboard-teacher mr-2"></i> Salle de Classe 2</h2></div><div class="p-4"><div id="lundi-salle2" class="day-schedule"><h3 class="font-medium text-gray-700 mb-2">Lundi</h3><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">9:00 - 10:30</span>: Cours d'Anglais</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">10:30 - 14:00</span>: Disponible</div><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">14:00 - 15:30</span>: Cours d'Espagnol</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">15:30 - 18:30</span>: Disponible</div><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">18:30 - 21:00</span>: Cours du soir</div></div><div id="mardi-salle2" class="day-schedule hidden"><h3 class="font-medium text-gray-700 mb-2">Mardi</h3><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">9:00 - 10:30</span>: Cours d'Informatique</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">10:30 - 14:00</span>: Disponible</div><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">14:00 - 15:30</span>: Cours de Programmation</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">15:30 - 18:30</span>: Disponible</div><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">18:30 - 21:00</span>: Cours du soir</div></div><div id="mercredi-salle2" class="day-schedule hidden"><h3 class="font-medium text-gray-700 mb-2">Mercredi</h3><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">9:00 - 10:30</span>: Cours de Philosophie</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">10:30 - 14:00</span>: Disponible</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">14:00 - 15:30</span>: Pas de cours (Mercredi après-midi)</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">15:30 - 18:30</span>: Disponible</div><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">18:30 - 21:00</span>: Cours du soir</div></div><div id="jeudi-salle2" class="day-schedule hidden"><h3 class="font-medium text-gray-700 mb-2">Jeudi</h3><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">9:00 - 10:30</span>: Cours d'Arts</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">10:30 - 14:00</span>: Disponible</div><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">14:00 - 15:30</span>: Cours de Musique</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">15:30 - 18:30</span>: Disponible</div><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">18:30 - 21:00</span>: Cours du soir</div></div><div id="vendredi-salle2" class="day-schedule hidden"><h3 class="font-medium text-gray-700 mb-2">Vendredi</h3><div class="time-slot special-event mb-2 p-2 rounded"><span class="font-medium">8:00 - 10:30</span>: Blabla café à la cafétéria</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">10:30 - 14:00</span>: Disponible</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">14:00 - 15:30</span>: Disponible</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">15:30 - 18:30</span>: Disponible</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">18:30 - 21:00</span>: Disponible</div></div></div><div class="px-4 py-3 bg-gray-50 text-right"><button class="text-indigo-600 hover:text-indigo-800 font-medium">Réserver</button></div></div><!-- Salle de classe 3 --><div class="room-card bg-white rounded-lg shadow-md overflow-hidden"><div class="bg-indigo-600 p-4 text-white"><h2 class="text-xl font-semibold flex items-center"><i class="fas fa-chalkboard-teacher mr-2"></i> Salle de Classe 3</h2></div><div class="p-4"><div id="lundi-salle3" class="day-schedule"><h3 class="font-medium text-gray-700 mb-2">Lundi</h3><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">9:00 - 10:30</span>: Cours d'Economie</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">10:30 - 14:00</span>: Disponible</div><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">14:00 - 15:30</span>: Cours de Droit</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">15:30 - 18:30</span>: Disponible</div><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">18:30 - 21:00</span>: Cours du soir</div></div><div id="mardi-salle3" class="day-schedule hidden"><h3 class="font-medium text-gray-700 mb-2">Mardi</h3><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">9:00 - 10:30</span>: Cours de Marketing</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">10:30 - 14:00</span>: Disponible</div><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">14:00 - 15:30</span>: Cours de Gestion</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">15:30 - 18:30</span>: Disponible</div><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">18:30 - 21:00</span>: Cours du soir</div></div><div id="mercredi-salle3" class="day-schedule hidden"><h3 class="font-medium text-gray-700 mb-2">Mercredi</h3><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">9:00 - 10:30</span>: Cours de Communication</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">10:30 - 14:00</span>: Disponible</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">14:00 - 15:30</span>: Pas de cours (Mercredi après-midi)</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">15:30 - 18:30</span>: Disponible</div><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">18:30 - 21:00</span>: Cours du soir</div></div><div id="jeudi-salle3" class="day-schedule hidden"><h3 class="font-medium text-gray-700 mb-2">Jeudi</h3><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">9:00 - 10:30</span>: Cours de Psychologie</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">10:30 - 14:00</span>: Disponible</div><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">14:00 - 15:30</span>: Cours de Sociologie</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">15:30 - 18:30</span>: Disponible</div><div class="time-slot occupied mb-2 p-2 rounded"><span class="font-medium">18:30 - 21:00</span>: Cours du soir</div></div><div id="vendredi-salle3" class="day-schedule hidden"><h3 class="font-medium text-gray-700 mb-2">Vendredi</h3><div class="time-slot special-event mb-2 p-2 rounded"><span class="font-medium">8:00 - 10:30</span>: Blabla café à la cafétéria</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">10:30 - 14:00</span>: Disponible</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">14:00 - 15:30</span>: Disponible</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">15:30 - 18:30</span>: Disponible</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">18:30 - 21:00</span>: Disponible</div></div></div><div class="px-4 py-3 bg-gray-50 text-right"><button class="text-indigo-600 hover:text-indigo-800 font-medium">Réserver</button></div></div><!-- Cafétéria --><div class="room-card bg-white rounded-lg shadow-md overflow-hidden"><div class="bg-amber-600 p-4 text-white"><h2 class="text-xl font-semibold flex items-center"><i class="fas fa-utensils mr-2"></i> Cafétéria</h2></div><div class="p-4"><div id="lundi-cafeteria" class="day-schedule"><h3 class="font-medium text-gray-700 mb-2">Lundi</h3><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">9:00 - 10:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">10:30 - 14:00</span>: Service déjeuner</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">14:00 - 15:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">15:30 - 18:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">18:30 - 21:00</span>: Service dîner</div></div><div id="mardi-cafeteria" class="day-schedule hidden"><h3 class="font-medium text-gray-700 mb-2">Mardi</h3><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">9:00 - 10:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">10:30 - 14:00</span>: Service déjeuner</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">14:00 - 15:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">15:30 - 18:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">18:30 - 21:00</span>: Service dîner</div></div><div id="mercredi-cafeteria" class="day-schedule hidden"><h3 class="font-medium text-gray-700 mb-2">Mercredi</h3><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">9:00 - 10:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">10:30 - 14:00</span>: Service déjeuner</div><div class="time-slot special-event mb-2 p-2 rounded"><span class="font-medium">15:00 - 17:00</span>: Mercredi-famille</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">17:00 - 18:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">18:30 - 21:00</span>: Service dîner</div></div><div id="jeudi-cafeteria" class="day-schedule hidden"><h3 class="font-medium text-gray-700 mb-2">Jeudi</h3><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">9:00 - 10:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">10:30 - 14:00</span>: Service déjeuner</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">14:00 - 15:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">15:30 - 18:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">18:30 - 21:00</span>: Service dîner</div></div><div id="vendredi-cafeteria" class="day-schedule hidden"><h3 class="font-medium text-gray-700 mb-2">Vendredi</h3><div class="time-slot special-event mb-2 p-2 rounded"><span class="font-medium">8:00 - 10:30</span>: Blabla café</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">10:30 - 14:00</span>: Service déjeuner</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">14:00 - 15:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">15:30 - 18:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">18:30 - 21:00</span>: Fermée</div></div></div><div class="px-4 py-3 bg-gray-50 text-right"><button class="text-amber-600 hover:text-amber-800 font-medium">Réserver</button></div></div><!-- Bibliothèque --><div class="room-card bg-white rounded-lg shadow-md overflow-hidden"><div class="bg-emerald-600 p-4 text-white"><h2 class="text-xl font-semibold flex items-center"><i class="fas fa-book mr-2"></i> Bibliothèque</h2></div><div class="p-4"><div id="lundi-bibliotheque" class="day-schedule"><h3 class="font-medium text-gray-700 mb-2">Lundi</h3><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">9:00 - 10:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">10:30 - 14:00</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">14:00 - 15:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">15:30 - 18:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">18:30 - 21:00</span>: Ouverte</div></div><div id="mardi-bibliotheque" class="day-schedule hidden"><h3 class="font-medium text-gray-700 mb-2">Mardi</h3><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">9:00 - 10:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">10:30 - 14:00</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">14:00 - 15:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">15:30 - 18:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">18:30 - 21:00</span>: Ouverte</div></div><div id="mercredi-bibliotheque" class="day-schedule hidden"><h3 class="font-medium text-gray-700 mb-2">Mercredi</h3><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">9:00 - 10:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">10:30 - 14:00</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">14:00 - 15:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">15:30 - 18:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">18:30 - 21:00</span>: Ouverte</div></div><div id="jeudi-bibliotheque" class="day-schedule hidden"><h3 class="font-medium text-gray-700 mb-2">Jeudi</h3><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">9:00 - 10:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">10:30 - 14:00</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">14:00 - 15:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">15:30 - 18:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">18:30 - 21:00</span>: Ouverte</div></div><div id="vendredi-bibliotheque" class="day-schedule hidden"><h3 class="font-medium text-gray-700 mb-2">Vendredi</h3><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">8:00 - 10:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">10:30 - 14:00</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">14:00 - 15:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">15:30 - 18:30</span>: Ouverte</div><div class="time-slot available mb-2 p-2 rounded"><span class="font-medium">18:30 - 21:00</span>: Fermée</div></div></div><div class="px-4 py-3 bg-gray-50 text-right"><button class="text-emerald-600 hover:text-emerald-800 font-medium">Réserver</button></div></div><!-- Résumé des réservations --><div class="room-card bg-white rounded-lg shadow-md overflow-hidden col-span-1 md:col-span-2 lg:col-span-1"><div class="bg-purple-600 p-4 text-white"><h2 class="text-xl font-semibold flex items-center"><i class="fas fa-calendar-alt mr-2"></i> Résumé Hebdomadaire</h2></div><div class="p-4"><div class="mb-4"><h3 class="font-medium text-gray-700 mb-2">Événements Spéciaux</h3><ul class="space-y-2"><li class="flex items-start"><span class="inline-block bg-indigo-100 text-indigo-800 text-xs px-2 py-1 rounded-full mr-2">Mercredi</span><span>15:00 - 17:00: Mercredi-famille à la cafétéria</span></li><li class="flex items-start"><span class="inline-block bg-indigo-100 text-indigo-800 text-xs px-2 py-1 rounded-full mr-2">Vendredi</span><span>8:00 - 10:30: Blabla café à la cafétéria</span></li></ul></div><div><h3 class="font-medium text-gray-700 mb-2">Disponibilités Générales</h3><ul class="space-y-2"><li class="flex items-center"><i class="fas fa-check-circle text-green-500 mr-2"></i><span>Bibliothèque ouverte tous les jours sauf vendredi soir</span></li><li class="flex items-center"><i class="fas fa-check-circle text-green-500 mr-2"></i><span>Cafétéria ouverte tous les jours sauf vendredi soir</span></li><li class="flex items-center"><i class="fas fa-info-circle text-blue-500 mr-2"></i><span>Pas de cours le mercredi après-midi</span></li></ul></div></div><div class="px-4 py-3 bg-gray-50 text-right"><button class="text-purple-600 hover:text-purple-800 font-medium">Exporter le planning</button></div></div></div></div>2 unmodified lines<div class="bg-white rounded-lg shadow-xl w-full max-w-md"><div class="p-6"><h3 class="text-xl font-semibold text-gray-800 mb-4">Nouvelle Réservation</h3><form><div class="mb-4"><label class="block text-gray-700 text-sm font-bold mb-2" for="room">Espace</label><select id="room" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"><option>Salle de Classe 1</option><option>Salle de Classe 2</option><option>Salle de Classe 3</option><option>Cafétéria</option><option>Bibliothèque</option></select></div><div class="mb-4"><label class="block text-gray-700 text-sm font-bold mb-2" for="day">Jour</label><select id="day" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"><option>Lundi</option><option>Mardi</option><option>Mercredi</option><option>Jeudi</option><option>Vendredi</option></select></div><div class="grid grid-cols-2 gap-4 mb-4">1 unmodified line<label class="block text-gray-700 text-sm font-bold mb-2" for="start-time">Heure de début</label><input type="time" id="start-time" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"></div><div><label class="block text-gray-700 text-sm font-bold mb-2" for="end-time">Heure de fin</label><input type="time" id="end-time" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"></div></div><div class="mb-4"><label class="block text-gray-700 text-sm font-bold mb-2" for="event">Événement/Activité</label><input type="text" id="event" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" placeholder="Description de l'activité"></div><div class="flex justify-end space-x-3"><button type="button" onclick="closeModal()" class="px-4 py-2 bg-gray-300 text-gray-700 rounded hover:bg-gray-400">Annuler</button><button type="button" onclick="submitReservation()" class="px-4 py-2 bg-indigo-600 text-white rounded hover:bg-indigo-700">Confirmer</button></div></form></div>1 unmodified line</div><script>// Afficher le jour sélectionnéfunction showDay(day) {// Mettre à jour les onglets8 unmodified lines});// Afficher les plannings du jour sélectionnédocument.querySelectorAll(`#${day}-salle1, #${day}-salle2, #${day}-salle3, #${day}-cafeteria, #${day}-bibliotheque`).forEach(schedule => {schedule.classList.remove('hidden');});}// Gestion de la modal de réservationfunction openModal() {document.getElementById('reservation-modal').classList.remove('hidden');}function closeModal() {document.getElementById('reservation-modal').classList.add('hidden');}function submitReservation() {// Ici, vous ajouteriez la logique pour enregistrer la réservationalert('Réservation confirmée!');closeModal();}// Écouteurs d'événements pour les boutons de réservationdocument.addEventListener('DOMContentLoaded', function() {document.querySelectorAll('button:contains("Réserver")').forEach(button => {button.addEventListener('click', openModal);});// Activer l'onglet du lundi par défautdocument.querySelector('.day-tab').click();});</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=masterseb/mdm" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body></html>36 unmodified lines3738394041424344454612 unmodified lines59606162636465662 unmodified lines697071727374757677787980818283848586878889909192939495969798991 unmodified line1011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361 unmodified line1381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534548 unmodified lines46346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055136 unmodified linesfont-weight: 600;color: #4f46e5;}.uape-slot {background-color: #fef3c7;border-left: 4px solid #f59e0b;}</style></head><body class="bg-gray-50 min-h-screen">12 unmodified lines</div></header><div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6" id="rooms-container"><!-- Les salles seront générées dynamiquement --></div></div>2 unmodified lines<div class="bg-white rounded-lg shadow-xl w-full max-w-md"><div class="p-6"><h3 class="text-xl font-semibold text-gray-800 mb-4">Nouvelle Réservation</h3><form id="reservation-form"><div class="mb-4"><label class="block text-gray-700 text-sm font-bold mb-2" for="room">Espace</label><select id="room" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" required><option value="">Sélectionnez un espace</option><option value="salle1">Salle de Classe 1</option><option value="salle2">Salle de Classe 2</option><option value="salle3">Salle de Classe 3</option><option value="cafeteria">Cafétéria</option><option value="bibliotheque">Bibliothèque</option></select></div><div class="mb-4"><label class="block text-gray-700 text-sm font-bold mb-2" for="day">Jour</label><select id="day" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" required><option value="">Sélectionnez un jour</option><option value="lundi">Lundi</option><option value="mardi">Mardi</option><option value="mercredi">Mercredi</option><option value="jeudi">Jeudi</option><option value="vendredi">Vendredi</option></select></div><div class="grid grid-cols-2 gap-4 mb-4">1 unmodified line<label class="block text-gray-700 text-sm font-bold mb-2" for="start-time">Heure de début</label><input type="time" id="start-time" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" required></div><div><label class="block text-gray-700 text-sm font-bold mb-2" for="end-time">Heure de fin</label><input type="time" id="end-time" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" required></div></div><div class="mb-4"><label class="block text-gray-700 text-sm font-bold mb-2" for="event">Événement/Activité</label><input type="text" id="event" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" placeholder="Description de l'activité" required></div><div class="mb-4"><label class="block text-gray-700 text-sm font-bold mb-2" for="niveau">Niveau (pour cours)</label><select id="niveau" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"><option value="">Non applicable</option><option value="alpha">Alpha</option><option value="a1">A1</option><option value="a2">A2</option><option value="b1">B1</option></select></div><div class="flex justify-end space-x-3"><button type="button" onclick="closeModal()" class="px-4 py-2 bg-gray-300 text-gray-700 rounded hover:bg-gray-400">Annuler</button><button type="submit" class="px-4 py-2 bg-indigo-600 text-white rounded hover:bg-indigo-700">Confirmer</button></div></form></div>1 unmodified line</div><script>// Données initialesconst roomsData = {salle1: {name: "Salle de Classe 1",color: "indigo",icon: "fa-chalkboard-teacher",schedule: {lundi: [{ time: "9:00 - 10:30", event: "Cours de Mathématiques", type: "occupied", niveau: "alpha" },{ time: "10:30 - 14:00", event: "Disponible", type: "available" },{ time: "14:00 - 15:30", event: "Cours de Physique", type: "occupied", niveau: "a1" },{ time: "15:30 - 18:30", event: "Disponible", type: "available" },{ time: "18:30 - 21:00", event: "Cours du soir", type: "occupied", niveau: "b1" }],mardi: [{ time: "9:00 - 10:30", event: "Cours de Chimie", type: "occupied", niveau: "a2" },{ time: "10:30 - 14:00", event: "Disponible", type: "available" },{ time: "14:00 - 15:30", event: "Cours de Biologie", type: "occupied", niveau: "alpha" },{ time: "15:30 - 18:30", event: "Disponible", type: "available" },{ time: "18:30 - 21:00", event: "Cours du soir", type: "occupied", niveau: "a1" }],mercredi: [{ time: "9:00 - 10:30", event: "Cours de Français", type: "occupied", niveau: "b1" },{ time: "10:30 - 14:00", event: "Disponible", type: "available" },{ time: "14:00 - 15:30", event: "Pas de cours (Mercredi après-midi)", type: "available" },{ time: "15:30 - 18:30", event: "Disponible", type: "available" },{ time: "18:30 - 21:00", event: "Cours du soir", type: "occupied", niveau: "a2" }],jeudi: [{ time: "9:00 - 10:30", event: "Cours d'Histoire", type: "occupied", niveau: "alpha" },{ time: "10:30 - 14:00", event: "Disponible", type: "available" },{ time: "14:00 - 15:30", event: "Cours de Géographie", type: "occupied", niveau: "b1" },{ time: "15:30 - 18:30", event: "Disponible", type: "available" },{ time: "18:30 - 21:00", event: "Cours du soir", type: "occupied", niveau: "a1" }],vendredi: [{ time: "8:00 - 10:30", event: "Disponible", type: "available" },{ time: "10:30 - 14:00", event: "Disponible", type: "available" },{ time: "14:00 - 15:30", event: "Disponible", type: "available" },{ time: "15:30 - 18:30", event: "Disponible", type: "available" },{ time: "18:30 - 21:00", event: "Disponible", type: "available" }]}},salle2: {name: "Salle de Classe 2",color: "indigo",icon: "fa-chalkboard-teacher",schedule: {lundi: [{ time: "9:00 - 10:30", event: "Cours d'Anglais", type: "occupied", niveau: "a1" },{ time: "10:30 - 14:00", event: "Disponible", type: "available" },{ time: "14:00 - 15:30", event: "Cours d'Espagnol", type: "occupied", niveau: "a2" },{ time: "15:30 - 18:30", event: "Disponible", type: "available" },{ time: "18:30 - 21:00", event: "Cours du soir", type: "occupied", niveau: "b1" }],mardi: [{ time: "9:00 - 10:30", event: "Cours d'Informatique", type: "occupied", niveau: "alpha" },{ time: "10:30 - 14:00", event: "Disponible", type: "available" },{ time: "14:00 - 15:30", event: "Cours de Programmation", type: "occupied", niveau: "a1" },{ time: "15:30 - 18:30", event: "Disponible", type: "available" },{ time: "18:30 - 21:00", event: "Cours du soir", type: "occupied", niveau: "a2" }],mercredi: [{ time: "9:00 - 10:30", event: "Cours de Philosophie", type: "occupied", niveau: "b1" },{ time: "10:30 - 14:00", event: "Disponible", type: "available" },{ time: "14:00 - 15:30", event: "Pas de cours (Mercredi après-midi)", type: "available" },{ time: "15:30 - 18:30", event: "Disponible", type: "available" },{ time: "18:30 - 21:00", event: "Cours du soir", type: "occupied", niveau: "alpha" }],jeudi: [{ time: "9:00 - 10:30", event: "Cours d'Arts", type: "occupied", niveau: "a1" },{ time: "10:30 - 14:00", event: "Disponible", type: "available" },{ time: "14:00 - 15:30", event: "Cours de Musique", type: "occupied", niveau: "a2" },{ time: "15:30 - 18:30", event: "Disponible", type: "available" },{ time: "18:30 - 21:00", event: "Cours du soir", type: "occupied", niveau: "b1" }],vendredi: [{ time: "8:00 - 10:30", event: "Disponible", type: "available" },{ time: "10:30 - 14:00", event: "Disponible", type: "available" },{ time: "14:00 - 15:30", event: "Disponible", type: "available" },{ time: "15:30 - 18:30", event: "Disponible", type: "available" },{ time: "18:30 - 21:00", event: "Disponible", type: "available" }]}},salle3: {name: "Salle de Classe 3",color: "indigo",icon: "fa-chalkboard-teacher",schedule: {lundi: [{ time: "9:00 - 10:30", event: "Cours d'Economie", type: "occupied", niveau: "a2" },{ time: "10:30 - 14:00", event: "Disponible", type: "available" },{ time: "14:00 - 15:30", event: "Cours de Droit", type: "occupied", niveau: "b1" },{ time: "15:30 - 18:30", event: "Disponible", type: "available" },{ time: "18:30 - 21:00", event: "Cours du soir", type: "occupied", niveau: "alpha" }],mardi: [{ time: "9:00 - 10:30", event: "Cours de Marketing", type: "occupied", niveau: "a1" },{ time: "10:30 - 14:00", event: "Disponible", type: "available" },{ time: "14:00 - 15:30", event: "Cours de Gestion", type: "occupied", niveau: "a2" },{ time: "15:30 - 18:30", event: "Disponible", type: "available" },{ time: "18:30 - 21:00", event: "Cours du soir", type: "occupied", niveau: "b1" }],mercredi: [{ time: "9:00 - 10:30", event: "Cours de Communication", type: "occupied", niveau: "alpha" },{ time: "10:30 - 14:00", event: "Disponible", type: "available" },{ time: "14:00 - 15:30", event: "Pas de cours (Mercredi après-midi)", type: "available" },{ time: "15:30 - 18:30", event: "Disponible", type: "available" },{ time: "18:30 - 21:00", event: "Cours du soir", type: "occupied", niveau: "a1" }],jeudi: [{ time: "9:00 - 10:30", event: "Cours de Psychologie", type: "occupied", niveau: "a2" },{ time: "10:30 - 14:00", event: "Disponible", type: "available" },{ time: "14:00 - 15:30", event: "Cours de Sociologie", type: "occupied", niveau: "b1" },{ time: "15:30 - 18:30", event: "Disponible", type: "available" },{ time: "18:30 - 21:00", event: "Cours du soir", type: "occupied", niveau: "alpha" }],vendredi: [{ time: "8:00 - 10:30", event: "Disponible", type: "available" },{ time: "10:30 - 14:00", event: "Disponible", type: "available" },{ time: "14:00 - 15:30", event: "Disponible", type: "available" },{ time: "15:30 - 18:30", event: "Disponible", type: "available" },{ time: "18:30 - 21:00", event: "Disponible", type: "available" }]}},cafeteria: {name: "Cafétéria",color: "amber",icon: "fa-utensils",schedule: {lundi: [{ time: "9:00 - 10:30", event: "Ouverte", type: "available" },{ time: "10:30 - 14:00", event: "Service déjeuner (UAPE)", type: "uape-slot" },{ time: "14:00 - 15:30", event: "Ouverte", type: "available" },{ time: "15:30 - 18:30", event: "Ouverte", type: "available" },{ time: "18:30 - 21:00", event: "Service dîner", type: "available" }],mardi: [{ time: "9:00 - 10:30", event: "Ouverte", type: "available" },{ time: "10:30 - 14:00", event: "Service déjeuner (UAPE)", type: "uape-slot" },{ time: "14:00 - 15:30", event: "Ouverte", type: "available" },{ time: "15:30 - 18:30", event: "Ouverte", type: "available" },{ time: "18:30 - 21:00", event: "Service dîner", type: "available" }],mercredi: [{ time: "9:00 - 10:30", event: "Ouverte", type: "available" },{ time: "10:30 - 14:00", event: "Service déjeuner", type: "available" },{ time: "15:00 - 17:00", event: "Mercredi-famille", type: "special-event" },{ time: "17:00 - 18:30", event: "Ouverte", type: "available" },{ time: "18:30 - 21:00", event: "Service dîner", type: "available" }],jeudi: [{ time: "9:00 - 10:30", event: "Ouverte", type: "available" },{ time: "10:30 - 14:00", event: "Service déjeuner (UAPE)", type: "uape-slot" },{ time: "14:00 - 15:30", event: "Ouverte", type: "available" },{ time: "15:30 - 18:30", event: "Ouverte", type: "available" },{ time: "18:30 - 21:00", event: "Service dîner", type: "available" }],vendredi: [{ time: "8:00 - 10:30", event: "Blabla café", type: "special-event" },{ time: "10:30 - 14:00", event: "Service déjeuner (UAPE)", type: "uape-slot" },{ time: "14:00 - 15:30", event: "Ouverte", type: "available" },{ time: "15:30 - 18:30", event: "Ouverte", type: "available" },{ time: "18:30 - 21:00", event: "Fermée", type: "available" }]}},bibliotheque: {name: "Bibliothèque",color: "emerald",icon: "fa-book",schedule: {lundi: [{ time: "9:00 - 10:30", event: "Ouverte", type: "available" },{ time: "10:30 - 14:00", event: "Ouverte", type: "available" },{ time: "14:00 - 15:30", event: "Ouverte", type: "available" },{ time: "15:30 - 18:30", event: "Ouverte", type: "available" },{ time: "18:30 - 21:00", event: "Ouverte", type: "available" }],mardi: [{ time: "9:00 - 10:30", event: "Ouverte", type: "available" },{ time: "10:30 - 14:00", event: "Ouverte", type: "available" },{ time: "14:00 - 15:30", event: "Ouverte", type: "available" },{ time: "15:30 - 18:30", event: "Ouverte", type: "available" },{ time: "18:30 - 21:00", event: "Ouverte", type: "available" }],mercredi: [{ time: "9:00 - 10:30", event: "Ouverte", type: "available" },{ time: "10:30 - 14:00", event: "Ouverte", type: "available" },{ time: "14:00 - 15:30", event: "Ouverte", type: "available" },{ time: "15:30 - 18:30", event: "Ouverte", type: "available" },{ time: "18:30 - 21:00", event: "Ouverte", type: "available" }],jeudi: [{ time: "9:00 - 10:30", event: "Ouverte", type: "available" },{ time: "10:30 - 14:00", event: "Ouverte", type: "available" },{ time: "14:00 - 15:30", event: "Ouverte", type: "available" },{ time: "15:30 - 18:30", event: "Ouverte", type: "available" },{ time: "18:30 - 21:00", event: "Ouverte", type: "available" }],vendredi: [{ time: "8:00 - 10:30", event: "Ouverte", type: "available" },{ time: "10:30 - 14:00", event: "Ouverte", type: "available" },{ time: "14:00 - 15:30", event: "Ouverte", type: "available" },{ time: "15:30 - 18:30", event: "Ouverte", type: "available" },{ time: "18:30 - 21:00", event: "Fermée", type: "available" }]}}};// Générer les cartes de sallefunction generateRoomCards() {const container = document.getElementById('rooms-container');container.innerHTML = '';for (const roomId in roomsData) {const room = roomsData[roomId];let cardHTML = `<div class="room-card bg-white rounded-lg shadow-md overflow-hidden"><div class="bg-${room.color}-600 p-4 text-white"><h2 class="text-xl font-semibold flex items-center"><i class="fas ${room.icon} mr-2"></i> ${room.name}</h2></div><div class="p-4">`;for (const day in room.schedule) {const isActive = day === 'lundi' ? '' : 'hidden';cardHTML += `<div id="${day}-${roomId}" class="day-schedule ${isActive}">`;cardHTML += `<h3 class="font-medium text-gray-700 mb-2">${day.charAt(0).toUpperCase() + day.slice(1)}</h3>`;room.schedule[day].forEach(slot => {let niveauText = slot.niveau ? ` (${slot.niveau.toUpperCase()})` : '';cardHTML += `<div class="time-slot ${slot.type} mb-2 p-2 rounded"><span class="font-medium">${slot.time}</span>: ${slot.event}${niveauText}</div>`;});cardHTML += `</div>`;}cardHTML += `</div><div class="px-4 py-3 bg-gray-50 text-right"><button onclick="openModal('${roomId}')" class="text-${room.color}-600 hover:text-${room.color}-800 font-medium">Réserver</button></div></div>`;container.innerHTML += cardHTML;}// Ajouter le résumé hebdomadairecontainer.innerHTML += `<div class="room-card bg-white rounded-lg shadow-md overflow-hidden col-span-1 md:col-span-2 lg:col-span-1"><div class="bg-purple-600 p-4 text-white"><h2 class="text-xl font-semibold flex items-center"><i class="fas fa-calendar-alt mr-2"></i> Résumé Hebdomadaire</h2></div><div class="p-4"><div class="mb-4"><h3 class="font-medium text-gray-700 mb-2">Événements Spéciaux</h3><ul class="space-y-2"><li class="flex items-start"><span class="inline-block bg-indigo-100 text-indigo-800 text-xs px-2 py-1 rounded-full mr-2">Mercredi</span><span>15:00 - 17:00: Mercredi-famille à la cafétéria</span></li><li class="flex items-start"><span class="inline-block bg-indigo-100 text-indigo-800 text-xs px-2 py-1 rounded-full mr-2">Vendredi</span><span>8:00 - 10:30: Blabla café à la cafétéria</span></li></ul></div><div><h3 class="font-medium text-gray-700 mb-2">Disponibilités Générales</h3><ul class="space-y-2"><li class="flex items-center"><i class="fas fa-check-circle text-green-500 mr-2"></i><span>Bibliothèque ouverte tous les jours sauf vendredi soir</span></li><li class="flex items-center"><i class="fas fa-check-circle text-green-500 mr-2"></i><span>Cafétéria ouverte tous les jours sauf vendredi soir</span></li><li class="flex items-center"><i class="fas fa-info-circle text-blue-500 mr-2"></i><span>Pas de cours le mercredi après-midi</span></li><li class="flex items-center"><i class="fas fa-utensils text-amber-500 mr-2"></i><span>UAPE utilise la cafétéria pour les repas (Lun, Mar, Jeu, Ven)</span></li></ul></div></div><div class="px-4 py-3 bg-gray-50 text-right"><button onclick="exportPlanning()" class="text-purple-600 hover:text-purple-800 font-medium">Exporter le planning</button></div></div>`;}// Afficher le jour sélectionnéfunction showDay(day) {// Mettre à jour les onglets8 unmodified lines});// Afficher les plannings du jour sélectionnéfor (const roomId in roomsData) {document.getElementById(`${day}-${roomId}`).classList.remove('hidden');}}// Gestion de la modal de réservationlet currentRoomId = null;function openModal(roomId) {currentRoomId = roomId;document.getElementById('reservation-modal').classList.remove('hidden');document.getElementById('room').value = roomId;}function closeModal() {document.getElementById('reservation-modal').classList.add('hidden');document.getElementById('reservation-form').reset();currentRoomId = null;}function submitReservation(event) {event.preventDefault();const roomId = document.getElementById('room').value;const day = document.getElementById('day').value;const startTime = document.getElementById('start-time').value;const endTime = document.getElementById('end-time').value;const eventName = document.getElementById('event').value;const niveau = document.getElementById('niveau').value;// Formatage de l'heure pour l'affichageconst formattedStart = formatTime(startTime);const formattedEnd = formatTime(endTime);const timeSlot = `${formattedStart} - ${formattedEnd}`;// Création du nouveau créneauconst newSlot = {time: timeSlot,event: eventName,type: "occupied"};if (niveau) {newSlot.niveau = niveau;}// Ajout du créneau dans les donnéesroomsData[roomId].schedule[day].push(newSlot);// Tri des créneaux par heure de débutroomsData[roomId].schedule[day].sort((a, b) => {return a.time.split(' - ')[0].localeCompare(b.time.split(' - ')[0]);});// Regénération des cartesgenerateRoomCards();// Réafficher le jour actuelshowDay(day);alert('Réservation confirmée!');closeModal();}function formatTime(timeString) {const [hours, minutes] = timeString.split(':');return `${hours}:${minutes}`;}function exportPlanning() {alert('Export du planning en cours... (fonctionnalité à implémenter)');}// Initialisationdocument.addEventListener('DOMContentLoaded', function() {generateRoomCards();// Activer l'onglet du lundi par défautdocument.querySelector('.day-tab').click();// Gestion du formulairedocument.getElementById('reservation-form').addEventListener('submit', submitReservation);});</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=masterseb/mdm" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p><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=Masterseb/mdm" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body></html>
1Faire une application qui va me permettre de gérer facilement l’occupation de mes 3 salles de classe, de la cafétéria et de la bibliothèque. Les classes sont occupées du lundi au jeudi, de 9h à 10h30, de 14h à 15h30 et de 18h30 à 21h. Le mercredi des midi plus de cours. Vendredi matin de 8 à 10h30 blabla café à la cafétéria. Et tous les mercredi après-midi mercredi-famille à la cafétéria de 15 à 17h.1Rendre fonctionnel la réservation. Tous les cours sont du foe de l’alpha au b1. Le blabla caf n’a lieu qu’à la cafétéria. L’uape utilise la cafétéria pour le repas des enfants les lundi,mardi jeudi et vendredi
index.html+413-612
prompts.txt+1-1