-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrecover.php
More file actions
63 lines (59 loc) · 3.63 KB
/
recover.php
File metadata and controls
63 lines (59 loc) · 3.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php if (!isset($_SESSION)) {
session_start();
}
?>
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>Mot de passe oublié</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel="icon" href="assets/img/logo.ico">
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/style.css" />
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/connection.css" />
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/footer.css" />
<!-- FontAwesome -->
<link href="assets/fonts/fontawesome/css/fontawesome.min.css" rel="stylesheet" />
<link href="assets/fonts/fontawesome/css/brands.min.css" rel="stylesheet" />
<link href="assets/fonts/fontawesome/css/solid.min.css" rel="stylesheet" />
<!-- Bootstrap -->
<link href="assets/css/bootstrap.min.css" rel="stylesheet" />
</head>
<body>
<div class="conteuneur container-fluid login-section">
<div class="row container-cols-login">
<div class="col-lg-8 col-12 text-center d-flex flex-column justify-content-center align-items-center p-5">
<img class="p-2 img-fluid img-max w-45" src="assets/img/logorect.png" alt="Logo Pimp My Paids" title="Logo Pimp My Paids" />
<p class="fs-4 p-0 p-md-5">Besoin d'un coup de pouce financier ? Réinitialisez votre mot de passe et reprenez le contrôle de vos finances en un clin d'œil !</p>
<img class="p-2 img-fluid img-max" src="assets/img/forgotPassword.svg" alt="J'ai oublié mon mot de passe" title="J'ai oublié mon mot de passe" />
</div>
<div class="col-lg-4 col-12 d-flex flex-column justify-content-center p-5 col-login">
<form action="./includes/recoverPassword.php" method="post">
<h2 class="text-center fs-1 pb-5">Mot de passe oublié</h2>
<p class="text-center text-dark fs-5 pb-3">Pour renouveler votre mot de passe, veuillez indiquer votre adresse mail ci-dessous.</p>
<div class="form-floating mb-3 text-dark">
<input type="email" class="form-control" id="mail" name="mail" placeholder=" " pattern="^(?![_.-])((?![_.-][_.-])[a-zA-Z\d_.-]){0,63}[a-zA-Z\d]@((?!-)((?!--)[a-zA-Z\d-]){0,63}[a-zA-Z\d]\.){1,2}([a-zA-Z]{2,14}\.)?[a-zA-Z]{2,14}$" required>
<label for="mail">Adresse mail<span class="required"> *</span></label>
</div>
<p class="form-label mandatory text-shadow">* champs obligatoires</p>
<!-- doit etre sous la forme -->
<div class="text-center d-flex flex-column justify-content-center">
<span id="erreur"></span>
<div class="d-flex justify-content-center align-items-center mb-5 mt-3">
<button type="submit" id="submit-recover-button" class="btn text-dark border-0 text-uppercase d-flex align-items-center px-3 py-3 px-md-5">
<span class="fs-5 fw-semibold">Envoyer</span>
</button>
<a href="index.php" class="ps-4 ps-lg-2 ps-xl-4 btn btn-link text-dark mx-3 text-decoration-none fs-4 fw-semibold" title="Annuler">Annuler</a>
</div>
</div>
</form>
</div>
</div>
</div>
<!-- JQuery -->
<script src="assets/js/jquery-3.7.1.min.js"></script>
<!-- Bootstrap -->
<script src="assets/js/bootstrap.bundle.min.js"></script>
</body>
</html>