@extends('welcome')

@section('content')
{{-- <div class="container">
    <div class="row">
        <div class="col-md-8 col-md-offset-2">
            <div class="panel panel-default">
                <div class="panel-heading">Login</div>

                <div class="panel-body">
                    <form class="form-horizontal" method="POST" action="{{ route('login') }}">
                        {{ csrf_field() }}

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

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

                                @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 for="password" class="col-md-4 control-label">Password</label>

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

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

                        <div class="form-group">
                            <div class="col-md-6 col-md-offset-4">
                                <div class="checkbox">
                                    <label>
                                        <input type="checkbox" name="remember" {{ old('remember') ? 'checked' : '' }}> Remember Me
                                    </label>
                                </div>
                            </div>
                        </div>

                        <div class="form-group">
                            <div class="col-md-8 col-md-offset-4">
                                <button type="submit" class="btn btn-primary">
                                    Login
                                </button>

                                <a class="btn btn-link" href="{{ route('password.request') }}">
                                    Forgot Your Password?
                                </a>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>--}}
<div class="w3-container w3-card-4 w3-round-large w3-padding-16 w3-white" style="/*background-color: rgba(255, 255, 255, 0.7);*/">
    <h2 class="w3-center w3-text-grey"><span class="fa fa-user-circle fa-fw fa-3x"></span>{{--<a href="{{ config('app.url').'/login' }}"><img src="{{ asset('images/logo/adl-logo-color-texto-new.png') }}" class="w3-image" width="110"></a>--}}</h2>
    <hr>
    <form role="form" method="POST" action="{{ route('login') }}">
        {{ csrf_field() }}

        <div class="w3-row{{ $errors->has('email') ? ' has-error' : '' }}">
            <div class="w3-col s12">
                <label for="email" class="control-label"><span class="fa fa-at fa-fw"></span> Usuario (E-mail)</label>
                <input id="email" type="email" class="w3-input w3-border w3-border-theme w3-large w3-round" name="email" placeholder="E-mail" value="{{ old('email') }}" required autofocus>

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

        <div class="w3-row{{ $errors->has('password') ? ' has-error' : '' }}">
            <div class="w3-col s12">
                <label for="password" class="control-label"><span class="fa fa-key fa-fw"></span> Contraseña</label>
                <input id="password" type="password" class="w3-input w3-border w3-border-theme w3-large w3-round" name="password" placeholder="Contraseña" required>

                @if ($errors->has('password'))
                    <span class="help-block">
                        <strong>{{ $errors->first('password') }}</strong>
                    </span>
                @endif
            </div>
        </div>
        {{--
        <div class="w3-row">
            <div class="w3-col s12">
                <div class="checkbox">
                    <label>
                        <input type="checkbox" name="remember" {{ old('remember') ? 'checked' : '' }}> Recordarme
                    </label>
                </div>
            </div>
        </div>
        --}}
        <br>
        <div class="w3-row">
            <div class="w3-col s12">
                <button type="submit" class="w3-btn w3-theme-d2 w3-block w3-round">
                    <span class="fa fa-sign-in fa-fw"></span> Entrar
                </button>
                {{--
                <a class="w3-btn w3-theme-d2 w3-disabled" href="{{ route('password.request') }}">
                    <span class="fa fa-key fa-fw"></span> ¿Olvidó la contraseña?
                </a>--}}
            </div>
        </div>
    </form>
</div>
@endsection
