77 lines
2.1 KiB
HTML
77 lines
2.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Réinitialisation du mot de passe</title>
|
|
<link href="/node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<link rel="shortcut icon" href="/favicon.png" type="image/png">
|
|
|
|
<style>
|
|
body {
|
|
height: 100vh;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.reset-password-card {
|
|
width: 100%;
|
|
max-width: 380px;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="card shadow reset-password-card">
|
|
<div class="card-body p-4">
|
|
<h1 class="text-center mb-4 fs-3">Nouveau mot de passe</h1>
|
|
<p class="text text-muted mb-4">
|
|
Pour réinitialiser votre mot de passe, veuillez saisir un nouveau mot
|
|
de passe ainsi qu'une confirmation.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<form id="password-form">
|
|
<main>
|
|
<div class="mb-4">
|
|
<label class="form-label">Nouveau mot de passe <br><span class="small"><span id="min8">8 caractères minimum</span>, incluant une <span id="uppercase">majuscule</span>, une <span id="lowercase">minuscule</span> et un <span id="digit">chiffre</span></span></label>
|
|
<input type="password" class="form-control" id="password" required />
|
|
|
|
</div>
|
|
|
|
<div class="mb-2">
|
|
<label class="form-label">Confirmer le mot de passe</label>
|
|
<input type="password" class="form-control" id="passwordConfirm" required />
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="showPassword" class="mt-3">
|
|
<input type="checkbox" id="showPassword" />
|
|
Voir le mot de passe
|
|
</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<button class="btn btn-primary w-100" type="submit">
|
|
Changer le mot de passe
|
|
</button>
|
|
<div class="text-center mt-3">
|
|
<a href="../html/page_de_connexion.html" class="text-decoration-none">Retour à la connexion</a>
|
|
</form>
|
|
</main>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="/js/password.js"></script>
|
|
</body>
|
|
|
|
</html> |