<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="icon" href="{{asset('/images/logo.png')}}">
    <title>Systen Admin</title>
    <!-- CSRF Token -->
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
    <link href="{{ asset('css/app.css') }}" rel="stylesheet">
</head>
<body>
<div class="container pt-5">
    <div class="row justify-content-center align-items-center mt-5">
        <div  style="width: 420px">
            <div class="card border">
                <div class="card-header"><h4><strong>ចូល</strong></h4></div>
                <div class="card-body">
                    <form method="POST" action="{{ route('unLock') }}" class="px-3 py-4">
                        @csrf
                        <div class="input-group col-12 mb-4">
                            <div class="input-group-prepend">
                            <label class="form-label"><i class="fa fa-lock"></i></label>
                            </div>
                            <input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required>
                            @error('password')
                                <label class="invalid-feedback" role="alert">
                                    <strong>{{ $message }}</strong>
                                </label>
                            @enderror
                        </div>
                        <div class="mb-3 col-12  pt-4">
                            <button type="submit" class="outline-primary btn btn-primary input-block-level form-control">
                                <i class="fa fa-power-off"></i> ចូល
                            </button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

</body>
</html>
