159 lines
		
	
	
		
			5.4 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			159 lines
		
	
	
		
			5.4 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="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>
 |