<!doctype html>
<html lang="en">
  <head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link href="https://fonts.googleapis.com/css?family=Roboto:300,400&display=swap" rel="stylesheet">

    <link rel="stylesheet" href="auth/fonts/icomoon/style.css">

    <link rel="stylesheet" href="auth/css/owl.carousel.min.css">

    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="auth/css/bootstrap.min.css">
    
    <!-- Style -->
    <link rel="stylesheet" href="auth/css/style.css">

    <title>STJAK College Login</title>
  </head>
  <body>
  

  <div class="d-md-flex half">
    <div class="bg" style="background-image: url('auth/images/bg.jpg');"></div>
    <div class="contents">

      <div class="container">
        <div class="row align-items-center justify-content-center">
          <div class="col-md-12">
            <div class="form-block mx-auto">
              <div class="text-center mb-5">
                    <div class="text-center">
						        <img src="logo/StJohnCollegeLogo-03.png" alt="Logo" class="img-fluid" width="132" height="132" data-tilt />
					  </div>
                    <br>
              <h3>Login to <strong>Training Portal</strong></h3>
              <?php if(Session::get('error')): ?>
               <div class="alert alert-danger">
                  <?php echo e(Session::get('error')); ?>

               </div>
              <?php endif; ?>

              <?php if(Session::has('success')): ?>
							<div class="alert alert-success"><?php echo e(Session::get('success')); ?></div>
						<?php endif; ?>

						<?php if($errors->any()): ?>
							<div class="alert alert-danger">
								<ul>
									<?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
										<li><?php echo e($error); ?></li>
									<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
								</ul>
							</div>
						<?php endif; ?>
              
              </div>
              <form action="<?php echo e(route('login')); ?>" method="post">
                <?php echo csrf_field(); ?>
                <div class="form-group first">
                  <label for="username">Username/Email</label>
                  <input type="text" class="form-control" placeholder="Key in your registered email" name="email" value="<?php echo e(old('email')); ?>" id="username" required>
                             <?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="invalid-feedback" role="alert">
                                         <strong><?php echo e($message); ?></strong>
                                    </span>
                             <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                </div>
                <div class="form-group last mb-3">
                  <label for="password">Password</label>
                  <input type="password" class="form-control" name="password" placeholder="Enter your valid password" id="password" required>
                          <?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="invalid-feedback" role="alert">
                                <strong><?php echo e($message); ?></strong>
                            </span>
                          <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                </div>
                
                <div class="d-sm-flex mb-5 align-items-center">
                  <label class="control control--checkbox mb-3 mb-sm-0"><span class="caption">Remember me</span>
                    <input type="checkbox" checked="checked"/>
                    <div class="control__indicator"></div>
                  </label>
                  <span class="ml-auto"><a href="<?php echo e(route('password.request')); ?>" class="forgot-pass">Forgot Password</a></span> 
                </div>      

                <input type="submit" value="Log In" class="btn btn-block btn-success">

              </form>
            </div>
          </div>
        </div>
      </div>
    </div>
    
  </div> 

    <script src="auth/js/jquery-3.3.1.min.js"></script>
    <script src="auth/js/popper.min.js"></script>
    <script src="auth/js/bootstrap.min.js"></script>
    <script src="auth/js/main.js"></script>
    <script type="text/javascript" src="auth/js/vanilla-tilt.js"></script>
  </body>
</html><?php /**PATH D:\2025 projects\xampp\htdocs\projects\untitled 3 DigitalCerts\resources\views/auth/login.blade.php ENDPATH**/ ?>