<?php $__env->startSection('content'); ?>

    <form role="form" action="<?php echo e(url('/login')); ?>" method="POST" autocomplete="false">
        <input type="hidden" name="_token" value="<?php echo e(csrf_token()); ?>" />

        <!-- this is a hack to prevent Chrome from trying to autocomplete fields -->
        <input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="display:none;" aria-hidden="true">
        <input type="password" name="password_fake" id="password_fake" value="" style="display:none;" aria-hidden="true">

        <div class="container">
            <div class="row">

                <div class="col-md-4 col-md-offset-4">

                    <div class="box login-box">
                        <div class="box-header with-border">
                            <h1 class="box-title"> <?php echo e(trans('auth/general.login_prompt')); ?></h1>
                        </div>


                        <div class="login-box-body">
                            <div class="row">

                                <?php if($snipeSettings->login_note): ?>
                                    <div class="col-md-12">
                                        <div class="alert alert-info">
                                            <?php echo Helper::parseEscapedMarkedown($snipeSettings->login_note); ?>

                                        </div>
                                    </div>
                                <?php endif; ?>

                                <!-- Notifications -->
                                <?php echo $__env->make('notifications', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

                                <?php if(!config('app.require_saml')): ?>
                                <div class="col-md-12">
                                    <!-- CSRF Token -->


                                    <fieldset>

                                        <div class="form-group<?php echo e($errors->has('username') ? ' has-error' : ''); ?>">
                                            <label for="username"><i class="fas fa-user" aria-hidden="true"></i> <?php echo e(trans('admin/users/table.username')); ?></label>
                                            <input class="form-control" placeholder="<?php echo e(trans('admin/users/table.username')); ?>" name="username" type="text" id="username" autocomplete="off" autofocus>
                                            <?php echo $errors->first('username', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>'); ?>

                                        </div>
                                        <div class="form-group<?php echo e($errors->has('password') ? ' has-error' : ''); ?>">
                                            <label for="password"><i class="fa fa-key" aria-hidden="true"></i> <?php echo e(trans('admin/users/table.password')); ?></label>
                                            <input class="form-control" placeholder="<?php echo e(trans('admin/users/table.password')); ?>" name="password" type="password" id="password" autocomplete="off">
                                            <?php echo $errors->first('password', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>'); ?>

                                        </div>
                                        <div class="form-group<?php echo e($errors->has('password') ? ' has-error' : ''); ?>">
                                            <label class="form-control">
                                                <input name="remember" type="checkbox" value="1"> <?php echo e(trans('auth/general.remember_me')); ?>

                                            </label>
                                        </div>
                                    </fieldset>
                                </div> <!-- end col-md-12 -->
                                <?php endif; ?>
                            </div> <!-- end row -->

                            <?php if(!config('app.require_saml') && $snipeSettings->saml_enabled): ?>
                            <div class="row">
                                <div class="text-right col-md-12">
                                    <a href="<?php echo e(route('saml.login')); ?>"><?php echo e(trans('auth/general.saml_login')); ?></a>
                                </div>
                            </div>
                            <?php endif; ?>
                        </div>
                        <div class="box-footer">
                            <?php if(config('app.require_saml')): ?>
                                <a class="btn btn-primary btn-block" href="<?php echo e(route('saml.login')); ?>"><?php echo e(trans('auth/general.saml_login')); ?></a>
                            <?php else: ?>
                                <button class="btn btn-primary btn-block"><?php echo e(trans('auth/general.login')); ?></button>
                            <?php endif; ?>

                            <?php if($snipeSettings->custom_forgot_pass_url): ?>
                                <div class="col-md-12 text-right" style="padding-top: 15px;">
                                    <a href="<?php echo e($snipeSettings->custom_forgot_pass_url); ?>" rel="noopener"><?php echo e(trans('auth/general.forgot_password')); ?></a>
                                </div>
                            <?php elseif(!config('app.require_saml')): ?>
                                <div class="col-md-12 text-right" style="padding-top: 15px;">
                                    <a href="<?php echo e(route('password.request')); ?>"><?php echo e(trans('auth/general.forgot_password')); ?></a>
                                </div>
                            <?php endif; ?>

                        </div>

                    </div> <!-- end login box -->

                    <?php if(($snipeSettings->google_login=='1') && ($snipeSettings->google_client_id!='') && ($snipeSettings->google_client_secret!='')): ?>

                        <a href="<?php echo e(route('google.redirect')); ?>" class="btn btn-block btn-social btn-google">
                            <i class="fa-brands fa-google"></i> <?php echo e(trans('auth/general.google_login')); ?>

                        </a>
                    <?php endif; ?>

                </div> <!-- col-md-4 -->

            </div> <!-- end row -->
        </div> <!-- end container -->
    </form>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts/basic', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/vinkblgn/asset.visuretech.com/resources/views/auth/login.blade.php ENDPATH**/ ?>