@extends('layouts.login')

@section('page_title')
    Airtime Sales | Admin Login
@endsection

@section('page_content')


<div class="row">
        <div class="col-md-12">
            <div class="text-center m-b-md">
            <h3 class="text-dark-50 text-center mt-0 font-weight-bold">Click Mobile Airtime Sales</h3>
                <h4 class="text-dark-50 text-center mt-0 font-weight-bold">Admin Login</h4>
                <!-- <small>This is the best app ever!</small> -->
                <div class="text-center w-75 m-auto">
                    <!-- <p class="text-muted mb-4">Admin Panel Login</p> -->
                    @if (Session::has('login-error'))
                    <p class=" text-danger mb-4"> {{ Session::get('login-error') }} </p>
                    @endif
                    @include('commons.notifications')
                </div>
            </div>
            <div class="hpanel">
                <div class="panel-body">
                        <form action="{{ url('login_user') }}" id="loginForm" method="POST">
                            {{csrf_field()}}
                            <div class="form-group">
                                <label class="control-label" for="username">Username</label>
                                <input type="text" placeholder="example@gmail.com" title="Please enter you username" required="" value="" name="email" id="username" class="form-control">
                                <span class="help-block small">Your unique username</span>
                            </div>
                            <div class="form-group">
                                <label class="control-label" for="password">Password</label>
                                <input type="password" title="Please enter your password" placeholder="******" required="" value="" name="password" id="password" class="form-control">
                                <span class="help-block small">Your strong password</span>
                            </div>
                            <div class="checkbox">
                                <!-- <input type="checkbox" class="i-checks" checked>
                                     Remember login
                                <p class="help-block small">(if this is a private computer)</p> -->
                            </div>
                            <button class="btn btn-success btn-block">Login</button>
                            <!-- <a class="btn btn-default btn-block" href="login.html#">Register</a> -->
                        </form>
                </div>
            </div>
        </div>
    </div>
@endsection