Tuesday, March 14, 2017

Authentication routes of adminLTE in laravel

New to laravel framework here. I am trying to integrate the forms of adminLTE into my laravel project but it is confusing especially checking out the auth folder and also the root folder (adminlte.php). Need help!

`@section('body')
        <div class="login-box">
            <div class="login-logo">
                <a href="">{!! config('adminlte.logo', '<b>Admin</b>LTE') !!}</a>
            </div>
            <!-- /.login-logo -->
            <div class="login-box-body">
                <p class="login-box-msg"></p>
                <form action="" method="post">
                    {!! csrf_field() !!}
                    <div class="form-group has-feedback ">
                        <input type="email" name="email" class="form-control" value=""
                               placeholder="">
                        <span class="glyphicon glyphicon-envelope form-control-feedback"></span>
                        @if ($errors->has('email'))
                            <span class="help-block">
                                <strong></strong>
                            </span>
                        @endif
                    </div>
                    <div class="form-group has-feedback ">
                        <input type="password" name="password" class="form-control"
                               placeholder="">
                        <span class="glyphicon glyphicon-lock form-control-feedback"></span>
                        @if ($errors->has('password'))
                            <span class="help-block">
                                <strong></strong>
                            </span>
                        @endif
                    </div>
                    <div class="row">
                        <div class="col-xs-8">
                            <div class="checkbox icheck">
                                <label>
                                    <input type="checkbox" name="remember"> 
                                </label>
                            </div>
                        </div>
                        <!-- /.col -->
                        <div class="col-xs-4">
                            <button type="submit"
                                    class="btn btn-default btn-block btn-flat"><a href=""></a>
                            </button>
                        </div>
                        <!-- /.col -->
                    </div>
                </form>
                <div class="auth-links">
                    <a href=""
                       class="text-center"
                    >**</a>
                    <br>
                    @if (config('adminlte.register_url', 'register'))
                        <a href=""
                           class="text-center"
                        >**</a>
                    @endif
                </div>
            </div>
            <!-- /.login-box-body -->
        </div><!-- /.login-box -->
    @stop`



via joy oscar callanta

Advertisement