<!DOCTYPE html>
<html  lang="{{ app()->getLocale() }}">
@include('admin.layout.top')
@push('css-head')

@endpush
<body>
    <!-- Page content -->
    <div class="page-content">
        <!-- Main content -->
        <div class="content-wrapper">
            <!-- Content area -->
            <div class="content d-flex justify-content-center align-items-center">
                <!-- Login form -->
                {!!Form::open(array('route'=>'admin.login.request','method'=>'POST', 'class'=>'login-form'))!!}
                <div class="card mb-0 animated zoomIn">
                    <div class="card-body">
                        <div class="text-center mb-3">
                            <i class="icon-reading icon-2x text-slate-300 border-slate-300 border-3 rounded-round p-3 mb-3 mt-1"></i>
                            <h5 class="mb-0">Login to your account</h5>
                            <span class="d-block text-muted">Enter your credentials below</span>
                        </div>

                        <div class="form-group form-group-feedback form-group-feedback-left">
                            <input type="text" class="form-control" name="email" placeholder="Email">
                            <div class="form-control-feedback">
                                <i class="icon-user text-muted"></i>
                            </div>
                        </div>

                        <div class="form-group form-group-feedback form-group-feedback-left">
                            <input type="password" class="form-control" name="password" placeholder="Password">
                            <div class="form-control-feedback">
                                <i class="icon-lock2 text-muted"></i>
                            </div>
                        </div>

                        <div class="form-group">
                            <button type="submit" class="btn bg-teal-700 btn-block btn-ladda btn-ladda-spinner" data-spinner-color="#fff" data-style="zoom-out">
                                <span class="ladda-label">Sign in <i class="icon-circle-right2 ml-2"></i></span>
                            </button>
                        </div>

                        {{-- <div class="text-center">
                            <a href="{{route('admin.password.reset')}}">Forgot password?</a>
                        </div> --}}
                    </div>
                </div>
                {!! Form::close() !!}
                <!-- /login form -->

            </div>
            <!-- /content area -->
        </div>
        <!-- /main content -->

    </div>
    <!-- /page content -->
    @push('scripts')
    @if ($message = Session::get('error'))
    <script type="text/javascript">
        $(document).ready(function(){
            var msg = "{{ $message }}";
            notify('error', msg);
        });
    </script>
    @endif
    @endpush
    @include('admin.layout.bottom')
</body>
</html>