<!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">
  <title>iDoor</title>
  <link rel="stylesheet" href="<?php echo base_url('assets'); ?>/vendors/typicons/typicons.css">
  <link rel="stylesheet" href="<?php echo base_url('assets'); ?>/vendors/css/vendor.bundle.base.css">
  <link rel="stylesheet" href="<?php echo base_url('assets'); ?>/css/vertical-layout-light/style.css">
  <!-- endinject -->
  <link rel="shortcut icon" href="<?php echo base_url('assets'); ?>/idoor.png" />
  <style type="text/css">
        .auth .brand-logo img {
         width: 70px !important;
        }
        .bg-theme{
            background-color:#a0dbef;
            border-color: #a0dbef; 
            box-shadow: none !important; color: black;           
        }
        .bg-theme:hover, .bg-theme:focus, .bg-theme:not(:disabled):not(.disabled):active {
            background-color:#a0dbef;
            border-color: #a0dbef;
            color: black;
        }
  </style>
</head>

<body>
  <div class="container-scroller">
    <div class="container-fluid page-body-wrapper full-page-wrapper">
      <div class="content-wrapper d-flex align-items-center auth px-0">
        <div class="row w-100 mx-0">
          <div class="col-lg-4 mx-auto">
            <div class="auth-form-light text-center py-5 px-4 px-sm-5">
              <div class="brand-logo">
                <img src="<?php echo base_url('assets'); ?>/idoor.png" class="center" alt="logo">
              </div>
               <?php $this->load->helper('form'); ?>
                <div class="row">
                    <div class="col-md-12">
                        <?php echo validation_errors('<div class="alert alert-danger alert-dismissable">', '<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button></div>'); ?>
                    </div>
                </div>
                <?php
                $error = $this->session->flashdata('error');
                if($error)
                {
                    ?>
                    <div class="alert alert-danger alert-dismissable">
                        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
                        <?php echo $error; ?>                    
                    </div>
                <?php }
                ?>
              <h4>Hello! let's get started</h4>
              <h6 class="font-weight-light">Sign in to continue.</h6>
              <form class="pt-3" method="POST" action="<?php echo base_url('admin/Login/loginMe'); ?>">
                <div class="form-group">
                  <input type="email" name="email" id="email" class="form-control form-control-lg"  placeholder="Email">
                </div>
                <div class="form-group">
                  <input type="password" name="password" id="password" class="form-control form-control-lg"  placeholder="Password">
                </div>
                <div class="mt-3">
                  <input type="submit" class="btn text-black bg-theme btn-block btn-primary btn-lg font-weight-medium auth-form-btn" id="sign_button" value="SIGN IN"></input>
                </div>
                <!-- <div class="my-2 d-flex justify-content-between align-items-center">
                  <div class="form-check">
                    <label class="form-check-label text-muted">
                      <input type="checkbox" class="form-check-input">
                      Keep me signed in
                    </label>
                  </div>
                  <a href="#" class="auth-link text-black">Forgot password?</a>
                </div>
                <div class="mb-2">
                  <button type="button" class="btn btn-block btn-facebook auth-form-btn">
                    <i class="typcn typcn-social-facebook mr-2"></i>Connect using facebook
                  </button>
                </div>
                <div class="text-center mt-4 font-weight-light">
                  Don't have an account? <a href="register.html" class="text-primary">Create</a>
                </div> -->
              </form>
            </div>
          </div>
        </div>
      </div>
      <!-- content-wrapper ends -->
    </div>
    <!-- page-body-wrapper ends -->
  </div>
  <!-- container-scroller -->
  <!-- base:js -->
  <script src="<?php echo base_url('assets'); ?>/vendors/js/vendor.bundle.base.js"></script>
  <!-- endinject -->
  <!-- inject:js -->
  <script src="<?php echo base_url('assets'); ?>/js/off-canvas.js"></script>
  <script src="<?php echo base_url('assets'); ?>/js/hoverable-collapse.js"></script>
  <script src="<?php echo base_url('assets'); ?>/js/template.js"></script>
  <script src="<?php echo base_url('assets'); ?>/js/settings.js"></script>
  <script src="<?php echo base_url('assets'); ?>/js/todolist.js"></script>
  <!-- endinject -->
  <!-- Toaster CSS AND JS-->
  <link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/toaster/'); ?>/toastr.min.css">
  <script type="text/javascript" src="<?php echo base_url('assets/toaster/'); ?>/toastr.min.js"></script>
  <script type="text/javascript" src="<?php echo base_url('assets/toaster/'); ?>/toaster_config.js"></script>  
</body>

</html>
