Fix reset password
This commit is contained in:
parent
8020d68572
commit
fde633bcae
|
@ -48,6 +48,11 @@
|
|||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.full-width
|
||||
{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/** POPUPS ALERT **/
|
||||
.popup-alerts-container
|
||||
{
|
||||
|
@ -129,6 +134,20 @@ footer img
|
|||
margin-top: 0.7em;
|
||||
}
|
||||
|
||||
/** RESET EMAIL PAGES **/
|
||||
.email-reset-container
|
||||
{
|
||||
background-color: #ffffff;
|
||||
padding: 30px;
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.email-reset-container img
|
||||
{
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
/** MENU **/
|
||||
.logo
|
||||
{
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
'connection' => '/connection/',
|
||||
'forget_password' => '/forget_password/',
|
||||
'send_reset_password' => '/send_reset_password/{csrf}/',
|
||||
'reset_password' => '/reset_password/{user_id}/{token}/',
|
||||
'reset_password' => '/reset_password/{id_user}/{token}/',
|
||||
'logout' => '/logout/',
|
||||
],
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<label>Adresse e-mail</label>
|
||||
<div class="form-group input-group">
|
||||
<span class="input-group-addon"><span class="fa fa-at"></span></span>
|
||||
<input name="mail" class="form-control" type="email" placeholder="Ex : john.doe@example.tld" autofocus required>
|
||||
<input name="email" class="form-control" type="email" placeholder="Ex : john.doe@example.tld" autofocus required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -3,14 +3,16 @@
|
|||
$this->render('incs/head', ['title' => 'Mot de passe ré-initialisé'])
|
||||
?>
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="row">
|
||||
<div class="col-xs-10 col-xs-offset-1 col-md-8 col-md-offset-2 text-center email-reset-container">
|
||||
<h2>Mot de passe ré-initialisé</h2>
|
||||
<div class="col-xs-8 col-xs-offset-2 text-center">
|
||||
<img src="<?php HTTP_PWD_IMG; ?>/reinitialize-password-validation.png" />
|
||||
<img src="<?= HTTP_PWD_IMG; ?>/reinitialize-password-validation.png" />
|
||||
</div>
|
||||
<div class="col-xs-8 col-xs-offset-2 text-center">
|
||||
Votre mot de passe a bien été mis à jour, vous allez êtres redirigé vers la page de connexion dans quelques secondes.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
|
|
|
@ -4,17 +4,18 @@
|
|||
$this->render('incs/head', ['title' => 'Réinitialisation du mot de passe'])
|
||||
?>
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="row">
|
||||
<div class="col-xs-10 col-xs-offset-1 col-md-8 col-md-offset-2 text-center email-reset-container">
|
||||
<h2>Erreur lors de la réinitialisation</h2>
|
||||
<div class="col-xs-8 col-xs-offset-2 text-center">
|
||||
<img src="<?php HTTP_PWD_IMG; ?>/reinitialize-password-error.png" />
|
||||
<img src="<?= HTTP_PWD_IMG; ?>/reinitialize-password-error.png" class="full-width" />
|
||||
</div>
|
||||
<div class="col-xs-8 col-xs-offset-2 text-center">
|
||||
Le lien de ré-initialisation que vous avez utilisé est incorrect ou expiré.<br/>
|
||||
Merci de re-demander un modification de votre mot de passe.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</script>
|
||||
<?php
|
||||
$this->render('incs/footer');
|
||||
|
|
|
@ -4,16 +4,17 @@
|
|||
$this->render('incs/head', ['title' => 'Demande de réinitialisation du mot de passe'])
|
||||
?>
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="row">
|
||||
<div class="col-xs-10 col-xs-offset-1 col-md-8 col-md-offset-2 text-center email-reset-container">
|
||||
<h2>Email envoyé</h2>
|
||||
<div class="col-xs-8 col-xs-offset-2 text-center">
|
||||
<img src="<?php HTTP_PWD_IMG; ?>/send-email.png" />
|
||||
<img src="<?= HTTP_PWD_IMG; ?>/send-email.png" class="full-width"/>
|
||||
</div>
|
||||
<div class="col-xs-8 col-xs-offset-2 text-center">
|
||||
Un email avec un lien vous permettant de ré-initialiser votre mot de passe viens de vous être envoyé.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</script>
|
||||
<?php
|
||||
$this->render('incs/footer');
|
||||
|
|
Loading…
Reference in New Issue