Modifications de tout ! Sauf le chef de département pour le moment

This commit is contained in:
stiti
2024-10-18 19:45:09 +02:00
parent a5dc0ec8a0
commit a3f1d427a1
27 changed files with 1471 additions and 408 deletions

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Historique des Transactions</title>
<title>Historique des paiements</title>
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="icon" href="../../media/img/logoIcon.ico" type="image/x-icon" />
<link rel="stylesheet" href="../../css/FINANCE/finance.css">
@@ -38,29 +38,58 @@
<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="./finance.html" class="w3-bar-item w3-button">Accueil</a>
<a href="./paiements_en_attente.html" class="w3-bar-item w3-button">Paiements en attente</a>
<a href="./historique_paiements.html" class="w3-bar-item w3-button">Historique des paiements</a>
<a href="./rapports_financiers.html" class="w3-bar-item w3-button">Rapports Financiers</a>
<a href="./historique_paiements.html" class="w3-bar-item w3-button">Historique des transactions</a>
<a href="./mes_informations.html" class="w3-bar-item w3-button">Mes informations et documents</a>
<a href="./mes_informations.html" class="w3-bar-item w3-button">Mes informations</a>
</div>
<!-- Section utilisateur avec déconnexion -->
<div class="user-section w3-bar-item w3-right">
<div class="user-name w3-padding-16">
<div class="user-section w3-right w3-hide-small w3-hide-medium">
<div class="user-name">
Jean DUPONT
</div>
<div class="logout-container w3-bar-item">
<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:25px; height:25px;">
<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="./finance.html" class="w3-bar-item w3-button">Accueil</a>
<a href="./paiements_en_attente.html" class="w3-bar-item w3-button">Paiements en attente</a>
<a href="./historique_paiements.html" class="w3-bar-item w3-button">Historique des paiements</a>
<a href="./rapports_financiers.html" class="w3-bar-item w3-button">Rapports Financiers</a>
<a href="./mes_informations.html" class="w3-bar-item w3-button">Mes informations</a>
<!-- Section utilisateur pour mobile -->
<div class="w3-bar-item w3-border-top w3-margin-top">
<div class="user-name">Jean DUPONT</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>
@@ -68,7 +97,7 @@
<div class="dashboard-container w3-container">
<div class="card w3-card">
<h2>Historique des Transactions</h2>
<h2>Historique des paiements</h2>
<!-- Section de filtre -->
<div class="filter-section w3-margin-bottom">
@@ -80,7 +109,7 @@
<button class="w3-button w3-blue" onclick="filterByStatus('Salaire payer')">Payé</button>
</div>
<!-- Tableau des transactions -->
<!-- Tableau des paiements -->
<table class="w3-table w3-bordered w3-striped w3-white">
<thead>
<tr class="w3-light-grey">
@@ -167,13 +196,11 @@
}
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');
var x = document.getElementById("mobileMenu");
if (x.className.indexOf("w3-show") == -1) {
x.className += " w3-show";
} else {
menu.classList.add('w3-hide-small');
x.className = x.className.replace(" w3-show", "");
}
}
</script>