Viewing file: 5f375df2884648eeecf10b78ef198af62d14c641.php (10.13 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('content'); ?> <?php echo $__env->make('layouts.headers.guest', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<div class="container mt--6 pb-5"> <div class="row justify-content-center"> <div class="col-lg-5 col-md-7">
<?php if(session('status')): ?> <div class="card bg-secondary shadow border-0"> <div class="card-body"> <div class="alert alert-success alert-dismissible fade show" role="alert"> <?php echo e(session('status')); ?>
<button type="button" class="close" data-dismiss="alert" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> </div> </div> <?php endif; ?>
<?php if(config('settings.is_show_credentials',false)): ?> <script> function loginAs(email) { document.getElementById("email").value = email; document.getElementById("password").value = "secret"; document.getElementById("loginForm").submit() } </script> <div class="card bg-secondary shadow border-0"> <div class="card-body"> <div class="text-center text-muted mb-4"> <br /> <button type="button" onclick="loginAs('admin@example.com')" class="btn btn-outline-danger">Login as Admin</button><br /><br /> <button type="button" onclick="loginAs('owner@example.com')" class="btn btn-outline-success">Login as Owner</button><br /><br />
<?php if(config('app.isft')): ?> <button type="button" onclick="loginAs('driver@example.com')" class="btn btn-outline-info">Login as Driver</button><br /><br /> <button type="button" onclick="loginAs('client@example.com')" class="btn btn-outline-primary">Login as Client</button><br /><br /> <?php endif; ?> <?php if(config('app.issd')): ?> <button type="button" onclick="loginAs('driver@example.com')" class="btn btn-outline-info">Login as Driver</button><br /><br /> <?php endif; ?> <?php if(config('settings.is_pos_cloud_mode')): ?> <button type="button" onclick="loginAs('staff@example.com')" class="btn btn-outline-warning">Login as Staff</button><br /><br /> <?php endif; ?> <?php if(config('app.isloyalty')): ?> <button type="button" onclick="loginAs('owner2@example.com')" class="btn btn-outline-success btn-sm">Login as Sport Shop (Owner)</button><br /><br /> <button type="button" onclick="loginAs('owner3@example.com')" class="btn btn-outline-success btn-sm">Login as Bland Jewelry (Owner)</button><br /><br /> <button type="button" onclick="loginAs('owner4@example.com')" class="btn btn-outline-success btn-sm">Login as Beauty Salon (Owner)</button><br /><br /> <button type="button" onclick="loginAs('client@example.com')" class="btn btn-outline-primary">Login as Client</button><br /><br /> <?php endif; ?>
</div> </div> </div> <?php endif; ?> <br/>
<div class="card bg-secondary shadow border-0"> <div class="card-body px-lg-5 py-lg-5">
<?php if((config('app.isft')|| isset($_GET['showCreate']))&&(strlen(config('settings.google_client_id'))>3||strlen(config('settings.facebook_client_id'))>3)): ?> <div class="card-header bg-transparent pb-5"> <div class="text-muted text-center mt-2 mb-3"><small><?php echo e(__('Sign in with')); ?></small></div> <div class="btn-wrapper text-center">
<?php if(strlen(config('settings.google_client_id'))>3): ?> <a href="<?php echo e(route('google.login')); ?>" class="btn btn-neutral btn-icon"> <span class="btn-inner--icon"><img src="<?php echo e(asset('argonfront/img/google.svg')); ?>"></span> <span class="btn-inner--text">Google</span> </a> <?php endif; ?>
<?php if(strlen(config('settings.facebook_client_id'))>3): ?> <a href="<?php echo e(route('facebook.login')); ?>" class="btn btn-neutral btn-icon"> <span class="btn-inner--icon"><img src="<?php echo e(asset('custom/img/facebook.png')); ?>"></span> <span class="btn-inner--text">Facebook</span> </a> <?php endif; ?>
</div> </div> <?php endif; ?>
<form id="loginForm" role="form" method="POST" action="<?php echo e(route('login')); ?>"> <?php echo csrf_field(); ?>
<div class="form-group<?php echo e($errors->has('email') ? ' has-danger' : ''); ?> mb-3"> <div class="input-group input-group-alternative"> <div class="input-group-prepend"> <span class="input-group-text"><i class="ni ni-email-83"></i></span> </div> <input id="email" class="form-control<?php echo e($errors->has('email') ? ' is-invalid' : ''); ?>" placeholder="<?php echo e(__('Email')); ?>" type="email" name="email" value="<?php echo e(old('email')); ?>" required autofocus> </div> <?php if($errors->has('email')): ?> <span class="invalid-feedback" style="display: block;" role="alert"> <strong><?php echo e($errors->first('email')); ?></strong> </span> <?php endif; ?> </div> <div class="form-group<?php echo e($errors->has('password') ? ' has-danger' : ''); ?>"> <div class="input-group input-group-alternative"> <div class="input-group-prepend"> <span class="input-group-text"><i class="ni ni-lock-circle-open"></i></span> </div> <input id="password" class="form-control<?php echo e($errors->has('password') ? ' is-invalid' : ''); ?>" name="password" placeholder="<?php echo e(__('Password')); ?>" type="password" required> </div> <?php if($errors->has('password')): ?> <span class="invalid-feedback" style="display: block;" role="alert"> <strong><?php echo e($errors->first('password')); ?></strong> </span> <?php endif; ?> </div> <div class="custom-control custom-control-alternative custom-checkbox"> <input class="custom-control-input" name="remember" id="customCheckLogin" type="checkbox" <?php echo e(old('remember') ? 'checked' : ''); ?>> <label class="custom-control-label" for="customCheckLogin"> <span class="text-muted"><?php echo e(__('Remember me')); ?></span> </label> </div> <div class="text-center"> <button type="submit" class="btn btn-danger my-4"><?php echo e(__('Sign in')); ?></button> </div>
<?php if(config('app.isft') || isset($_GET['showCreate'])): ?> <div class="text-center"> <hr /> <a href="<?php echo e(route('register')); ?>" class="btn btn-success my-4"> <small><?php echo e(__('Create new account')); ?></small> </a> </div> <?php endif; ?> </form> </div> </div> <div class="row mt-3"> <div class="col-6"> <?php if(Route::has('password.request')): ?> <a href="<?php echo e(route('password.request')); ?>" class="text-light"> <small><?php echo e(__('Forgot password?')); ?></small> </a> <?php endif; ?> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', ['class' => 'bg'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/wataxi.picotech.app/public_html/resources/views/auth/login.blade.php ENDPATH**/ ?>
|