Ajouts de la maquette web sur le nouveau git (suite au bug de l'ancien répertoire git
This commit is contained in:
205
MaquetteWEB/html/FINANCE/finance.html
Normal file
205
MaquetteWEB/html/FINANCE/finance.html
Normal file
@@ -0,0 +1,205 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Dashboard Financier</title>
|
||||
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
|
||||
<link rel="stylesheet" href="../../css/FINANCE/finance.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<!-- Logo pour retourner à l'accueil -->
|
||||
<div class="logo-container">
|
||||
<img src="../../media/img/logoWhite.png" alt="Logo Accueil">
|
||||
</div>
|
||||
|
||||
<!-- Catégories dans le header -->
|
||||
<div class="categories">
|
||||
<a href="./finance.html">Accueil</a>
|
||||
<a href="./paiements_en_attente.html">Paiements en attente</a>
|
||||
<a href="./rapports_financiers.html">Rapports Financiers</a>
|
||||
<a href="./historique_paiements.html">Historique des transactions</a>
|
||||
<a href="./mes_informations.html">Mes informations et documents</a>
|
||||
</div>
|
||||
|
||||
<!-- Section utilisateur avec déconnexion -->
|
||||
<div class="user-section">
|
||||
<div class="user-name">
|
||||
Jean DUPONT
|
||||
</div>
|
||||
<div class="logout-container">
|
||||
<a href="../../index.html" title="Se déconnecter">
|
||||
<img src="../../media/img/LogOutWhite.png" alt="Logo Déconnexion">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="dashboard-container">
|
||||
<!-- Alertes et Notifications -->
|
||||
<div class="section-header" id="notifications-section">
|
||||
<h2>Alertes et Notifications</h2>
|
||||
</div>
|
||||
<div id="notifications-container">
|
||||
<!-- Notifications -->
|
||||
<div class="alert">
|
||||
<span class="close" onclick="this.parentElement.style.display='none';">×</span>
|
||||
<p><strong>Paiements en attente :</strong> Vous avez des paiements qui n'ont pas encore été traités. Merci de vérifier dans : <a href="paiements_en_attente.html">Paiements en attente</a>.</p>
|
||||
</div>
|
||||
<div class="success">
|
||||
<span class="close" onclick="this.parentElement.style.display='none';">×</span>
|
||||
<p><strong>Rapport validé :</strong> Votre dernier rapport financier a été validé. Vous pouvez le consulter dans : <a href="rapports_financiers.html">Rapports Financiers</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Script pour gérer l'affichage des notifications -->
|
||||
<script>
|
||||
const notificationsContainer = document.getElementById('notifications-container');
|
||||
const notificationsSection = document.getElementById('notifications-section');
|
||||
|
||||
// Vérifiez si le conteneur des notifications est vide
|
||||
if (notificationsContainer.childElementCount === 0) {
|
||||
notificationsSection.style.display = 'none'; // Masquer la section si aucune notification
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- Paiements en attente -->
|
||||
<div class="section-header">
|
||||
<h2>Paiements en Attente</h2>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="table-container">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID Transaction</th>
|
||||
<th>Période</th>
|
||||
<th>Montant en Attente (€)</th>
|
||||
<th>Date prévue de paiement</th>
|
||||
<th>Statut</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>002</td>
|
||||
<td>Octobre 2024</td>
|
||||
<td>1200,00</td>
|
||||
<td>15/10/2024</td>
|
||||
<td>En attente</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>003</td>
|
||||
<td>Novembre 2024</td>
|
||||
<td>1800,00</td>
|
||||
<td>15/11/2024</td>
|
||||
<td>En attente</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="button-container" style="text-align: center; margin-top: 20px;">
|
||||
<a href="./paiements_en_attente.html">
|
||||
<button class="button see-more" style="padding: 10px 20px; background-color: #20195e; color: white; border: none; border-radius: 4px; cursor: pointer;">
|
||||
Voir plus
|
||||
</button>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Rapports Financiers -->
|
||||
<div class="section-header">
|
||||
<h2>Rapports Financiers</h2>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="table-container">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Rapport</th>
|
||||
<th>Date de création</th>
|
||||
<th>Statut</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Rapport d'Octobre 2024</td>
|
||||
<td>01/10/2024</td>
|
||||
<td>Validé</td>
|
||||
<td><a href="rapports_financiers.html#octobre2024" class="btn">Voir Rapport</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Rapport de Novembre 2024</td>
|
||||
<td>01/11/2024</td>
|
||||
<td>En cours</td>
|
||||
<td><a href="#" class="btn">Préparer Rapport</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="button-container" style="text-align: center; margin-top: 20px;">
|
||||
<a href="./rapports_financiers.html">
|
||||
<button class="button see-more" style="padding: 10px 20px; background-color: #20195e; color: white; border: none; border-radius: 4px; cursor: pointer;">
|
||||
Voir plus
|
||||
</button>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Historique des paiements du personnel -->
|
||||
<div class="section-header">
|
||||
<h2>Historique des Paiements du Personnel</h2>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="table-container">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Période</th>
|
||||
<th>Personnel</th>
|
||||
<th>Montant (€)</th>
|
||||
<th>Date de Paiement</th>
|
||||
<th>Bulletin de paie</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Septembre 2024</td>
|
||||
<td>Denis MONNERAT (permanent)</td>
|
||||
<td>1800,00</td>
|
||||
<td>01/10/2024</td>
|
||||
<td><a href="https://ensap.gouv.fr" target="_blank" class="btn">Voir Bulletin</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Août 2024</td>
|
||||
<td>Maxime MENAULT (vacataire)</td>
|
||||
<td>870,00</td>
|
||||
<td>01/09/2024</td>
|
||||
<td><a href="https://ensap.gouv.fr" target="_blank" class="btn">Voir Bulletin</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="button-container" style="text-align: center; margin-top: 20px;">
|
||||
<a href="./historique_paiements.html">
|
||||
<button class="button see-more" style="padding: 10px 20px; background-color: #20195e; color: white; border: none; border-radius: 4px; cursor: pointer;">
|
||||
Voir plus
|
||||
</button>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p>© 2024 IUT de Fontainebleau. Tous droits réservés |
|
||||
<a href="../mentions_legales.html">Mentions légales</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
202
MaquetteWEB/html/FINANCE/historique_paiements.html
Normal file
202
MaquetteWEB/html/FINANCE/historique_paiements.html
Normal file
@@ -0,0 +1,202 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Historique des Transactions</title>
|
||||
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
|
||||
<link rel="stylesheet" href="../../css/FINANCE/style.css">
|
||||
<style>
|
||||
.dashboard-container {
|
||||
margin-top: 20px;
|
||||
}
|
||||
.card {
|
||||
background-color: white;
|
||||
padding: 20px;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
th, td {
|
||||
border: 1px solid #ddd;
|
||||
padding: 10px;
|
||||
text-align: left;
|
||||
}
|
||||
th {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
.button {
|
||||
padding: 10px 15px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.block { background-color: #f44336; }
|
||||
.cancel { background-color: #ff9800; }
|
||||
.unblock { background-color: #4caf50; }
|
||||
.send { background-color: #2196F3; }
|
||||
.status-en-attente { background-color: #ffeb3b; color: black; }
|
||||
.status-bloque { background-color: #f44336; color: white; }
|
||||
.status-annule { background-color: #ff9800; color: white; }
|
||||
.status-debloque { background-color: #4caf50; color: white; }
|
||||
.status-envoye { background-color: #2196F3; color: white; }
|
||||
.filter-section {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.filter-input {
|
||||
padding: 10px;
|
||||
width: 300px;
|
||||
margin-right: 10px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
.filter-button {
|
||||
padding: 10px 15px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.filter-all { background-color: #888; }
|
||||
.filter-waiting { background-color: #ffeb3b; color: black; }
|
||||
.filter-blocked { background-color: #f44336; }
|
||||
.filter-canceled { background-color: #ff9800; }
|
||||
.filter-paid { background-color: #2196F3; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<div class="logo-container">
|
||||
<img src="../../media/img/logoWhite.png" alt="Logo Accueil">
|
||||
</div>
|
||||
<div class="categories">
|
||||
<a href="./finance.html">Accueil</a>
|
||||
<a href="./paiements_en_attente.html">Paiements en attente</a>
|
||||
<a href="./rapports_financiers.html">Rapports Financiers</a>
|
||||
<a href="./historique_paiements.html">Historique des transactions</a>
|
||||
<a href="./mes_informations.html">Mes informations et documents</a>
|
||||
</div>
|
||||
<div class="user-section">
|
||||
<div class="user-name">Jean DUPONT</div>
|
||||
<div class="logout-container">
|
||||
<a href="../../index.html" title="Se déconnecter">
|
||||
<img src="../../media/img/LogOutWhite.png" alt="Logo Déconnexion">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="dashboard-container">
|
||||
<div class="card">
|
||||
<h2>Historique des Transactions</h2>
|
||||
|
||||
<!-- Section de filtre -->
|
||||
<div class="filter-section">
|
||||
<input type="text" id="nameFilter" class="filter-input" placeholder="Rechercher par nom..." oninput="filterTable()">
|
||||
<button class="filter-button filter-all" onclick="filterByStatus('')">Tous</button>
|
||||
<button class="filter-button filter-waiting" onclick="filterByStatus('En attente')">En attente</button>
|
||||
<button class="filter-button filter-blocked" onclick="filterByStatus('Bloqué')">Bloqué</button>
|
||||
<button class="filter-button filter-canceled" onclick="filterByStatus('Annulé')">Annulé</button>
|
||||
<button class="filter-button filter-paid" onclick="filterByStatus('Salaire payer')">Payé</button>
|
||||
</div>
|
||||
|
||||
<!-- Tableau des transactions -->
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID Paiement</th>
|
||||
<th>Nom du Bénéficiaire</th>
|
||||
<th>Montant (€)</th>
|
||||
<th>Status</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="paymentTableBody">
|
||||
<tr>
|
||||
<td>002</td>
|
||||
<td>Maxime Menault</td>
|
||||
<td>1200,00</td>
|
||||
<td class="status-bloque">Bloqué</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>003</td>
|
||||
<td>Denis Monnerat</td>
|
||||
<td>1800,00</td>
|
||||
<td class="status-envoye">Salaire payer</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>004</td>
|
||||
<td>Sophie Bernard</td>
|
||||
<td>1350,00</td>
|
||||
<td class="status-annule">Annulé</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>005</td>
|
||||
<td>Lucas Leroy</td>
|
||||
<td>2000,00</td>
|
||||
<td class="status-bloque">Bloqué</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>006</td>
|
||||
<td>Julie Robert</td>
|
||||
<td>1600,00</td>
|
||||
<td class="status-envoye">Salaire payer</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>007</td>
|
||||
<td>Emilie Caron</td>
|
||||
<td>1750,00</td>
|
||||
<td class="status-envoye">Salaire payer</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p>© 2024 IUT de Fontainebleau. Tous droits réservés |
|
||||
<a href="../mentions_legales.html">Mentions légales</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
// Filtre par nom
|
||||
function filterTable() {
|
||||
const filter = document.getElementById("nameFilter").value.toLowerCase();
|
||||
const rows = document.querySelectorAll("#paymentTableBody tr");
|
||||
rows.forEach(row => {
|
||||
const nameCell = row.cells[1].textContent.toLowerCase();
|
||||
if (nameCell.includes(filter)) {
|
||||
row.style.display = "";
|
||||
} else {
|
||||
row.style.display = "none";
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Filtre par statut
|
||||
function filterByStatus(status) {
|
||||
const rows = document.querySelectorAll("#paymentTableBody tr");
|
||||
rows.forEach(row => {
|
||||
const statusCell = row.cells[3].textContent;
|
||||
if (status === "" || statusCell === status) {
|
||||
row.style.display = "";
|
||||
} else {
|
||||
row.style.display = "none";
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
576
MaquetteWEB/html/FINANCE/mes_informations.html
Normal file
576
MaquetteWEB/html/FINANCE/mes_informations.html
Normal file
File diff suppressed because it is too large
Load Diff
303
MaquetteWEB/html/FINANCE/paiements_en_attente.html
Normal file
303
MaquetteWEB/html/FINANCE/paiements_en_attente.html
Normal file
@@ -0,0 +1,303 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Paiements en Attente</title>
|
||||
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
|
||||
<link rel="stylesheet" href="../../css/FINANCE/style.css">
|
||||
<style>
|
||||
|
||||
.dashboard-container {
|
||||
margin-top: 20px;
|
||||
}
|
||||
.card {
|
||||
background-color: white;
|
||||
padding: 20px;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
th, td {
|
||||
border: 1px solid #ddd;
|
||||
padding: 10px;
|
||||
text-align: left;
|
||||
}
|
||||
th {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
.button {
|
||||
padding: 10px 15px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.block { background-color: #f44336; } /* Red */
|
||||
.cancel { background-color: #ff9800; } /* Orange */
|
||||
.unblock { background-color: #4caf50; } /* Green */
|
||||
.send { background-color: #2196F3; } /* Blue */
|
||||
.popup {
|
||||
display: none;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0,0,0,0.7);
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.popup-content {
|
||||
background-color: white;
|
||||
padding: 20px;
|
||||
border-radius: 8px;
|
||||
width: 300px;
|
||||
text-align: center;
|
||||
}
|
||||
.close {
|
||||
background-color: #f44336;
|
||||
border: none;
|
||||
color: white;
|
||||
padding: 5px 10px;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.confirm {
|
||||
background-color: #4caf50;
|
||||
border: none;
|
||||
color: white;
|
||||
padding: 5px 10px;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
/* Classes pour les différents statuts */
|
||||
.status-en-attente {
|
||||
background-color: #ffeb3b; /* Jaune pour "En attente" */
|
||||
color: black;
|
||||
}
|
||||
.status-bloque {
|
||||
background-color: #f44336; /* Rouge pour "Bloqué" */
|
||||
color: white;
|
||||
}
|
||||
.status-annule {
|
||||
background-color: #ff9800; /* Orange pour "Annulé" */
|
||||
color: white;
|
||||
}
|
||||
.status-debloque {
|
||||
background-color: #4caf50; /* Vert pour "Débloqué" */
|
||||
color: white;
|
||||
}
|
||||
.status-envoye {
|
||||
background-color: #2196F3; /* Bleu pour "Envoyé" */
|
||||
color: white;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<!-- Logo pour retourner à l'accueil -->
|
||||
<div class="logo-container">
|
||||
<img src="../../media/img/logoWhite.png" alt="Logo Accueil">
|
||||
</div>
|
||||
|
||||
<!-- Catégories dans le header -->
|
||||
<div class="categories">
|
||||
<a href="./finance.html">Accueil</a>
|
||||
<a href="./paiements_en_attente.html">Paiements en attente</a>
|
||||
<a href="./rapports_financiers.html">Rapports Financiers</a>
|
||||
<a href="./historique_paiements.html">Historique des transactions</a>
|
||||
<a href="./mes_informations.html">Mes informations et documents</a>
|
||||
</div>
|
||||
|
||||
<!-- Section utilisateur avec déconnexion -->
|
||||
<div class="user-section">
|
||||
<div class="user-name">
|
||||
Jean DUPONT
|
||||
</div>
|
||||
<div class="logout-container">
|
||||
<a href="../../index.html" title="Se déconnecter">
|
||||
<img src="../../media/img/LogOutWhite.png" alt="Logo Déconnexion">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="dashboard-container">
|
||||
<div class="card">
|
||||
<h2>Liste des paiements en attente de traitement</h2>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID Paiement</th>
|
||||
<th>Nom du Bénéficiaire</th>
|
||||
<th>Montant (€)</th>
|
||||
<th>Status</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="paymentTableBody">
|
||||
<tr>
|
||||
<td>002</td>
|
||||
<td>Maxime Menault (vacataire)</td>
|
||||
<td>1200,00</td>
|
||||
<td id="status-2">En attente</td>
|
||||
<td>
|
||||
<button class="button block" onclick="openPopup('bloquer', 2)">Bloquer</button>
|
||||
<button class="button cancel" onclick="openPopup('annuler', 2)">Annuler</button>
|
||||
<button class="button unblock" onclick="openPopup('débloquer', 2)">Débloquer</button>
|
||||
<button class="button send" onclick="openPopup('envoyer', 2)">Payer</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>003</td>
|
||||
<td>Denis Monnerat (permanent)</td>
|
||||
<td>1800,00</td>
|
||||
<td id="status-3">En attente</td>
|
||||
<td>
|
||||
<button class="button block" onclick="openPopup('bloquer', 3)">Bloquer</button>
|
||||
<button class="button cancel" onclick="openPopup('annuler', 3)">Annuler</button>
|
||||
<button class="button unblock" onclick="openPopup('débloquer', 3)">Débloquer</button>
|
||||
<button class="button send" onclick="openPopup('envoyer', 3)">Payer</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>004</td>
|
||||
<td>Sophie Bernard (vacataire)</td>
|
||||
<td>1350,00</td>
|
||||
<td id="status-4">En attente</td>
|
||||
<td>
|
||||
<button class="button block" onclick="openPopup('bloquer', 4)">Bloquer</button>
|
||||
<button class="button cancel" onclick="openPopup('annuler', 4)">Annuler</button>
|
||||
<button class="button unblock" onclick="openPopup('débloquer', 4)">Débloquer</button>
|
||||
<button class="button send" onclick="openPopup('envoyer', 4)">Payer</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>005</td>
|
||||
<td>Lucas Leroy (permanent)</td>
|
||||
<td>2000,00</td>
|
||||
<td id="status-5">En attente</td>
|
||||
<td>
|
||||
<button class="button block" onclick="openPopup('bloquer', 5)">Bloquer</button>
|
||||
<button class="button cancel" onclick="openPopup('annuler', 5)">Annuler</button>
|
||||
<button class="button unblock" onclick="openPopup('débloquer', 5)">Débloquer</button>
|
||||
<button class="button send" onclick="openPopup('envoyer', 5)">Payer</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>006</td>
|
||||
<td>Julie Robert (permanent)</td>
|
||||
<td>1600,00</td>
|
||||
<td id="status-6">En attente</td>
|
||||
<td>
|
||||
<button class="button block" onclick="openPopup('bloquer', 6)">Bloquer</button>
|
||||
<button class="button cancel" onclick="openPopup('annuler', 6)">Annuler</button>
|
||||
<button class="button unblock" onclick="openPopup('débloquer', 6)">Débloquer</button>
|
||||
<button class="button send" onclick="openPopup('envoyer', 6)">Payer</button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>007</td>
|
||||
<td>Emilie Caron (permanent)</td>
|
||||
<td>1750,00</td>
|
||||
<td id="status-7">En attente</td>
|
||||
<td>
|
||||
<button class="button block" onclick="openPopup('bloquer', 7)">Bloquer</button>
|
||||
<button class="button cancel" onclick="openPopup('annuler', 7)">Annuler</button>
|
||||
<button class="button unblock" onclick="openPopup('débloquer', 7)">Débloquer</button>
|
||||
<button class="button send" onclick="openPopup('envoyer', 7)">Payer</button>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- Ajouter plus de lignes ici -->
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p>© 2024 IUT de Fontainebleau. Tous droits réservés |
|
||||
<a href="../mentions_legales.html">Mentions légales</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<!-- Pop-up pour les actions -->
|
||||
<div id="popup" class="popup">
|
||||
<div class="popup-content">
|
||||
<h3 id="popupTitle">Action</h3>
|
||||
<p id="popupMessage"></p>
|
||||
<button class="close" onclick="closePopup()">Fermer</button>
|
||||
<button class="confirm" onclick="confirmAction()">Confirmer</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
let currentAction = '';
|
||||
let currentPaymentId = '';
|
||||
|
||||
function openPopup(action, paymentId) {
|
||||
const popup = document.getElementById('popup');
|
||||
const title = document.getElementById('popupTitle');
|
||||
const message = document.getElementById('popupMessage');
|
||||
|
||||
currentAction = action;
|
||||
currentPaymentId = paymentId;
|
||||
|
||||
title.textContent = action.charAt(0).toUpperCase() + action.slice(1) + ' Paiement';
|
||||
message.textContent = `Êtes-vous sûr de vouloir ${action} le paiement ID ${paymentId} ?`;
|
||||
|
||||
popup.style.display = 'flex';
|
||||
}
|
||||
|
||||
function closePopup() {
|
||||
const popup = document.getElementById('popup');
|
||||
popup.style.display = 'none';
|
||||
}
|
||||
|
||||
function confirmAction() {
|
||||
const statusElement = document.getElementById(`status-${currentPaymentId}`);
|
||||
|
||||
// Réinitialise toutes les classes de statut avant d'ajouter la nouvelle
|
||||
statusElement.classList.remove('status-en-attente', 'status-bloque', 'status-annule', 'status-debloque', 'status-envoye');
|
||||
|
||||
switch(currentAction) {
|
||||
case 'bloquer':
|
||||
statusElement.textContent = 'Bloqué';
|
||||
statusElement.classList.add('status-bloque');
|
||||
break;
|
||||
case 'annuler':
|
||||
statusElement.textContent = 'Annulé';
|
||||
statusElement.classList.add('status-annule');
|
||||
break;
|
||||
case 'débloquer':
|
||||
statusElement.textContent = 'Débloqué';
|
||||
statusElement.classList.add('status-debloque');
|
||||
break;
|
||||
case 'envoyer':
|
||||
statusElement.textContent = 'Salaire payer';
|
||||
statusElement.classList.add('status-envoye');
|
||||
break;
|
||||
default:
|
||||
statusElement.textContent = 'En attente';
|
||||
statusElement.classList.add('status-en-attente');
|
||||
}
|
||||
|
||||
closePopup();
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
158
MaquetteWEB/html/FINANCE/rapports_financiers.html
Normal file
158
MaquetteWEB/html/FINANCE/rapports_financiers.html
Normal file
@@ -0,0 +1,158 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Index des Rapports Financiers</title>
|
||||
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
|
||||
<link rel="stylesheet" href="../../css/FINANCE/style.css">
|
||||
<style>
|
||||
.dashboard-container {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.section-header {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.index-container {
|
||||
padding: 20px;
|
||||
margin: 20px 0;
|
||||
background-color: white;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.report-item {
|
||||
padding: 15px;
|
||||
background-color: #e9ecef;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 8px;
|
||||
margin-bottom: 10px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.report-item a {
|
||||
color: #20195e;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.generate-report-section {
|
||||
margin: 20px 0;
|
||||
padding: 15px;
|
||||
background-color: #f1f1f1;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
button {
|
||||
background-color: #20195e;
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
padding: 10px 15px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: #1a1451;
|
||||
}
|
||||
|
||||
label {
|
||||
margin-right: 10px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<div class="logo-container">
|
||||
<img src="../../media/img/logoWhite.png" alt="Logo Accueil">
|
||||
</div>
|
||||
<div class="categories">
|
||||
<a href="./finance.html">Accueil</a>
|
||||
<a href="./paiements_en_attente.html">Paiements en attente</a>
|
||||
<a href="./rapports_financiers.html">Rapports Financiers</a>
|
||||
<a href="./historique_paiements.html">Historique des transactions</a>
|
||||
<a href="./mes_informations.html">Mes informations et documents</a>
|
||||
</div>
|
||||
<div class="user-section">
|
||||
<div class="user-name">Jean DUPONT</div>
|
||||
<div class="logout-container">
|
||||
<a href="../../index.html" title="Se déconnecter">
|
||||
<img src="../../media/img/LogOutWhite.png" alt="Logo Déconnexion">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="dashboard-container">
|
||||
<div class="section-header">
|
||||
<h2>Historique des rapports financiers</h2>
|
||||
</div>
|
||||
|
||||
<!-- Index des rapports financiers -->
|
||||
<div class="index-container">
|
||||
<div class="report-item">
|
||||
<span>Rapport financier : BUT Informatique - Octobre 2024</span>
|
||||
<a href="chemin/vers/rapport_but_informatique_sem1_2024.pdf" download>Télécharger</a>
|
||||
</div>
|
||||
<div class="report-item">
|
||||
<span>Rapport financier : BUT GEA - Octobre 2024</span>
|
||||
<a href="chemin/vers/rapport_but_gea_sem1_2024.pdf" download>Télécharger</a>
|
||||
</div>
|
||||
<div class="report-item">
|
||||
<span>Rapport financier : BUT Informatique - Septembre 2024</span>
|
||||
<a href="chemin/vers/rapport_but_informatique_sem2_2024.pdf" download>Télécharger</a>
|
||||
</div>
|
||||
<div class="report-item">
|
||||
<span>Rapport financier : BUT GEA - Septembre 2024</span>
|
||||
<a href="chemin/vers/rapport_but_gea_sem2_2024.pdf" download>Télécharger</a>
|
||||
</div>
|
||||
<!-- Ajoutez d'autres rapports ici -->
|
||||
</div>
|
||||
|
||||
<!-- Section pour générer un faux rapport -->
|
||||
<div class="generate-report-section">
|
||||
<h3>Générer un rapport financier</h3>
|
||||
<form id="generateReportForm">
|
||||
<label for="formationSelect">Sélectionnez une formation:</label>
|
||||
<select id="formationSelect" name="formation">
|
||||
<option value="informatique">BUT Informatique</option>
|
||||
<option value="gea">BUT GEA</option>
|
||||
</select><br>
|
||||
<label for="semesterSelect">Sélectionnez un semestre:</label>
|
||||
<select id="semesterSelect" name="semester">
|
||||
<option value="semestre1">Octobre 2024</option>
|
||||
<option value="semestre2">Septembre 2024</option>
|
||||
</select><br><br>
|
||||
<button type="submit">Générer le Rapport</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p>© 2024 IUT de Fontainebleau. Tous droits réservés |
|
||||
<a href="../mentions_legales.html" style="color: white;">Mentions légales</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
document.getElementById('generateReportForm').addEventListener('submit', function (event) {
|
||||
event.preventDefault();
|
||||
const formation = document.getElementById('formationSelect').value;
|
||||
const semester = document.getElementById('semesterSelect').value;
|
||||
alert(`Génération d'un rapport financier pour la formation BUT ${formation} - ${semester}`);
|
||||
// Ici, vous pouvez ajouter votre logique pour générer le rapport
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
Reference in New Issue
Block a user