<!DOCTYPE html>
<html lang="fr" class="h-100">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet">
<title>Connexion</title>
<style>
@font-face {
font-family: 'Goldman';
font-style: normal;
font-weight: 400;
src: local('Goldman'), url('https://fonts.cdnfonts.com/s/46601/Goldman-Regular.woff') format('woff');
}
@font-face {
font-family: 'Goldman';
font-style: normal;
font-weight: 700;
src: local('Goldman'), url('https://fonts.cdnfonts.com/s/46601/Goldman-Bold.woff') format('woff');
}
@font-face {
font-family: 'Nunito';
font-style: normal;
font-weight: 400;
src: local('Nunito'), url('https://fonts.cdnfonts.com/s/15604/Nunito-Regular.woff') format('woff');
}
@font-face {
font-family: 'Nunito';
font-style: normal;
font-weight: 700;
src: local('Nunito'), url('https://fonts.cdnfonts.com/s/15604/Nunito-Bold.woff') format('woff');
}
.h-100vh {
min-height: 100vh;
}
#diapo1 {
background-image: url("images/front/3Page-DS-login-img-left-side.jpg");
}
#diapo2 {
background-image: url("images/front/3Page-DS-login-img-right-side.jpg");
}
#diapo1, #diapo2 {
background-size: 100% 100%;
}
.Rectangle-32 {
border-radius: 40px;
border: solid 2px #065285;
background-color: #bfd119;
width: 60%;
max-width: 410px;
}
label.required {
padding: 0;
}
input[type=text], input[type=password] {
border: solid 1px #065285;
border-radius: unset;
}
label.required {
font-size: 23px;
font-weight: bold;
color: #06003b;
}
.connectBtn {
background-color: #065285;
color: #c0d119;
font-family: Nunito;
font-size: 23px;
border-radius: 17px;
font-weight: bold;
}
</style>
</head>
<body class="h-100vh">
<div class="container-fluid">
<div class="row h-100vh row-cols-1 row-cols-md-2">
<div id="diapo1" class="col h-100vh"> </div>
<div id="diapo2" class="col h-100vh position-relative">
<div class="Rectangle-32 position-absolute top-50 start-50 translate-middle text-white p-5">
{% for message in app.flashes('adios') %}
<div class="alert alert-success">
{{ message }}
</div>
{% endfor %}
{% if error %}
<div class="alert alert-danger">
{{error.messageKey | trans(error.messagedata, 'security')}}
</div>
{% endif %}
<form method="POST">
<div class="row m-0 mb-3">
<label class="required col-12 col-sm">Login
<input type="text" required name="_username" class="form-control" value="{{lastUserName}}">
</label>
</div>
<div class="row m-0 mb-3">
<label class="required col-12 col-sm">Password
<input type="password" required name="_password" class="form-control">
</label>
</div>
<div class="m-0 mt-5 px-4">
<input type="submit" class="btn connectBtn text-break w-100 py-2" value="Connexion">
</div>
</form>
</div>
</div>
</div>
</div>
<!-- Option 1: Bootstrap Bundle with Popper -->
<!-- Option 2: Separate Popper and Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.min.js"></script>
</body>
</html>