le choix des objectifs doit être reporté dans la thématique des exercices - Follow Up Deployment
Browse files6 unmodified lines78910111239 unmodified lines5253545556575859606119 unmodified lines818283848586878889909143 unmodified lines1351361371381391401411421431441451461471481491501511521534 unmodified lines1581591601611621631647 unmodified lines17217317417517617717824 unmodified lines2032042052062072082092102112122134 unmodified lines2182192202212222232242252262272286 unmodified lines2352362372382392404 unmodified lines2452462472482492502514 unmodified lines25625725825926026121 unmodified lines28328428528628728828988 unmodified lines37837938038138238338410 unmodified lines39539639739839940040171 unmodified lines47347447547647747847919 unmodified lines49950050150250350450520 unmodified lines52652752852953053153221 unmodified lines55455555655755855956015 unmodified lines5765775785795805814 unmodified lines58658758858959059159259359459520 unmodified lines61661761861962062162262362462519 unmodified lines64564664764864965065165265365455 unmodified lines71071171271371471531 unmodified lines7477487497507517526 unmodified lines<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>.calendar-day:hover {transform: scale(1.05);transition: all 0.2s ease;39 unmodified lines<h1 class="text-2xl font-bold">FootManager U18</h1></div><nav class="hidden md:flex space-x-6"><a href="#" class="hover:text-blue-200 font-medium active-nav">Planning</a><a href="#" class="hover:text-blue-200 font-medium">Séances</a><a href="#" class="hover:text-blue-200 font-medium">Exercices</a><a href="#" class="hover:text-blue-200 font-medium">Statistiques</a></nav><div class="flex items-center space-x-4"><button class="bg-blue-700 hover:bg-blue-800 px-4 py-2 rounded-lg font-medium">19 unmodified lines<!-- Main Content --><main class="container mx-auto px-4 py-8"><!-- Season Overview --><section class="mb-12 bg-white rounded-xl shadow-md p-6"><div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-6"><h2 class="text-2xl font-bold text-gray-800">Saison 2023/2024</h2><div class="flex space-x-4 mt-4 md:mt-0"><button class="bg-green-500 hover:bg-green-600 text-white px-4 py-2 rounded-lg font-medium flex items-center"><i class="fas fa-plus mr-2"></i>Nouvelle séance</button><button class="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-lg font-medium flex items-center">43 unmodified lines<div class="space-y-3"><div class="flex items-center"><div class="w-3 h-3 bg-red-500 rounded-full mr-2"></div><span class="text-sm">Pré-saison (Août) - Physique</span></div><div class="flex items-center"><div class="w-3 h-3 bg-yellow-500 rounded-full mr-2"></div><span class="text-sm">Sept-Oct - Technique passes</span></div><div class="flex items-center"><div class="w-3 h-3 bg-green-500 rounded-full mr-2"></div><span class="text-sm">Nov-Déc - Défense</span></div><div class="flex items-center"><div class="w-3 h-3 bg-blue-500 rounded-full mr-2"></div><span class="text-sm">Jan-Fév - Attaque</span></div></div></div>4 unmodified lines<div class="bg-blue-50 p-3 rounded-lg"><div class="flex justify-between items-center mb-2"><span class="font-medium text-blue-800">Mercredi 15 Nov</span><span class="text-sm bg-blue-100 text-blue-800 px-2 py-1 rounded">16h-17h30</span></div><p class="text-sm text-gray-700 mb-2">Thème: Défense en bloc bas</p><div class="flex flex-wrap gap-1">7 unmodified lines<!-- Calendar Navigation --><div class="flex justify-between items-center mb-4"><h3 class="text-xl font-semibold text-gray-800">Novembre 2023</h3><div class="flex space-x-2"><button class="p-2 rounded-full hover:bg-gray-100"><i class="fas fa-chevron-left"></i>24 unmodified lines<div class="bg-white h-24 p-1"></div><div class="bg-white h-24 p-1"></div><div class="bg-white h-24 p-1"></div><!-- November 1-30 --><div class="bg-white h-24 p-1 calendar-day"><div class="h-full flex flex-col"><div class="text-right text-sm">1</div></div></div><div class="bg-white h-24 p-1 calendar-day">4 unmodified lines<div class="bg-white h-24 p-1 calendar-day"><div class="h-full flex flex-col"><div class="text-right text-sm">3</div></div></div><div class="bg-white h-24 p-1 calendar-day"><div class="h-full flex flex-col"><div class="text-right text-sm">4</div></div></div>6 unmodified lines<div class="bg-white h-24 p-1 calendar-day"><div class="h-full flex flex-col"><div class="text-right text-sm">6</div></div></div><div class="bg-white h-24 p-1 calendar-day">4 unmodified lines<div class="bg-white h-24 p-1 calendar-day"><div class="h-full flex flex-col"><div class="text-right text-sm">8</div><div class="mt-1 text-xs bg-blue-100 text-blue-800 p-1 rounded truncate">16h-17h30</div></div></div><div class="bg-white h-24 p-1 calendar-day">4 unmodified lines<div class="bg-white h-24 p-1 calendar-day"><div class="h-full flex flex-col"><div class="text-right text-sm">10</div></div></div><div class="bg-white h-24 p-1 calendar-day">21 unmodified lines<div class="bg-white h-24 p-1 calendar-day relative"><div class="h-full flex flex-col"><div class="text-right text-sm">15</div><div class="mt-1 text-xs bg-blue-100 text-blue-800 p-1 rounded truncate">16h-17h30</div></div><div class="absolute top-0 right-0 w-2 h-2 bg-blue-500 rounded-full"></div></div>88 unmodified lines<!-- Selected Session Details --><section class="mb-12 bg-white rounded-xl shadow-md p-6"><div class="flex justify-between items-center mb-6"><h2 class="text-2xl font-bold text-gray-800">Séance du 15 Novembre 2023</h2><div class="flex space-x-2"><button class="bg-gray-100 hover:bg-gray-200 px-4 py-2 rounded-lg font-medium"><i class="fas fa-edit mr-2"></i>Modifier10 unmodified lines<span class="font-medium text-blue-800">Durée totale</span><i class="fas fa-clock text-blue-500"></i></div><p class="text-2xl font-bold text-blue-700">1h30</p></div><div class="bg-green-50 p-3 rounded-lg border border-green-100">71 unmodified lines<div class="flex justify-between items-start mb-2"><h4 class="font-bold text-lg text-blue-700">1. Échauffement spécifique (15min)</h4><span class="bg-blue-100 text-blue-800 px-2 py-1 rounded text-sm font-medium"><i class="fas fa-clock mr-1"></i>15 min</span></div><div class="mb-3">19 unmodified lines<div class="flex justify-between items-start mb-2"><h4 class="font-bold text-lg text-purple-700">2. Jeu de position défensif (25min)</h4><span class="bg-purple-100 text-purple-800 px-2 py-1 rounded text-sm font-medium"><i class="fas fa-clock mr-1"></i>25 min</span></div><div class="mb-3">20 unmodified lines<div class="flex justify-between items-start mb-2"><h4 class="font-bold text-lg text-green-700">3. Match réduit thématique (35min)</h4><span class="bg-green-100 text-green-800 px-2 py-1 rounded text-sm font-medium"><i class="fas fa-clock mr-1"></i>35 min</span></div><div class="mb-3">21 unmodified lines<div class="flex justify-between items-start mb-2"><h4 class="font-bold text-lg text-red-700">4. Retour au calme (15min)</h4><span class="bg-red-100 text-red-800 px-2 py-1 rounded text-sm font-medium"><i class="fas fa-clock mr-1"></i>15 min</span></div><div class="mb-3">15 unmodified lines</div></section><!-- Session Templates --><section class="bg-white rounded-xl shadow-md p-6"><div class="flex justify-between items-center mb-6">4 unmodified lines</div><div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"><!-- Template 1 --><div class="border border-gray-200 rounded-lg overflow-hidden shadow-sm hover:shadow-md transition-shadow"><div class="bg-blue-600 p-4 text-white"><h3 class="font-bold text-lg">Technique de passes</h3><p class="text-sm opacity-90">Développement des passes courtes et longues</p></div><div class="p-4">20 unmodified lines</div></div><!-- Template 2 --><div class="border border-gray-200 rounded-lg overflow-hidden shadow-sm hover:shadow-md transition-shadow"><div class="bg-green-600 p-4 text-white"><h3 class="font-bold text-lg">Préparation physique</h3><p class="text-sm opacity-90">Endurance et explosivité</p></div><div class="p-4">19 unmodified lines</div></div><!-- Template 3 --><div class="border border-gray-200 rounded-lg overflow-hidden shadow-sm hover:shadow-md transition-shadow"><div class="bg-purple-600 p-4 text-white"><h3 class="font-bold text-lg">Tactique offensive</h3><p class="text-sm opacity-90">Démarquages et création de supériorité</p></div><div class="p-4">55 unmodified lines</footer><script>// Mobile menu toggledocument.getElementById('mobile-menu-button').addEventListener('click', function() {const menu = document.getElementById('mobile-menu');31 unmodified lines});// Simulate loading datawindow.addEventListener('DOMContentLoaded', function() {// Select today's date in the calendarconst today = new Date();6 unmodified lines789101112131415161718192021222339 unmodified lines6364656667686970717219 unmodified lines929394959697989910010110243 unmodified lines1461471481491501511521531541551561571581591601611621631644 unmodified lines1691701711721731741757 unmodified lines18318418518618718818924 unmodified lines2142152162172182192202212222232244 unmodified lines2292302312322332342352362372382392402416 unmodified lines2482492502512522532544 unmodified lines2592602612622632644 unmodified lines26927027127227327427521 unmodified lines29729829930030130230388 unmodified lines39239339439539639739810 unmodified lines40941041141241341441571 unmodified lines48748848949049149249319 unmodified lines51351451551651751851920 unmodified lines54054154254354454554621 unmodified lines56856957057157257357415 unmodified lines5905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107114 unmodified lines71671771871972072172272372472520 unmodified lines74674774874975075175275375475519 unmodified lines77577677777877978078178278378455 unmodified lines84084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087131 unmodified lines90390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810396 unmodified lines<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>#objectives-select option {padding: 8px 12px;margin: 2px 0;border-radius: 4px;}#objectives-select option:hover {background-color: #f3f4f6;}#objectives-select option:checked {background-color: #e5e7eb;}.calendar-day:hover {transform: scale(1.05);transition: all 0.2s ease;39 unmodified lines<h1 class="text-2xl font-bold">FootManager U18</h1></div><nav class="hidden md:flex space-x-6"><a href="#" id="nav-planning" class="hover:text-blue-200 font-medium active-nav">Planning</a><a href="#" id="nav-sessions" class="hover:text-blue-200 font-medium">Séances</a><a href="#" id="nav-exercises" class="hover:text-blue-200 font-medium">Exercices</a><a href="#" id="nav-stats" class="hover:text-blue-200 font-medium">Statistiques</a></nav><div class="flex items-center space-x-4"><button class="bg-blue-700 hover:bg-blue-800 px-4 py-2 rounded-lg font-medium">19 unmodified lines<!-- Main Content --><main class="container mx-auto px-4 py-8"><!-- Season Overview --><section id="section-planning" class="mb-12 bg-white rounded-xl shadow-md p-6"><div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-6"><h2 class="text-2xl font-bold text-gray-800">Saison 2023/2024</h2><div class="flex space-x-4 mt-4 md:mt-0"><button id="new-session-btn" class="bg-green-500 hover:bg-green-600 text-white px-4 py-2 rounded-lg font-medium flex items-center"><i class="fas fa-plus mr-2"></i>Nouvelle séance</button><button class="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-lg font-medium flex items-center">43 unmodified lines<div class="space-y-3"><div class="flex items-center"><div class="w-3 h-3 bg-red-500 rounded-full mr-2"></div><span class="text-sm">Pré-saison (Août 2025) - Physique</span></div><div class="flex items-center"><div class="w-3 h-3 bg-yellow-500 rounded-full mr-2"></div><span class="text-sm">Sept-Oct 2025 - Technique passes</span></div><div class="flex items-center"><div class="w-3 h-3 bg-green-500 rounded-full mr-2"></div><span class="text-sm">Nov-Déc 2025 - Défense</span></div><div class="flex items-center"><div class="w-3 h-3 bg-blue-500 rounded-full mr-2"></div><span class="text-sm">Jan-Fév 2026 - Attaque</span></div></div></div>4 unmodified lines<div class="bg-blue-50 p-3 rounded-lg"><div class="flex justify-between items-center mb-2"><span class="font-medium text-blue-800">Mercredi 15 Nov</span><span class="text-sm bg-blue-100 text-blue-800 px-2 py-1 rounded">19h15-20h45</span></div><p class="text-sm text-gray-700 mb-2">Thème: Défense en bloc bas</p><div class="flex flex-wrap gap-1">7 unmodified lines<!-- Calendar Navigation --><div class="flex justify-between items-center mb-4"><h3 class="text-xl font-semibold text-gray-800">Août 2025</h3><div class="flex space-x-2"><button class="p-2 rounded-full hover:bg-gray-100"><i class="fas fa-chevron-left"></i>24 unmodified lines<div class="bg-white h-24 p-1"></div><div class="bg-white h-24 p-1"></div><div class="bg-white h-24 p-1"></div><div class="bg-white h-24 p-1"></div><div class="bg-white h-24 p-1 calendar-day"><div class="h-full flex flex-col"><div class="text-right text-sm">1</div><div class="mt-1 text-xs bg-blue-100 text-blue-800 p-1 rounded truncate">19h15-20h45</div></div></div><div class="bg-white h-24 p-1 calendar-day">4 unmodified lines<div class="bg-white h-24 p-1 calendar-day"><div class="h-full flex flex-col"><div class="text-right text-sm">3</div><div class="mt-1 text-xs bg-blue-100 text-blue-800 p-1 rounded truncate">19h15-20h45</div></div></div><div class="bg-white h-24 p-1 calendar-day"><div class="h-full flex flex-col"><div class="text-right text-sm">4</div><div class="mt-1 text-xs bg-blue-100 text-blue-800 p-1 rounded truncate">19h15-20h45</div></div></div>6 unmodified lines<div class="bg-white h-24 p-1 calendar-day"><div class="h-full flex flex-col"><div class="text-right text-sm">6</div><div class="mt-1 text-xs bg-blue-100 text-blue-800 p-1 rounded truncate">19h15-20h45</div></div></div><div class="bg-white h-24 p-1 calendar-day">4 unmodified lines<div class="bg-white h-24 p-1 calendar-day"><div class="h-full flex flex-col"><div class="text-right text-sm">8</div></div></div><div class="bg-white h-24 p-1 calendar-day">4 unmodified lines<div class="bg-white h-24 p-1 calendar-day"><div class="h-full flex flex-col"><div class="text-right text-sm">10</div><div class="mt-1 text-xs bg-blue-100 text-blue-800 p-1 rounded truncate">19h15-20h45</div></div></div><div class="bg-white h-24 p-1 calendar-day">21 unmodified lines<div class="bg-white h-24 p-1 calendar-day relative"><div class="h-full flex flex-col"><div class="text-right text-sm">15</div><div class="mt-1 text-xs bg-blue-100 text-blue-800 p-1 rounded truncate">19h15-20h45</div></div><div class="absolute top-0 right-0 w-2 h-2 bg-blue-500 rounded-full"></div></div>88 unmodified lines<!-- Selected Session Details --><section class="mb-12 bg-white rounded-xl shadow-md p-6"><div class="flex justify-between items-center mb-6"><h2 class="text-2xl font-bold text-gray-800">Séance du 15 Août 2025</h2><div class="flex space-x-2"><button class="bg-gray-100 hover:bg-gray-200 px-4 py-2 rounded-lg font-medium"><i class="fas fa-edit mr-2"></i>Modifier10 unmodified lines<span class="font-medium text-blue-800">Durée totale</span><i class="fas fa-clock text-blue-500"></i></div><p class="text-2xl font-bold text-blue-700">1h30 (19h15-20h45)</p></div><div class="bg-green-50 p-3 rounded-lg border border-green-100">71 unmodified lines<div class="flex justify-between items-start mb-2"><h4 class="font-bold text-lg text-blue-700">1. Échauffement spécifique (15min)</h4><span class="bg-blue-100 text-blue-800 px-2 py-1 rounded text-sm font-medium"><i class="fas fa-clock mr-1"></i>19h15-19h30</span></div><div class="mb-3">19 unmodified lines<div class="flex justify-between items-start mb-2"><h4 class="font-bold text-lg text-purple-700">2. Jeu de position défensif (25min)</h4><span class="bg-purple-100 text-purple-800 px-2 py-1 rounded text-sm font-medium"><i class="fas fa-clock mr-1"></i>19h30-19h55</span></div><div class="mb-3">20 unmodified lines<div class="flex justify-between items-start mb-2"><h4 class="font-bold text-lg text-green-700">3. Match réduit thématique (35min)</h4><span class="bg-green-100 text-green-800 px-2 py-1 rounded text-sm font-medium"><i class="fas fa-clock mr-1"></i>19h55-20h30</span></div><div class="mb-3">21 unmodified lines<div class="flex justify-between items-start mb-2"><h4 class="font-bold text-lg text-red-700">4. Retour au calme (15min)</h4><span class="bg-red-100 text-red-800 px-2 py-1 rounded text-sm font-medium"><i class="fas fa-clock mr-1"></i>20h30-20h45</span></div><div class="mb-3">15 unmodified lines</div></section><!-- New Session Template (Hidden by default) --><section id="new-session-template" class="hidden bg-white rounded-xl shadow-md p-6 mb-8"><div class="flex justify-between items-center mb-6"><h2 class="text-2xl font-bold text-gray-800">Nouvelle Séance</h2><button id="close-template-btn" class="text-gray-500 hover:text-gray-700"><i class="fas fa-times text-xl"></i></button></div><form id="session-form"><div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6"><div><label class="block text-sm font-medium text-gray-700 mb-1">Date</label><input type="date" class="w-full px-3 py-2 border border-gray-300 rounded-md"></div><div><label class="block text-sm font-medium text-gray-700 mb-1">Heure</label><div class="flex space-x-2"><input type="time" class="w-1/2 px-3 py-2 border border-gray-300 rounded-md"><input type="time" class="w-1/2 px-3 py-2 border border-gray-300 rounded-md"></div></div><div><label class="block text-sm font-medium text-gray-700 mb-1">Thème principal</label><input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-md"></div><div><label class="block text-sm font-medium text-gray-700 mb-1">Durée estimée</label><input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-md"></div></div><div class="mb-6"><label class="block text-sm font-medium text-gray-700 mb-2">Objectifs pédagogiques</label><div class="mb-3"><select multiple class="w-full px-3 py-2 border border-gray-300 rounded-md" id="objectives-select"><option value="tactique" class="bg-blue-50 text-blue-800">Tactique: Défense en bloc bas</option><option value="tactique" class="bg-blue-50 text-blue-800">Tactique: Transition défense-attaque</option><option value="physique" class="bg-green-50 text-green-800">Physique: Endurance défensive</option><option value="physique" class="bg-green-50 text-green-800">Physique: Explosivité</option><option value="mental" class="bg-purple-50 text-purple-800">Mental: Concentration défensive</option><option value="mental" class="bg-purple-50 text-purple-800">Mental: Gestion du stress</option><option value="cohesion" class="bg-yellow-50 text-yellow-800">Cohésion: Communication défensive</option><option value="cohesion" class="bg-yellow-50 text-yellow-800">Cohésion: Travail d'équipe</option></select></div><div id="selected-objectives" class="flex flex-wrap gap-2 mb-3"></div><textarea class="w-full px-3 py-2 border border-gray-300 rounded-md" rows="3" placeholder="Détaillez les objectifs spécifiques..."></textarea></div><div class="mb-6"><label class="block text-sm font-medium text-gray-700 mb-2">Matériel nécessaire</label><div class="flex mb-3"><select class="w-2/3 px-3 py-2 border border-gray-300 rounded-l-md" id="material-select"><option value="">Sélectionner un matériel</option><option value="ballons">Ballons</option><option value="cones">Cônes</option><option value="chasubles">Chasubles</option><option value="plots">Plots</option><option value="buts">Buts mobiles</option><option value="chrono">Chronomètre</option></select><input type="number" min="1" value="1" class="w-1/6 px-3 py-2 border-t border-b border-gray-300" id="material-qty"><button type="button" onclick="addMaterial()" class="w-1/6 bg-blue-500 text-white px-3 py-2 rounded-r-md hover:bg-blue-600"><i class="fas fa-plus"></i></button></div><div id="selected-materials" class="flex flex-wrap gap-2 mb-3"></div></div><div class="mb-6"><div class="flex justify-between items-center mb-2"><h3 class="text-lg font-semibold text-gray-800">Exercices</h3><button type="button" class="text-blue-600 hover:text-blue-800 font-medium"><i class="fas fa-plus mr-1"></i>Ajouter un exercice</button></div><div class="space-y-4"><div class="border border-gray-200 rounded-lg p-4"><div class="flex justify-between items-start mb-2"><input type="text" class="font-bold text-lg text-blue-700 bg-transparent border-b border-gray-200 focus:border-blue-500 focus:outline-none" placeholder="Nom de l'exercice"><div class="flex items-center"><span class="text-sm font-medium mr-2">Durée:</span><input type="text" class="w-16 px-2 py-1 border border-gray-300 rounded text-sm"></div></div><textarea class="w-full px-3 py-2 border border-gray-300 rounded-md text-sm mb-3" rows="2" placeholder="Description de l'exercice..."></textarea><div class="flex flex-wrap gap-2"><span class="exercise-theme text-xs bg-blue-100 text-blue-800 px-2 py-1 rounded cursor-pointer" data-theme-type="tactique"><i class="fas fa-chess mr-1"></i>Tactique</span><span class="exercise-theme text-xs bg-green-100 text-green-800 px-2 py-1 rounded cursor-pointer" data-theme-type="physique"><i class="fas fa-running mr-1"></i>Physique</span><span class="exercise-theme text-xs bg-purple-100 text-purple-800 px-2 py-1 rounded cursor-pointer" data-theme-type="mental"><i class="fas fa-brain mr-1"></i>Mental</span><span class="exercise-theme text-xs bg-yellow-100 text-yellow-800 px-2 py-1 rounded cursor-pointer" data-theme-type="cohesion"><i class="fas fa-users mr-1"></i>Cohésion</span></div></div></div></div><div class="flex justify-end space-x-3"><button type="button" class="bg-gray-200 hover:bg-gray-300 px-4 py-2 rounded-lg font-medium">Annuler</button><button type="submit" class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-2 rounded-lg font-medium">Enregistrer</button></div></form></section><!-- Session Templates --><section class="bg-white rounded-xl shadow-md p-6"><div class="flex justify-between items-center mb-6">4 unmodified lines</div><div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"><!-- Séance 1 --><div class="border border-gray-200 rounded-lg overflow-hidden shadow-sm hover:shadow-md transition-shadow"><div class="bg-blue-600 p-4 text-white"><h3 class="font-bold text-lg">Séance 1 - Technique de passes</h3><p class="text-sm opacity-90">Développement des passes courtes et longues</p></div><div class="p-4">20 unmodified lines</div></div><!-- Séance 2 --><div class="border border-gray-200 rounded-lg overflow-hidden shadow-sm hover:shadow-md transition-shadow"><div class="bg-green-600 p-4 text-white"><h3 class="font-bold text-lg">Séance 2 - Préparation physique</h3><p class="text-sm opacity-90">Endurance et explosivité</p></div><div class="p-4">19 unmodified lines</div></div><!-- Séance 3 --><div class="border border-gray-200 rounded-lg overflow-hidden shadow-sm hover:shadow-md transition-shadow"><div class="bg-purple-600 p-4 text-white"><h3 class="font-bold text-lg">Séance 3 - Tactique offensive</h3><p class="text-sm opacity-90">Démarquages et création de supériorité</p></div><div class="p-4">55 unmodified lines</footer><script>// Navigation functionsfunction setActiveNav(id) {// Remove active class from all nav itemsdocument.querySelectorAll('nav a').forEach(link => {link.classList.remove('active-nav', 'text-blue-300');});// Add active class to clicked itemconst activeLink = document.getElementById(id);if (activeLink) {activeLink.classList.add('active-nav', 'text-blue-300');}// Hide all sectionsdocument.querySelectorAll('main > section').forEach(section => {section.classList.add('hidden');});// Show corresponding sectionconst sectionId = id.replace('nav-', 'section-');const activeSection = document.getElementById(sectionId);if (activeSection) {activeSection.classList.remove('hidden');}}// Mobile menu toggledocument.getElementById('mobile-menu-button').addEventListener('click', function() {const menu = document.getElementById('mobile-menu');31 unmodified lines});// Simulate loading data// Set up navigation event listenersdocument.getElementById('nav-planning').addEventListener('click', () => setActiveNav('nav-planning'));document.getElementById('nav-sessions').addEventListener('click', () => setActiveNav('nav-sessions'));document.getElementById('nav-exercises').addEventListener('click', () => setActiveNav('nav-exercises'));document.getElementById('nav-stats').addEventListener('click', () => setActiveNav('nav-stats'));// Set up button event listenersdocument.querySelectorAll('button').forEach(button => {if (!button.id) return;button.addEventListener('click', () => {alert(`Bouton ${button.id} cliqué!`);// Add specific functionality for each button here});});// New session buttondocument.getElementById('new-session-btn').addEventListener('click', function(e) {e.stopPropagation();document.getElementById('new-session-template').classList.remove('hidden');window.scrollTo({top: document.getElementById('new-session-template').offsetTop - 20,behavior: 'smooth'});});// Close template buttondocument.getElementById('close-template-btn').addEventListener('click', function() {document.getElementById('new-session-template').classList.add('hidden');});// Material selectionfunction addMaterial() {const select = document.getElementById('material-select');const qty = document.getElementById('material-qty');const container = document.getElementById('selected-materials');if (select.value) {const material = document.createElement('span');material.className = 'bg-gray-100 text-gray-800 px-3 py-1 rounded-full text-sm flex items-center';material.innerHTML = `<i class="fas fa-${getMaterialIcon(select.value)} mr-1"></i>${select.options[select.selectedIndex].text} (${qty.value})<button type="button" onclick="this.parentElement.remove()" class="ml-2 text-gray-500 hover:text-gray-700"><i class="fas fa-times text-xs"></i></button>`;container.appendChild(material);select.value = '';qty.value = 1;}}function getMaterialIcon(type) {const icons = {'ballons': 'futbol','cones': 'square','chasubles': 'tshirt','plots': 'vector-square','buts': 'futbol','chrono': 'stopwatch'};return icons[type] || 'tools';}// Objectives selection with multiple choicesdocument.getElementById('objectives-select').addEventListener('change', function() {const container = document.getElementById('selected-objectives');container.innerHTML = '';Array.from(this.selectedOptions).forEach(option => {const colorClass = option.value === 'tactique' ? 'bg-blue-100 text-blue-800' :option.value === 'physique' ? 'bg-green-100 text-green-800' :option.value === 'mental' ? 'bg-purple-100 text-purple-800' :'bg-yellow-100 text-yellow-800';const icon = option.value === 'tactique' ? 'chess' :option.value === 'physique' ? 'running' :option.value === 'mental' ? 'brain' : 'users';const objective = document.createElement('span');objective.className = `${colorClass} px-3 py-1 rounded-full text-sm flex items-center mb-2`;objective.innerHTML = `<i class="fas fa-${icon} mr-1"></i> ${option.text}<button type="button" onclick="removeObjective(this)" class="ml-2 text-gray-500 hover:text-gray-700"><i class="fas fa-times text-xs"></i></button>`;container.appendChild(objective);});updateExerciseThemes();});function removeObjective(button) {const objective = button.parentElement;const container = document.getElementById('selected-objectives');container.removeChild(objective);// Also remove from select optionsconst select = document.getElementById('objectives-select');const optionText = objective.textContent.trim().replace('×', '').trim();Array.from(select.options).forEach(option => {if (option.text === optionText) {option.selected = false;}});updateExerciseThemes();}function updateExerciseThemes() {const selectedObjectives = Array.from(document.getElementById('objectives-select').selectedOptions);const exerciseThemeSpans = document.querySelectorAll('.exercise-theme');exerciseThemeSpans.forEach(span => {const themeType = span.dataset.themeType;const isSelected = selectedObjectives.some(opt =>opt.value === themeType ||opt.text.includes(themeType.charAt(0).toUpperCase() + themeType.slice(1)));span.style.display = isSelected ? 'inline-flex' : 'none';});}// Form submissiondocument.getElementById('session-form').addEventListener('submit', function(e) {e.preventDefault();alert('Séance enregistrée avec succès!');document.getElementById('new-session-template').classList.add('hidden');// Ici vous pourriez ajouter la logique pour sauvegarder la séance});window.addEventListener('DOMContentLoaded', function() {// Select today's date in the calendarconst today = new Date();
index.html+315-28