Modifications de tout ! Sauf le chef de département pour le moment
This commit is contained in:
		@@ -13,14 +13,14 @@
 | 
			
		||||
    <div class="header w3-bar w3-card-4 w3-dark-blue">
 | 
			
		||||
        <!-- Logo pour retourner à l'accueil -->
 | 
			
		||||
        <div class="logo-container w3-bar-item">
 | 
			
		||||
            <img src="../../media/img/logoWhite.png" alt="Logo Accueil" class="w3-image" style="width:200px; height:50px;">
 | 
			
		||||
            <img src="../../media/img/logoWhite.png" alt="Logo Accueil" class="w3-image" style="width:150px; height:40px;">
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
    
 | 
			
		||||
        <!-- Bouton burger pour petit écran -->
 | 
			
		||||
        <a href="javascript:void(0)" class="w3-bar-item w3-button w3-hide-large w3-right w3-padding-16" onclick="toggleMenu()">☰</a>
 | 
			
		||||
 | 
			
		||||
    
 | 
			
		||||
        <!-- Catégories dans le header -->
 | 
			
		||||
        <div id="menu" class="categories w3-hide-small w3-bar-item">
 | 
			
		||||
        <div id="menu" class="categories w3-hide-small w3-hide-medium w3-bar-item">
 | 
			
		||||
            <a href="./vacataire.html" class="w3-bar-item w3-button">Accueil</a>
 | 
			
		||||
            <a href="./mes-heures.html" class="w3-bar-item w3-button">Heures</a>
 | 
			
		||||
            <a href="./paiements.html" class="w3-bar-item w3-button">Paiements</a>
 | 
			
		||||
@@ -29,19 +29,42 @@
 | 
			
		||||
        </div>
 | 
			
		||||
    
 | 
			
		||||
        <!-- Section utilisateur avec déconnexion -->
 | 
			
		||||
        <div class="user-section w3-bar-item w3-right">
 | 
			
		||||
        <div class="user-section w3-right w3-hide-small w3-hide-medium">
 | 
			
		||||
            <div class="user-name">
 | 
			
		||||
                Maxime MENAULT
 | 
			
		||||
            </div>
 | 
			
		||||
            <div class="logout-container w3-bar-item">
 | 
			
		||||
                <a href="./notifications.html" title="Notifications">
 | 
			
		||||
                    <img src="../../media/img/notifs.png" alt="Logo notification">
 | 
			
		||||
                    <img src="../../media/img/notifs.png" alt="Logo notification" style="width:24px; height:24px;">
 | 
			
		||||
                </a>
 | 
			
		||||
                <a href="./settings.html" title="Paramètres">
 | 
			
		||||
                    <img src="../../media/img/settings.png" alt="Logo paramètres">
 | 
			
		||||
                    <img src="../../media/img/settings.png" alt="Logo paramètres" style="width:24px; height:24px;">
 | 
			
		||||
                </a>
 | 
			
		||||
                <a href="../../index.html" title="Se déconnecter">
 | 
			
		||||
                    <img src="../../media/img/LogOutWhite.png" alt="Logo Déconnexion">
 | 
			
		||||
                    <img src="../../media/img/LogOutWhite.png" alt="Logo Déconnexion" style="width:24px; height:24px;">
 | 
			
		||||
                </a>
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
    
 | 
			
		||||
        <!-- Menu mobile caché au départ -->
 | 
			
		||||
        <div id="mobileMenu" class="w3-bar-block w3-hide w3-hide-large w3-dark-blue">
 | 
			
		||||
            <a href="./vacataire.html" class="w3-bar-item w3-button">Accueil</a>
 | 
			
		||||
            <a href="./mes-heures.html" class="w3-bar-item w3-button">Heures</a>
 | 
			
		||||
            <a href="./paiements.html" class="w3-bar-item w3-button">Paiements</a>
 | 
			
		||||
            <a href="./mon-contrat.html" class="w3-bar-item w3-button">Contrat</a>
 | 
			
		||||
            <a href="./mes-informations.html" class="w3-bar-item w3-button">Mes informations et documents</a>
 | 
			
		||||
    
 | 
			
		||||
            <!-- Section utilisateur pour mobile -->
 | 
			
		||||
            <div class="w3-bar-item w3-border-top w3-margin-top">
 | 
			
		||||
                <div class="user-name">Maxime MENAULT</div>
 | 
			
		||||
                <a href="./notifications.html" title="Notifications">
 | 
			
		||||
                    <img src="../../media/img/notifs.png" alt="Logo notification" style="width:24px; height:24px;">
 | 
			
		||||
                </a>
 | 
			
		||||
                <a href="./settings.html" title="Paramètres">
 | 
			
		||||
                    <img src="../../media/img/settings.png" alt="Logo paramètres" style="width:24px; height:24px;">
 | 
			
		||||
                </a>
 | 
			
		||||
                <a href="../../index.html" title="Se déconnecter">
 | 
			
		||||
                    <img src="../../media/img/LogOutWhite.png" alt="Logo Déconnexion" style="width:24px; height:24px;">
 | 
			
		||||
                </a>
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
@@ -408,16 +431,14 @@ function isDate(dateString) {
 | 
			
		||||
 | 
			
		||||
</script>
 | 
			
		||||
<script>
 | 
			
		||||
    function toggleMenu() {
 | 
			
		||||
        var menu = document.getElementById('menu');
 | 
			
		||||
        var nom = document.getElementById('user-section');
 | 
			
		||||
        if (menu.classList.contains('w3-hide-small')) {
 | 
			
		||||
            menu.classList.remove('w3-hide-small');
 | 
			
		||||
            menu.classList.remove('user-section');
 | 
			
		||||
        } else {
 | 
			
		||||
            menu.classList.add('w3-hide-small');
 | 
			
		||||
        function toggleMenu() {
 | 
			
		||||
            var x = document.getElementById("mobileMenu");
 | 
			
		||||
            if (x.className.indexOf("w3-show") == -1) {
 | 
			
		||||
                x.className += " w3-show";
 | 
			
		||||
            } else {
 | 
			
		||||
                x.className = x.className.replace(" w3-show", "");
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
</body>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user