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 64
| <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Connexion à l'administration</title>
<link rel="stylesheet" href="{{ asset('bootstrap.min.css') }}" >
<link rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.3.1/css/all.css"
integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<meta name="viewport" content="width=device-width", user-sclable="no">
<style>
body{
display: flex;
justify-content: center;
height: 100vh;
}
.card{
margin-top: 10%;
}
</style>
</head>
<body>
<img style = "height: 200px; width: 100%; display: block;" src = "public/images/icone.PNG" alt =" Image ">
<div class="col-md-4">
<div class="card bg-light">
<div class="card-header">
<h4 class="card-title">
<i class="fas fa-lock">
Connexion à l'administration
</i>
</h4>
</div>
<div class="card-body">
{% if hasError %}
<div class="alert alert-warning">
<p>Les informations que vous avez fournies sont incorrectes </p>
</div>
{% endif %}
<form method="post">
<div class="form-group"><label for="_username">Email</label><input type="text"
class="form-control" placeholder="Adresse email" name="_username" value="{{ username }}"></div>
<div class="form-group"><label for="_password">Mot de passe</label><input type="password"
class="form-control" placeholder="Mot de passe" name="_password"></div>
<div class="form-group">
<button type="submit" class="btn btn-primary">
<i class="fas fa-lock-open"></i>
Connexion
</button>
<a href="{{ path ('home') }}" class="btn btn-link">
<i class="fas fa-arrow-circle-left"></i>
Retour vers le site
</a>
</div>
</form>
</div>
</div>
</div>
</body>
</html> |
Partager