<?php
$configData = Helper::applClasses();
?>


<?php $__env->startSection('title', 'Login Page'); ?>

<?php $__env->startSection('page-style'); ?>
  
  <link rel="stylesheet" href="<?php echo e(asset(mix('css/base/plugins/forms/form-validation.css'))); ?>">
  <link rel="stylesheet" href="<?php echo e(asset(mix('css/base/pages/authentication.css'))); ?>">
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
<div class="auth-wrapper auth-cover">
  <div class="auth-inner row m-0">
    <!-- Brand logo-->

    <!-- /Brand logo-->

    <!-- Left Text-->
    <div class="d-none d-lg-flex col-lg-8 align-items-center p-5">
      <div class="w-100 d-lg-flex align-items-center justify-content-center px-5">
        <?php if($configData['theme'] === 'dark'): ?>
          <img class="img-fluid" src="<?php echo e(asset('images/pages/login-v2-dark.svg')); ?>" alt="Login V2" />
          <?php else: ?>
          <img class="img-fluid" src="<?php echo e(asset('images/pages/login-v2.svg')); ?>" alt="Login V2" />
          <?php endif; ?>
      </div>
    </div>
    <!-- /Left Text-->

    <!-- Login-->
    <div class="d-flex col-lg-4 align-items-center auth-bg px-2 p-lg-5">
      <div class="col-12 col-sm-8 col-md-6 col-lg-12 px-xl-2 mx-auto">
        <h5 class="card-title fw-bold text-primary  mb-1 text-center"><b>Early Warning System (EWS)</b></h5>
        <p class="card-text mb-3 text-primary text-center">Water Level   Pondok Bentung Siaga</p>
        <p class=" mb-2 text-primary text-center">Login Administrator</p>
        <?php if(session('error')): ?>
            <div class="alert alert-danger p-1">
                <?php echo e(session("error")); ?>

            </div>
        <?php endif; ?>
        <?php if(session('success')): ?>
            <div class="alert alert-success p-1">
                <?php echo e(session("success")); ?>

            </div>
        <?php endif; ?>
        <form class="auth-login-form mt-2" action="<?php echo e(url("masuk")); ?>" method="POST">
            <?php echo csrf_field(); ?>
          <div class="mb-1">
            <label class="form-label" for="login-email">Email</label>
            <input class="form-control" id="login-email" required type="email" name="email" placeholder="Masukan Email Anda" aria-describedby="login-email" autofocus="" tabindex="1" />
            <?php $__errorArgs = ["email"];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <span class="text-danger"><?php echo e($message); ?></span>
        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
          </div>
          <div class="mb-1">
            
            <label class="form-label" for="login-password">Password</label>
            <div class="input-group input-group-merge form-password-toggle ">
              <input class="form-control form-control-merge " id="login-password" required type="password" placeholder="Masukan Password " aria-describedby="login-password" tabindex="2" name="password">
              <span class="input-group-text cursor-pointer"><i data-feather="eye"></i></span>
            </div>
            <?php $__errorArgs = ["password"];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                <span class="text-danger"><?php echo e($message); ?></span>
            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
          </div>
          
          <button class="btn btn-primary w-100" tabindex="4">Sign in</button>
        </form>
        
      </div>
    </div>
    <!-- /Login-->
  </div>
</div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('vendor-script'); ?>
<script src="<?php echo e(asset(mix('vendors/js/forms/validation/jquery.validate.min.js'))); ?>"></script>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('page-script'); ?>
<script src="<?php echo e(asset(mix('js/scripts/pages/auth-login.js'))); ?>"></script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts/fullLayoutMaster', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\project\project_ews_clone\resources\views//content/authentication/auth-login-cover.blade.php ENDPATH**/ ?>