<!DOCTYPE html>
<html lang="en">


<!-- auth-login.html  21 Nov 2019 03:49:32 GMT -->
<head>
    <meta charset="UTF-8">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no" name="viewport">
    <title>Yönetim Paneli Giriş</title>
    <!-- General CSS Files -->
    <link rel="stylesheet" href="{{asset('yonetim/assets/css/app.min.css')}}">
    <link rel="stylesheet" href="{{asset('yonetim/assets/bundles/izitoast/css/iziToast.min.css')}}">
    <!-- Template CSS -->
    <link rel="stylesheet" href="{{asset('yonetim/assets/css/style.css')}}">
    <link rel="stylesheet" href="{{asset('yonetim/assets/css/components.css')}}">
    <!-- Custom style CSS -->
    <link rel="stylesheet" href="{{asset('yonetim/assets/css/custom.css')}}">
    <link rel='shortcut icon' type='image/x-icon' href='{{asset($ayarcek->faviconyol)}}' />

    <meta name="csrf-token" content="{{ csrf_token() }}">

</head>
<body>
<div class="loader"></div>
<div id="app">
    <section class="section">
        <div class="container mt-5">
            <div class="row">
                <div class="col-12 col-sm-8 offset-sm-2 col-md-6 offset-md-3 col-lg-6 offset-lg-3 col-xl-4 offset-xl-4">
                    <div class="card card-primary">
                        <div class="card-header">
                            <h4>Giriş Yap</h4>
                        </div>


                        <div class="card-body">
                            <form class="form-horizontal mt-3" method="POST" action="{{ route('login') }}">
                                @csrf
                                <div class="form-group">
                                    <label for="email">Kullanıcı Adınız</label>
                                    <input id="username" type="text" class="form-control" name="username" tabindex="1" required autofocus>
                                    <div class="invalid-feedback">
                                        Please fill in your email
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="d-block">
                                        <label for="password" class="control-label">Şifre</label>
                                        <div class="float-right">
                                            <a href="{{ route('password.request') }}" class="text-small">
                                                Şifreni mi Unuttun?
                                            </a>
                                        </div>
                                    </div>
                                    <input id="password" type="password" class="form-control" name="password" tabindex="2" required>
                                    <div class="invalid-feedback">
                                        please fill in your password
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="custom-control custom-checkbox">
                                        <input type="checkbox" name="remember" class="custom-control-input" tabindex="3" id="remember-me">
                                        <label class="custom-control-label" for="remember-me">Beni Hatırla</label>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <button type="submit" class="btn btn-primary btn-lg btn-block" tabindex="4">
                                        Giriş Yap
                                    </button>
                                </div>
                            </form>

                            @if ($errors->any())
                                <div class="alert alert-danger">
                                    <ul>
                                        @foreach ($errors->all() as $error)
                                            <li style="">{{ $error }}</li>
                                        @endforeach
                                    </ul>
                                </div>
                            @endif





                        </div>
                    </div>

                </div>
            </div>
        </div>
    </section>
</div>





<!-- General JS Scripts -->
<script src="{{asset('yonetim/assets/js/app.min.js')}}"></script>

<script src="{{asset('yonetim/assets/bundles/izitoast/js/iziToast.min.js')}}"></script>
<script src="{{asset('yonetim/assets/js/page/toastr.js')}}"></script>
<!-- JS Libraies -->
<script src="{{asset('yonetim/assets/bundles/apexcharts/apexcharts.min.js')}}"></script>
<!-- Page Specific JS File -->
<script src="{{asset('yonetim/assets/js/page/index.js')}}"></script>
<!-- Template JS File -->
<script src="{{asset('yonetim/assets/js/scripts.js')}}"></script>
<!-- Custom JS File -->
<script src="{{asset('yonetim/assets/js/custom.js')}}"></script>



@if (\Session::has('success'))


    <script>
        iziToast.show({
            title: 'Başarılı',
            message: "{!! \Session::get('success') !!}",
            color: 'green',
            position: 'topRight', // bottomRight, bottomLeft, topRight, topLeft, topCenter, bottomCenter, center
            timeout: 3000,

        });
    </script>

    @php
        header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
    header("Cache-Control: post-check=0, pre-check=0", false);
    header("Pragma: no-cache");
    @endphp



@endif





</body>
</html>
