addd password recovery
This commit is contained in:
76
templates/mails/password_recovery.html
Normal file
76
templates/mails/password_recovery.html
Normal file
@ -0,0 +1,76 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="index.css" />
|
||||
<title>Beyond School</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="container">
|
||||
<form method="post">
|
||||
<h2>Mot de passe oublié ?</h2>
|
||||
<a href="http://localhost:5000/reset/{{code}}">
|
||||
<input type="button" value="connection">
|
||||
</a>
|
||||
</form>
|
||||
</div>
|
||||
<style>
|
||||
body{
|
||||
background: #67BE4B;
|
||||
}
|
||||
#container{
|
||||
width:400px;
|
||||
margin:0 auto;
|
||||
margin-top:10%;
|
||||
}
|
||||
/* Bordered form */
|
||||
form {
|
||||
width:100%;
|
||||
padding: 40px;
|
||||
border: 1px solid #f1f1f1;
|
||||
background: #fff;
|
||||
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
|
||||
}
|
||||
#container h2{
|
||||
width: 38%;
|
||||
margin: 0 auto;
|
||||
padding-bottom: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Full-width inputs */
|
||||
input[type=email], input[type=password], input[type=number] {
|
||||
width: 100%;
|
||||
padding: 12px 20px;
|
||||
margin: 8px 0;
|
||||
display: inline-block;
|
||||
border: 1px solid #ccc;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* Set a style for all buttons */
|
||||
input[type=submit], input[type=button] {
|
||||
background-color: #53af57;
|
||||
color: white;
|
||||
padding: 14px 20px;
|
||||
margin: 8px 0;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
}
|
||||
input[type=submit]:hover {
|
||||
background-color: white;
|
||||
color: #53af57;
|
||||
border: 1px solid #53af57;
|
||||
}
|
||||
h6 {
|
||||
float: right;
|
||||
}
|
||||
p {
|
||||
color: red;
|
||||
}
|
||||
</style>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user