<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>Log in</title>
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <link rel="stylesheet" href="<?php echo e(asset('assets/css/bootstrap.min.css')); ?>">
  <link rel="stylesheet" href="<?php echo e(asset('assets/css/font-awesome.min.css')); ?>">
  <link rel="stylesheet" href="<?php echo e(asset('assets/css/ionicons.min.css')); ?>">
  <link rel="stylesheet" href="<?php echo e(asset('assets/css/style.min.css')); ?>">
  <link rel="stylesheet" href="<?php echo e(asset('assets/css/blue.css')); ?>">
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
</head>
<!-- <body class="hold-transition login-page"> -->
<body class="hold-transition login-page" style="background-image: url(<?php echo e(asset('assets/images/igloo-login-bg.jpg')); ?>); background-repeat: no-repeat; background-size: cover;">
<div class="login-box">
  <div class="login-logo">
    <a href="#"><b>IGLOO</b> Order Management System</a>
  </div>
  <div class="login-box-body">
    <p class="login-box-msg">Sign in to start your session</p>

    <form action="<?php echo e(url('/login')); ?>" method="post">
      <?php echo e(csrf_field()); ?>

      <div class="form-group has-feedback<?php echo e($errors->has('email') ? ' has-error' : ''); ?>">
        <input type="text" class="form-control" placeholder="Username" name="email" value="<?php echo e(old('email')); ?>">
        <span class="glyphicon glyphicon-envelope form-control-feedback"></span>
        <?php if($errors->has('email')): ?>
          <span class="help-block">
            <strong><?php echo e($errors->first('email')); ?></strong>
          </span>
        <?php endif; ?>
      </div>

      <div class="form-group has-feedback<?php echo e($errors->has('password') ? ' has-error' : ''); ?>">
        <input type="password" class="form-control" placeholder="Password" name="password">
        <span class="glyphicon glyphicon-lock form-control-feedback"></span>
        <?php if($errors->has('password')): ?>
          <span class="help-block">
            <strong><?php echo e($errors->first('password')); ?></strong>
          </span>
        <?php endif; ?>
      </div>

      <div class="row">
        <div class="col-xs-8">
          <div class="checkbox icheck">
            <label>
              <input type="checkbox" name="remember"> Remember Me
            </label>
          </div>
        </div>
        <div class="col-xs-4">
          <button type="submit" class="btn btn-primary btn-block btn-flat">Sign In</button>
          <!-- <a href="<?php echo e(url('/registration')); ?>" class="btn btn-danger btn-flat">Registration</a> -->
        </div>
      </div>
      
    </form>

  </div>
</div>
<script src="<?php echo e(asset('assets/js/jquery.min.js')); ?>"></script>
<script src="<?php echo e(asset('assets/js/bootstrap.min.js')); ?>"></script>
<script src="<?php echo e(asset('assets/js/icheck.min.js')); ?>"></script>
<script>
  $(function () {
    $('input').iCheck({
      checkboxClass: 'icheckbox_square-blue',
      radioClass: 'iradio_square-blue',
      increaseArea: '20%' /* optional */
    });
  });
</script>
</body>
</html>
