<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Sign in | Flannery</title>
<link rel="icon" href="{{ asset('Images/close-button.eps.ico') }}" type="image/gif" sizes="32x32">
<meta name="author" content="LTS">
<meta name="description" content="Signin | Flannery">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- custome & bootstrap css -->
<link rel="stylesheet" href="{{ asset('css/style.css') }}">
<link rel="stylesheet" href="{{ asset('css/media.css') }}">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<link rel="stylesheet" href="{{ asset('css/w3.css')}}">
<link rel="stylesheet" href="https://jqueryvalidation.org/files/demo/css/cmxform.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/js/all.min.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.validate.js" crossorigin="anonymous"></script>
<style>
.cb-slideshow,
.cb-slideshow:after {
position: relative;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
z-index: 0;
}
.cb-slideshow:after {
content: '';
background: transparent url(../images/pattern.png) repeat top left;
}
.cb-slideshow li span {
width: 100%;
height: 100%;
position: absolute;
top: 0px;
left: 0px;
color: transparent;
background-size: cover;
background-position: 50% 50%;
background-repeat: none;
opacity: 0;
z-index: 0;
animation: imageAnimation 36s linear infinite 0s;
}
.cb-slideshow li div {
z-index: 1000;
position: absolute;
bottom: 30px;
left: 0px;
width: 100%;
text-align: center;
opacity: 0;
color: #fff;
animation: titleAnimation 36s linear infinite 0s;
}
.cb-slideshow li div h3 {
font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;
font-size: 240px;
padding: 0;
line-height: 200px;
}
.cb-slideshow li:nth-child(1) span {
background-image: url({{ asset('Images/banner-img1.jpg') }});
}
.cb-slideshow li:nth-child(2) span {
background-image: url({{ asset('Images/banner-img2.jpg') }});
animation-delay: 6s;
}
.cb-slideshow li:nth-child(3) span {
background-image: url({{ asset('Images/banner-img3.jpg') }});
animation-delay: 12s;
}
.cb-slideshow li:nth-child(4) span {
background-image: url({{ asset('Images/banner-img1.jpg') }});
animation-delay: 18s;
}
.cb-slideshow li:nth-child(5) span {
background-image: url({{ asset('Images/banner-img2.jpg') }});
animation-delay: 24s;
}
.cb-slideshow li:nth-child(6) span {
background-image: url({{ asset('Images/banner-img3.jpg') }});
animation-delay: 30s;
}
.cb-slideshow li:nth-child(2) div {
animation-delay: 6s;
}
.cb-slideshow li:nth-child(3) div {
animation-delay: 12s;
}
.cb-slideshow li:nth-child(4) div {
animation-delay: 18s;
}
.cb-slideshow li:nth-child(5) div {
animation-delay: 24s;
}
.cb-slideshow li:nth-child(6) div {
animation-delay: 30s;
}
.no-cssanimations .cb-slideshow li span {
opacity: 1;
}
@keyframes imageAnimation {
0% {
opacity: 0;
animation-timing-function: ease-in;
}
8% {
opacity: 1;
animation-timing-function: ease-out;
}
17% {
opacity: 1
}
25% {
opacity: 0
}
100% {
opacity: 0
}
}
.cus-slideshow {
list-style-type: none;
padding: 0px;
}
.login-wrapper {
display: flex;
height: 100vh;
}
.login-slider {
width: 70%;
}
.login-form {
width: 30%;
background: white;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
position: relative;
}
/* form styles */
input[type=text],
input[type=password] {
width: 100%;
padding: 15px;
margin: 5px 0 22px 0;
display: inline-block;
border: none;
background: #f1f1f1;
}
input[type=text]:focus,
input[type=password]:focus {
background-color: #ddd;
outline: none;
}
.registerbtn {
background-color: #04AA6D;
color: white;
padding: 16px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
opacity: 0.9;
}
.registerbtn:hover {
opacity: 1;
}
a {
color: dodgerblue;
}
.signin {
background-color: #f1f1f1;
text-align: center;
}
.login-form-area {
width: 400px;
}
.forgot-password-txt {
text-align: right;
margin-bottom: 18px;
}
.lts {
position: absolute;
bottom: 0;
}
.lts p {
margin: 20px 0px;
}
.form-title {
margin-bottom: 28px;
}
.form-title h1 {
font-weight: 500;
margin: 0 0 3px 0;
color: #145994;
font-size: 30px;
}
.form-title p {
color: #00000061;
}
.loginbtn {
background-color: #0568bd;
}
.password-area {
margin-bottom: 10px !important;
}
.form-logos {
display: flex;
margin-bottom: 38px;
width: 100%;
justify-content: center;
border: 2px solid #00000014;
}
.form-logos img:not(:last-child) {
margin-right: 8px;
}
/* media quries */
/* ----------- iPad 1, 2, Mini and Air ----------- */
/* Portrait and Landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
.login-form {
width: 100% !important;
}
.login-slider {
display: none;
}
}
/* ----------- Non-Retina Screens ----------- */
@media screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 1) {
.login-slider {
width: 60%;
}
.login-form {
width: 40%;
}
.login-form-area {
width: 322px !important;
}
}
/* ----------- Retina Screens ----------- */
@media screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 2) and (min-resolution: 192dpi) {
.login-slider {
width: 60%;
}
.login-form {
width: 40%;
}
.login-form-area {
width: 322px !important;
}
}
/* device width 1200px custom */
@media (max-width: 1200px) {
.login-slider {
width: 60%;
}
.login-form {
width: 40%;
}
.login-form-area {
width: 380px !important;
}
}
/* ----------- iPhone 6, 6S, 7 and 8 ----------- */
/* Portrait and Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) {
.login-form {
width: 100% !important;
}
.login-slider {
display: none;
}
.login-form-area {
width: 322px !important;
}
}
/* ----------- iPhone 6+, 7+ and 8+ ----------- */
/* Portrait and Landscape */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) {
.login-form {
width: 100% !important;
}
.login-slider {
display: none;
}
.login-form-area {
width: 322px !important;
}
}
/* ----------- iPhone X ----------- */
/* Portrait and Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) {
.login-form {
width: 100% !important;
}
.login-slider {
display: none;
}
.login-form-area {
width: 322px !important;
}
}
.password-field {
position: relative;
margin-top: 15px;
}
.field-icon {
position: absolute;
top: 52px;
right: 19px;
}
</style>
</head>
<body>
<!-- -->
<!-- login page -->
<!-- -->
<div class="login-wrapper">
<!-- -->
<!-- login slider -->
<!-- -->
<div class="login-slider">
<ul class="cb-slideshow cus-slideshow">
<li> <span>Image 01</span> </li>
<li> <span>Image 02</span> </li>
<li> <span>Image 03</span> </li>
<li> <span>Image 04</span> </li>
<li> <span>Image 05</span> </li>
<li> <span>Image 06</span> </li>
</ul>
</div>
<!-- -->
<!-- login form -->
<!-- -->
<div class="login-form">
<form method="post" action="{{path('app_login')}}" id="signin-form" class="login-form-area">
<div class="cus-container">
<div class="form-logos"> <img src="{{ asset('Images/flannery-logo.png') }}" class="login-imgs"> </div>
<div class="form-title">
<h1>Welcome,</h1>
<p>Sign in to your account</p>
</div>
<label for="email"><b>{{ 'Email'|trans }}</b></label>
<input type="text" placeholder="Enter {{ 'Email'|trans }}" name="email" id="inputEmail" required>
<div class="password-field">
<label for="psw"><b>{{ 'Password'|trans }}</b></label>
<input class="password-area" type="password" id="inputPassword" placeholder="Enter {{ 'Password'|trans }}" name="password" required> <span toggle="#inputPassword" class="fa fa-fw fa-eye field-icon toggle-password"></span>
</div>
<p class="forgot-password-txt"><a href="/reset-password">Forgot Password?</a></p>
<button type="submit" class="registerbtn loginbtn">Login</button>
</div>
{% if error %}
<div class="text-center">
<label id="inputEmail-error" class="error" style="font-weight: 100 !important; margin-bottom: 0px !important; font-size: 14px;">Invalid login or password.</label>
</div>
{% endif %}
<input type="hidden" name="_csrf_token"
value="{{ csrf_token('authenticate') }}"
>
</form>
<div class="lts">
<p>Powered by <a href="https://www.leantransitionsolutions.com">Lean Transition Solutions</a>.
<a href="https://www.leantransitionsolutions.com/"> <img src="/assets/Images/lts_logo-new-footer.png?ver=3.1" height="20"> </a>
</p>
</div>
</div>
</div>
<script type="text/javascript">
$("#signin-form").validate();
$( document ).ready(function() {
$( document ).on('click', '.toggle-password',function() {
$(this).toggleClass("fa-eye fa-eye-slash");
var input = $($(this).attr("toggle"));
if (input.attr("type") == "password") {
input.attr("type", "text");
} else {
input.attr("type", "password");
}
});
});
</script>
</body>
</html>