<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>Supporte Agronegócios | Log in</title>
  <link rel="shortcut icon" href="<?=$base;?>/assets/images/favicon.ico" />
  <!-- Tell the browser to be responsive to screen width -->
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <!-- Font Awesome -->
  <link rel="stylesheet" href="<?=$base;?>/admin_lte/plugins/fontawesome-free/css/all.min.css">

  <link rel="stylesheet" href="<?=$base;?>/admin_lte/plugins/icheck-bootstrap/icheck-bootstrap.min.css">
  <!-- Theme style -->
  <link rel="stylesheet" href="<?=$base;?>/admin_lte/dist/css/adminlte.min.css">

  <link rel="stylesheet" type="text/css" href="<?=$base;?>/assets/css/login.css">
</head>
<body class="hold-transition login-page">
<div class="login-box">
  <div class="login-logo">
    <img src="<?=$base;?>/assets/images/logo_login.jpg">
    <!-- <span><b>Supporte</b> Agronegócios</span> -->
  </div>
  <!-- /.login-logo -->
  <div class="card">
    <div class="card-body login-card-body">
      <p class="login-box-msg">Faça login para prosseguir</p>

      <!-- Message -->
      
      <?php if(!empty($flash)): ?>
        <div class="alert <?php echo $flash_type ?>"><?php echo $flash; ?></div>
      <?php endif; ?>

      <!-- /Message -->

      <form method="POST" action="<?=$base;?>/login">
        <div class="input-group mb-3">
          <input type="email" class="form-control" placeholder="E-mail" name="email">
          <div class="input-group-append">
            <div class="input-group-text">
              <span class="fas fa-envelope"></span>
            </div>
          </div>
        </div>
        <div class="input-group mb-3">
          <input type="password" class="form-control" placeholder="Senha" name="password">
          <div class="input-group-append">
            <div class="input-group-text">
              <span class="fas fa-lock"></span>
            </div>
          </div>
        </div>
        <div class="row">
          <div class="col-8">
            <div class="icheck-primary">
              <input type="checkbox" id="remember">
              <label for="remember">
                Lembre-me
              </label>
            </div>
          </div>
          <!-- /.col -->
          <div class="col-4">
            <button type="submit" class="btn btn-primary btn-block">Acessar</button>
          </div>
          <!-- /.col -->
        </div>
      </form>

      <p class="mb-1">
        <a href="<?=$base;?>/forgot">Esqueci minha senha</a>
      </p>
    </div>
  </div>
</div>

<!-- jQuery -->
<script src="<?=$base;?>/admin_lte/plugins/jquery/jquery.min.js"></script>

<script src="<?=$base;?>/assets/js/login.js"></script>
<!-- Bootstrap 4 -->
<script src="<?=$base;?>/admin_lte/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- AdminLTE App -->
<script src="<?=$base;?>/admin_lte/dist/js/adminlte.min.js"></script>

</body>
</html>