<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8" />

    <link rel="icon" href="{{asset("public/frontend/img/icon.png")}}">

    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>Login365</title>
    <link href="{{asset('public/css/bootstrap.min.css')}}" rel="stylesheet" />
    <link href="{{asset('public/frontend/css/style.css')}}" rel="stylesheet"/>
    <link href="{{asset('public/css/pe-icon-7-stroke.css')}}" rel="stylesheet" />
    <link href="https://fonts.googleapis.com/css?family=PT+Sans:400,700" rel="stylesheet">

</head>
<body>
<section>
    <div class="container-fluid">
        <div class="row">
            <div class="col-xs-12">
                <div class="small-container sigh-in">
                    <p class="text-center">
                        <a href="{{URL::to('/')}}"><img src="{{asset('public/frontend/img/logo.png')}}" alt="login365"></a>
                    </p>
                    <h1 class="mt30">Sign in @if(isset($company_name)): : {{$company_name}} @endif</h1>
                    {!! Form::open(['url'=>'loginCheck']) !!}

                        <div class="form-group">
                            <input name="email" class="form-control" maxlength="30" required="" type="text">
                            <span>Email address</span>
                        </div>
                        <div class="form-group">
                            <input name="password" class="form-control" maxlength="30" required="" type="password">
                            <span>Password</span>
                            <a href="{{URL::to('password-recovery')}}" class="pull-right"><small>Forgot Password?</small></a>
                        </div>
                        <button type="submit" class="btn btn-itm-color mt15" >Login</button>
                    {!! Form::close() !!}
                </div>
            </div>
        </div>
    </div>
</section>

<footer>
    <div class="container-fluid copy-right">
        <div class="container">
            <div class="row">
                <div class="col-xs-12">
                    <div class="inline-block"><a href="javascript:;">Contact Us</a>   |  <a href="javascript:;">Privacy Policy</a>  |  <a href="javascript:;">Terms of Service</a></div>
                    <div class="pull-right inline-block">Copyright  {{date('Y')}}. All Rights Reserved</div>
                </div>

            </div>
        </div>
    </div>
</footer>



</body>

<!--   Core JS Files and PerfectScrollbar library inside jquery.ui   -->
<script src="{{asset('public/js/jquery.min.js')}}" type="text/javascript"></script>
<script src="{{asset('public/js/bootstrap.min.js')}}" type="text/javascript"></script>

<!--  Notifications Plugin    -->
<script src="{{asset('public/js/bootstrap-notify.js')}}"></script>



<script type="text/javascript">
    $().ready(function(){

@if(Session::get('error'))
        $.notify({
            icon: 'pe-7s-bell',
            message: "{{Session::get('error')}}"

        },{
            type: 'warning',
            timer: 4000
        });
@endif
        @if(Session::get('success'))
                $.notify({
    icon: 'pe-7s-bell',
    message: "{{Session::get('success')}}"

},{
    type: 'success',
    timer: 4000
});
        @endif
    });

</script>

</html>