<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>Sign In — DLRL KRC</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="<?php echo base_url('assets/plugins/fontawesome-free/css/all.min.css'); ?>">
  <link rel="stylesheet" href="<?php echo base_url('assets/plugins/icheck-bootstrap/icheck-bootstrap.min.css'); ?>">
  <link rel="stylesheet" href="<?php echo base_url('assets/dist/css/adminlte.min.css'); ?>">
  <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
  <link rel="stylesheet" href="<?php echo base_url('assets/css/koha-report.css'); ?>">
</head>
<body class="koha-login">
  <aside class="login-aside">
    <div class="login-aside-brand">
      <div class="login-logo-badge">
        <img src="<?php echo base_url('uploads/univlogo/DLRL_logo.png'); ?>" alt="DLRL Logo">
      </div>
      <div class="login-aside-inner">
        <h1>DLRL</h1>
        <p class="aside-krc">KRC</p>
        <p class="aside-lead">Knowledge Resource Centre — Koha Reports</p>
      </div>
    </div>
    <p class="aside-foot">Defence Electronics Research Laboratory</p>
  </aside>

  <main class="login-main">
    <div class="login-shell">
      <div class="login-mobile-brand">
        <img src="<?php echo base_url('uploads/univlogo/DLRL_logo.png'); ?>" alt="DLRL" class="mobile-logo">
        <h1>DLRL</h1>
        <p>KRC</p>
      </div>
      <div class="login-panel">
        <h2>Sign in</h2>
        <p class="login-msg">Enter your credentials to access reports.</p>
        <form action="<?php echo base_url('index.php/login/index'); ?>" method="post">
          <?php
          if ($form_validation != 'No' && count((array) $form_validation)) {
              echo '<div class="alert alert-danger alert-dismissible fade show" role="alert">'
                  . $form_validation
                  . '<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button></div>';
          }
          ?>
          <div class="form-group">
            <label for="username">Username</label>
            <div class="input-group">
              <input type="text" class="form-control" id="username" name="username" required placeholder="Enter username" autocomplete="username">
              <div class="input-group-append">
                <div class="input-group-text"><span class="fas fa-user"></span></div>
              </div>
            </div>
          </div>
          <div class="form-group">
            <label for="password">Password</label>
            <div class="input-group">
              <input type="password" class="form-control" id="password" name="password" required placeholder="Enter password" autocomplete="current-password">
              <div class="input-group-append">
                <div class="input-group-text"><span class="fas fa-lock"></span></div>
              </div>
            </div>
          </div>
          <button type="submit" name="submit" value="1" class="btn btn-primary btn-login">Sign In</button>
        </form>
      </div>
    </div>
  </main>
  <script src="<?php echo base_url('assets/plugins/jquery/jquery.min.js'); ?>"></script>
  <script src="<?php echo base_url('assets/plugins/bootstrap/js/bootstrap.bundle.min.js'); ?>"></script>
  <script src="<?php echo base_url('assets/dist/js/adminlte.min.js'); ?>"></script>
</body>
</html>
