Modifications de tout ! Sauf le chef de département pour le moment
This commit is contained in:
272
MaquetteWEB/html/FINANCE/settings.html
Normal file
272
MaquetteWEB/html/FINANCE/settings.html
Normal file
@@ -0,0 +1,272 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Paramètres Utilisateur</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/style.css">
|
||||
<style>
|
||||
.header {
|
||||
background-color: #20195e; /* Couleur par défaut */
|
||||
color: white;
|
||||
}
|
||||
footer {
|
||||
background-color: #20195e; /* Couleur par défaut */
|
||||
color: white;
|
||||
}
|
||||
.logo-container img {
|
||||
width: 200px;
|
||||
height: 50px;
|
||||
}
|
||||
.categories a {
|
||||
font-weight: bold;
|
||||
}
|
||||
.btn {
|
||||
background-color: #20195e;
|
||||
}
|
||||
.btn:hover {
|
||||
background-color: #151044;
|
||||
}
|
||||
/* Style par défaut */
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
}
|
||||
|
||||
/* Mode Daltonien et autres troubles visuels */
|
||||
body.daltonien {
|
||||
background-color: #e8f4ff; /* Meilleure visibilité pour le texte */
|
||||
color: #2c2c2c;
|
||||
}
|
||||
.header {
|
||||
background-color: #20195e; /* Couleur par défaut */
|
||||
}
|
||||
|
||||
body.daltonien .header {
|
||||
background-color: #3b3a3a; /* Couleur plus neutre */
|
||||
}
|
||||
|
||||
/* Couleur du footer en mode daltonien */
|
||||
body.daltonien #footer {
|
||||
background-color: #3b3a3a; /* Couleur plus neutre */
|
||||
}
|
||||
|
||||
.daltonien .btn {
|
||||
background-color: #31302d; /* Couleur facilement visible */
|
||||
}
|
||||
|
||||
.daltonien .btn:hover {
|
||||
background-color: #242321;
|
||||
}
|
||||
|
||||
/* Grossissement des textes */
|
||||
body.large-text {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
body.xlarge-text {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="w3-light-grey" id="main-body">
|
||||
|
||||
<!-- Header -->
|
||||
<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="./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="./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>
|
||||
|
||||
<!-- Paramètres de l'utilisateur -->
|
||||
<div class="w3-content w3-padding-16">
|
||||
<div class="w3-container w3-white w3-card-4 w3-padding-large">
|
||||
<h2 class="w3-text-dark-gray">Paramètres de communication et d'accessibilité</h2>
|
||||
|
||||
<form class="w3-container w3-padding-16">
|
||||
<!-- Notifications par Email -->
|
||||
<div class="w3-section">
|
||||
<label class="w3-text-dark-gray"><b>Notifications par Email</b></label>
|
||||
<p>Recevez des notifications par e-mail concernant les heures, paiements, et plus.</p>
|
||||
<input class="w3-check" type="checkbox" id="email-notifications" checked>
|
||||
<label for="email-notifications">Activer les notifications par email</label>
|
||||
</div>
|
||||
|
||||
<hr class="w3-divider"> <!-- Séparation -->
|
||||
|
||||
<!-- Notifications par SMS -->
|
||||
<div class="w3-section">
|
||||
<label class="w3-text-dark-gray"><b>Notifications par SMS</b></label>
|
||||
<p>Recevez des notifications par SMS sur votre téléphone mobile.</p>
|
||||
<input class="w3-check" type="checkbox" id="sms-notifications">
|
||||
<label for="sms-notifications">Activer les notifications par SMS</label>
|
||||
</div>
|
||||
|
||||
<hr class="w3-divider"> <!-- Séparation -->
|
||||
|
||||
<!-- Préférences de Langue -->
|
||||
<div class="w3-section">
|
||||
<label class="w3-text-dark-gray"><b>Langue de Communication</b></label>
|
||||
<select class="w3-select" name="language" id="language">
|
||||
<option value="fr" selected>Français</option>
|
||||
<option value="en">Anglais</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<hr class="w3-divider"> <!-- Séparation -->
|
||||
|
||||
<!-- Fréquence de réception des emails -->
|
||||
<div class="w3-section">
|
||||
<label class="w3-text-dark-gray"><b>Fréquence des emails de notification</b></label>
|
||||
<select class="w3-select" name="email-frequency" id="email-frequency">
|
||||
<option value="instant">Immédiatement</option>
|
||||
<option value="daily">Quotidiennement</option>
|
||||
<option value="weekly" selected>Hebdomadairement</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<hr class="w3-divider"> <!-- Séparation -->
|
||||
|
||||
<!-- Mode Daltonien -->
|
||||
<div class="w3-section">
|
||||
<label class="w3-text-dark-gray"><b>Mode Daltonien</b></label>
|
||||
<p>Améliore les contrastes et les couleurs pour mieux correspondre aux besoins des personnes atteintes de troubles visuels.</p>
|
||||
<input class="w3-check" type="checkbox" id="daltonien-mode" onchange="toggleDaltonienMode()">
|
||||
<label for="daltonien-mode">Activer le mode Daltonien</label>
|
||||
</div>
|
||||
|
||||
<hr class="w3-divider"> <!-- Séparation -->
|
||||
|
||||
<!-- Changer la police -->
|
||||
<div class="w3-section">
|
||||
<label class="w3-text-dark-gray"><b>Changer la police</b></label>
|
||||
<select class="w3-select" name="font" id="font" onchange="changeFont()">
|
||||
<option value="Arial" selected>Arial</option>
|
||||
<option value="Verdana">Verdana</option>
|
||||
<option value="Georgia">Georgia</option>
|
||||
<option value="Tahoma">Tahoma</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<hr class="w3-divider"> <!-- Séparation -->
|
||||
|
||||
<!-- Grossir le texte -->
|
||||
<div class="w3-section">
|
||||
<label class="w3-text-dark-gray"><b>Agrandir le texte</b></label>
|
||||
<select class="w3-select" name="text-size" id="text-size" onchange="changeTextSize()">
|
||||
<option value="normal" selected>Normal</option>
|
||||
<option value="large">Grand</option>
|
||||
<option value="xlarge">Très Grand</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<hr class="w3-divider"> <!-- Séparation -->
|
||||
|
||||
<!-- Sauvegarder les modifications -->
|
||||
<button type="submit" class="w3-button w3-round w3-margin-top btn w3-text-white" style="background-color: #20195e;">Sauvegarder les modifications</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Footer -->
|
||||
<footer id="footer" class="w3-center w3-padding w3-text-white footer">
|
||||
<p>© 2024 IUT de Fontainebleau. Tous droits réservés |
|
||||
<a href="../mentions_legales.html">Mentions légales</a>
|
||||
</p>
|
||||
</footer>
|
||||
|
||||
<!-- Script pour changer la police et la taille du texte -->
|
||||
<script>
|
||||
function toggleDaltonienMode() {
|
||||
const body = document.getElementById('main-body');
|
||||
const daltonienMode = document.getElementById('daltonien-mode').checked;
|
||||
if (daltonienMode) {
|
||||
body.classList.add('daltonien');
|
||||
} else {
|
||||
body.classList.remove('daltonien');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function changeFont() {
|
||||
const selectedFont = document.getElementById('font').value;
|
||||
document.body.style.fontFamily = selectedFont;
|
||||
}
|
||||
|
||||
function changeTextSize() {
|
||||
const textSize = document.getElementById('text-size').value;
|
||||
document.body.classList.remove('large-text', 'xlarge-text');
|
||||
if (textSize === 'large') {
|
||||
document.body.classList.add('large-text');
|
||||
} else if (textSize === 'xlarge') {
|
||||
document.body.classList.add('xlarge-text');
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
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>
|
Reference in New Issue
Block a user