210 lines
8.8 KiB
HTML
210 lines
8.8 KiB
HTML
<!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="icon" href="../../media/img/logoIcon.ico" type="image/x-icon" />
|
|
<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 class="w3-light-grey">
|
|
|
|
<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: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-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="./budget.html" class="w3-bar-item w3-button">Budget</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>
|
|
</div>
|
|
|
|
<!-- Section utilisateur avec déconnexion -->
|
|
<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: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="./budget.html" class="w3-bar-item w3-button">Budget</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>
|
|
</div>
|
|
|
|
<div class="dashboard-container w3-container">
|
|
<div class="section-header">
|
|
<h2>Historique des rapports financiers</h2>
|
|
</div>
|
|
|
|
<!-- Index des rapports financiers -->
|
|
<div class="index-container w3-card">
|
|
<div class="report-item w3-card-4">
|
|
<span>Rapport financier : BUT Informatique - Octobre 2024</span>
|
|
<a href="chemin/vers/rapport_but_informatique_sem1_2024.pdf" download class="w3-button w3-blue">Télécharger</a>
|
|
</div>
|
|
<div class="report-item w3-card-4">
|
|
<span>Rapport financier : BUT GEA - Octobre 2024</span>
|
|
<a href="chemin/vers/rapport_but_gea_sem1_2024.pdf" download class="w3-button w3-blue">Télécharger</a>
|
|
</div>
|
|
<div class="report-item w3-card-4">
|
|
<span>Rapport financier : BUT Informatique - Septembre 2024</span>
|
|
<a href="chemin/vers/rapport_but_informatique_sem2_2024.pdf" download class="w3-button w3-blue">Télécharger</a>
|
|
</div>
|
|
<div class="report-item w3-card-4">
|
|
<span>Rapport financier : BUT GEA - Septembre 2024</span>
|
|
<a href="chemin/vers/rapport_but_gea_sem2_2024.pdf" download class="w3-button w3-blue">Télécharger</a>
|
|
</div>
|
|
<!-- Ajoutez d'autres rapports ici -->
|
|
</div>
|
|
|
|
<!-- Section pour générer un faux rapport -->
|
|
<div class="generate-report-section w3-card">
|
|
<h3>Générer un rapport financier</h3>
|
|
<form id="generateReportForm">
|
|
<label for="formationSelect">Sélectionnez une formation:</label>
|
|
<select id="formationSelect" name="formation" class="w3-select">
|
|
<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" class="w3-select">
|
|
<option value="semestre1">Octobre 2024</option>
|
|
<option value="semestre2">Septembre 2024</option>
|
|
</select><br><br>
|
|
<button type="submit" class="w3-button w3-blue">Générer le Rapport</button>
|
|
</form>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="footer w3-padding">
|
|
<p>© 2024 IUT de Fontainebleau. Tous droits réservés |
|
|
<a href="../mentions_legales.html" class="w3-text-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
|
|
});
|
|
|
|
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>
|
|
|
|
</html>
|