@extends('layouts.app')

@section('content')
<style>
body {
    background: rgba(0, 0, 0, 0) linear-gradient(-180deg, #35e9f2 0%, #fff 69%) no-repeat scroll 0 0;
    
}
.custom_h2{
    margin-top:15%;
    color:#337ab7;
    font-weight:900;
    font-size:38px;
}
</style>
<div class="container">
    <div class='row'>
        <div class="col-md-12">
            <img class="img img-responsive center-block custom_h2" style="margin-bottom:2%" src="{{asset('assets/img/logo_revinr.png')}}">
             <!--<h2 class="text-center custom_h2"><b>REVINR TMS</b></h2>-->
        </div>
    </div>
    <div class="row">
        <div class="col-md-5" style="margin-left: 29%;">
            <div class="panel panel-default" style="background-color: rgba(255, 255, 255, 0.82);">
                <div class="panel-heading text-center" style="background:#00adef">
                    <span class="" style="font-size:20px;color:#fff"><b>USER  LOGIN</b></span>
                </div>
                <div class="panel-body" style="padding:0px;margin-left:2%;margin-top:9%;margin-bottom:20px;">
                    <form class="form-horizontal" role="form" method="POST" action="{{ url('/login') }}">
                        {!! csrf_field() !!}

                        <div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
                            <label class="col-md-4 control-label">Email</label>

                            <div class="col-md-6">
                                <input type="email" class="form-control" name="email" value="{{ old('email') }}">

                                @if ($errors->has('email'))
                                    <span class="help-block">
                                        <strong>{{ $errors->first('email') }}</strong>
                                    </span>
                                @endif
                            </div>
                        </div>

                        <div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
                            <label class="col-md-4 control-label">Password</label>

                            <div class="col-md-6">
                                <input type="password" class="form-control" name="password">

                                @if ($errors->has('password'))
                                    <span class="help-block">
                                        <strong>{{ $errors->first('password') }}</strong>
                                    </span>
                                @endif
                            </div>
                        </div>
            <div class="col-md-5" style="margin-top:3%;padding:15px">
                            <div class="form-group" style="margin-left: 33%;">
                            
                                    <div class="checkbox">
                                        <label>
                                            <input type="checkbox" name="remember"> Remember Me
                                        </label>
                                    </div>
                               </div>
                        </div>
            <div class="col-md-5" style="margin-top:3%;padding:15px">
                        <div class="form-group">
                            
                                <button type="submit" class="btn btn-primary pull-right" style="background:#00adef;border:none">
                                    <i class="fa fa-btn fa-sign-in"></i>Login
                                </button>

                                {{-- <a class="btn btn-link" href="{{ url('/password/reset') }}">Forgot Your Password?</a> --}}
                            </div>
                        </div>

                        {{-- <div class="form-group">
                            <div class="col-md-6 col-md-offset-4">
                                <div class="checkbox">
                                    <label>
                                        Admin: admin@gmail.com | pass: admin123<br>
                                        User: sakib@gmail.com | pass: sakib123<br>
                                        Client: ubr@gmail.com | pass: ubr123
                                    </label>
                                </div>
                            </div>
                        </div> --}}
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
@endsection
