<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1" name="viewport" />
<meta content="My Land Trading CRM" name="description" />
<meta content="Egyptforweb.com" name="author" />
<title> Login | {{ WEB_SITE_NAME }} </title>
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" />
<!-- BEGIN GLOBAL MANDATORY STYLES -->
<link href="https://fonts.googleapis.com/css?family=Cairo" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="{{asset('bundles/global/plugins/fonts.googleapis.css')}}" />
<link type="text/css" rel="stylesheet" href="{{asset('bundles/global/plugins/font-awesome/css/font-awesome.min.css')}}" />
<link type="text/css" rel="stylesheet" href="{{asset('bundles/global/plugins/simple-line-icons/simple-line-icons.min.css')}}" />
<link type="text/css" rel="stylesheet" href="{{asset('bundles/global/plugins/bootstrap/css/bootstrap.min.css')}}" />
<link type="text/css" rel="stylesheet" href="{{asset('bundles/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css')}}" />
<!-- END GLOBAL MANDATORY STYLES -->
{#<!-- BEGIN THEME GLOBAL STYLES -->#}
<link type="text/css" rel="stylesheet" href="{{asset('bundles/global/css/components.min.css')}}" />
<link type="text/css" rel="stylesheet" href="{{asset('bundles/global/css/plugins.min.css')}}" />
{#<!-- END THEME GLOBAL STYLES -->#}
<!-- BEGIN PAGE LEVEL STYLES -->
<link href="{{asset('bundles/pages/css/login.min.css')}}" rel="stylesheet" type="text/css" />
<link href="{{asset('bundles/efw.css')}}" rel="stylesheet" type="text/css" />
<!-- END PAGE LEVEL STYLES -->
</head>
<body class="login login2">
<div class="logo">
<img src="{{asset('bundles/global/img/logo-big.png')}}" alt="" />
</div>
<div class="content">
<form action="{{ path('Login_Path') }}" method="post" role="form" class="login-form" name="log_in">
<h3 class="form-title font-green">Sign In</h3>
{% if error %}
<div class="alert alert-danger">
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
<span>{{ error.message|trans }}</span>
</div>
{% endif %}
{# Username #}
<div class="form-group">
<!--ie8, ie9 does not support html5 placeholder, so we just show field title for that-->
<label class="control-label visible-ie8 visible-ie9">Username</label>
<div class="input-icon">
<i class="fa fa-user"></i>
<input id="username" class="form-control form-control-solid placeholder-no-fix" type="text" autocomplete="off" placeholder="Username" name="username" />
</div>
</div>
{# Password #}
<div class="form-group">
<label class="control-label visible-ie8 visible-ie9">Password</label>
<div class="input-icon">
<i class="fa fa-lock"></i>
<input id="password" class="form-control form-control-solid placeholder-no-fix" type="password" autocomplete="off" placeholder="Password" name="password" />
</div>
</div>
{# remember + submit + forget password #}
<div class="form-actions">
<button type="submit" class="btn green uppercase">Login</button>
<label class="rememberme check mt-checkbox mt-checkbox-outline">
<input type="checkbox" id="remember_me" name="_remember_me" checked/>Remember
<span></span>
</label>
<a href="{{ path('ForgotPassword_Path') }}" id="forget-password" class="forget-password">Forgot Password?</a>
</div>
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
{#(2).(a).First, IS_AUTHENTICATED_REMEMBERED is given to all users who are logged in. They may have#}
{#actually logged in during the session or may be logged in because they have a “remember me” cookie.#}
{#(b).Second, IS_AUTHENTICATED_FULLY is actually stronger. You only have this if you’ve actually#}
{#logged in during this session. If you’re logged in because of a remember me cookie, you won’t have this#}
{#(c).Finally, IS_AUTHENTICATED_ANONYMOUSLY is given to all users, even if you’re not logged in.#}
{#And since literally everyone has this, it seems worthless But it actually does have a use if you need#}
{#to white-list URLs that should be public. I’ll show you an example in the last chapter.#}
</form>
</div>
<div class="copyright">MyLand © 2018. All rights reserved.</div>
<script>
if(self == top)
document.documentElement.style.display = 'block';
else
top.location = self.location;
</script>
<!-- BEGIN CORE PLUGINS -->
<script type="text/javascript" src="{{asset('bundles/global/plugins/jquery.min.js')}}"></script>
<script type="text/javascript" src="{{asset('bundles/global/plugins/bootstrap/js/bootstrap.min.js')}}"></script>
<script type="text/javascript" src="{{asset('bundles/global/plugins/js.cookie.min.js')}}"></script>
<script type="text/javascript" src="{{asset('bundles/global/plugins/jquery-slimscroll/jquery.slimscroll.min.js')}}"></script>
<script type="text/javascript" src="{{asset('bundles/global/plugins/jquery.blockui.min.js')}}"></script>
<script type="text/javascript" src="{{asset('bundles/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js')}}"></script>
<!-- END CORE PLUGINS -->
<script type="text/javascript">
// $(document).ready(function()
// {
//
// /* JQuery bootstrap validation */
// //Form Class / Id
// $('.login-form').bootstrapValidator
// ({
// message: 'This value is not valid.',
// feedbackIcons:
// {
// valid: 'glyphicon glyphicon-ok',
// invalid: 'glyphicon glyphicon-remove',
// validating: 'glyphicon glyphicon-refresh'
// },
// fields:
// {
// "registration[username]":
// {
// message: 'The username is not valid.',
// validators:
// {
// notEmpty:
// {
// message: 'The username is required and cannot be empty.'
// },
// regexp:
// {
// regexp: /^[a-zA-Z]+[a-zA-Z0-9]+$/,
// message: 'The username Must start with alphabetical letter and can consist of alphabetical letters and numbers.'
// },
// stringLength:
// {
// min: 3,
// max: 32,
// message: 'The username must be more than 3 and less than 32 characters long.'
// },
// required: true
// }
// },
// "registration[password][first]":
// {
// validators:
// {
// identical:
// {
// field: "registration[password][second]",
// message: 'The password and its confirm are not the same.'
// },
// stringLength:
// {
// min: 3,
// max: 32,
// message: 'The Password must be more than 3 and less than 32 characters long.'
// },
// regexp:
// {
// regexp: /^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?!.*\s).*$/,
// message: 'Password must contain at least: 1 upper case letter, 1 lower case letter, and 1 number.'
// }
// }
// }
// }
// });
//
// });
</script>
</body>
</html>