{# Menu Planning correct - à insérer dans base.html #}
                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle {% if '/planning' in request.path %}active{% endif %}" href="#" role="button" data-bs-toggle="dropdown">
                        <i class="bi bi-calendar3"></i> <span>Planning</span>
                    </a>
                    <ul class="dropdown-menu dropdown-menu-dark" style="background:#34495e;">
                        <li><a class="dropdown-item" href="{{ url_for('planning.index') }}"><i class="bi bi-calendar-check"></i> Tableau de bord</a></li>
                        <li><a class="dropdown-item" href="{{ url_for('planning.tasks') }}"><i class="bi bi-list-check"></i> Tâches préventives</a></li>
                        <li><a class="dropdown-item" href="{{ url_for('planning.scheduled') }}"><i class="bi bi-calendar-week"></i> Tâches planifiées</a></li>
                        <li><hr class="dropdown-divider" style="border-color:rgba(255,255,255,0.15)"></li>
                        <li><a class="dropdown-item" href="{{ url_for('planning.meters') }}"><i class="bi bi-speedometer2"></i> Compteurs</a></li>
                        <li><a class="dropdown-item" href="{{ url_for('planning.consumables') }}"><i class="bi bi-box"></i> Consommables</a></li>
                        <li><hr class="dropdown-divider" style="border-color:rgba(255,255,255,0.15)"></li>
                        <li><a class="dropdown-item" href="{{ url_for('planning.availability') }}"><i class="bi bi-clock"></i> Disponibilités</a></li>
                        <li><a class="dropdown-item" href="{{ url_for('planning.admin_tasks') }}"><i class="bi bi-clipboard"></i> Tâches administratives</a></li>
                        <li><a class="dropdown-item" href="{{ url_for('planning.rules') }}"><i class="bi bi-shield-check"></i> Règles d'accès</a></li>
                        <li><hr class="dropdown-divider" style="border-color:rgba(255,255,255,0.15)"></li>
                        <li><a class="dropdown-item" href="{{ url_for('planning.help_page') }}"><i class="bi bi-question-circle"></i> Aide</a></li>
                    </ul>
                </li>