
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title><?= $title ?></title>


  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=falladmin_css">
  <link rel="stylesheet" href="<?php echo admin_css(); ?>plugins/fontawesome-free/css/all.min.css">
  <link rel="stylesheet" href="<?php echo admin_css(); ?>plugins/icheck-bootstrap/icheck-bootstrap.min.css">
  <link rel="stylesheet" href="<?php echo admin_css(); ?>dist/css/adminlte.min.css">
  <link rel="stylesheet" href="<?php echo admin_css(); ?>dist/css/custom.css">
</head>
<body class="hold-transition login-page">
  <div class="login-box">
    <div class="login-logo">
      <a href="<?php echo base_url(); ?>"><b><?php echo $app_setting->application_name?></b></a>
    </div>
    <div class="card">
      <div class="card-body login-card-body">
        <p class="login-box-msg">You forgot your password? Here you can easily retrieve a new password.</p>

        <?php echo form_open(base_url().'/request_password');?>
          <div class="input-group mb-3">
            <input type="email" class="form-control" placeholder="Email" name="email" required>
            <div class="input-group-append">
              <div class="input-group-text">
                <span class="fas fa-envelope"></span>
              </div>
            </div>
          </div>
          <div class="row">
            <div class="col-12">
              <button type="submit" class="btn btn-primary btn-block">Request new password</button>
            </div>
            <!-- /.col -->
          </div>
        <?php echo form_close();?>

        <p class="mt-3 mb-1">
          <a href="<?php echo base_url()?>/login">Login</a>
        </p>
        
      </div>
    </div>
  </div>
<?php $uri = service('uri'); ?>
<script type="text/javascript">
  var base_url = "<?php echo base_url(); ?>";
  var uri = "<?php echo $uri->getSegment(1); ?>";
</script>
<script src="<?php echo admin_css(); ?>plugins/jquery/jquery.min.js"></script>
<script src="<?php echo admin_css(); ?>plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="<?php echo admin_css(); ?>dist/js/adminlte.min.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.3.0/firebase-app.js" defer></script>
<script src="https://www.gstatic.com/firebasejs/8.3.0/firebase-analytics.js" defer></script>
<script defer src="https://www.gstatic.com/firebasejs/7.19.0/firebase-auth.js" defer></script>
<script src="<?php echo admin_css(); ?>dist/js/custom.js"></script>
</body>
</html>
