<!doctype html>
<html lang="en">
   <head>
      <title>login</title>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
      <link rel="stylesheet" href="<?= base_url('login/') ;?>css/style.css">
   </head>
   <body>
      <section class="mt-5">
         <div class="container">
            <div class="row justify-content-center">
               <div class="col-md-12 col-lg-10">
                  <div class="wrap d-md-flex">
                     <div class="img" style="background-image: url(images/sistem.png);">
                     </div>
                     <div class="login-wrap p-4 p-md-5">
                        <div class="d-flex">
                           <div class="w-100">
                              <h3 class="mb-4">Log In</h3>
                           </div>
                        </div>
                         <?php echo $this->session->flashdata('msg');?>
                        <form action="<?php echo site_url('login/auth');?>" method="POST">
                           <div class="form-group mb-3">
                              <label class="label" for="name">Username</label>
                              <input type="text" name="username" class="form-control" placeholder="Username" required>
                           </div>
                           <div class="form-group mb-3">
                              <label class="label" for="password">Password</label>
                              <input type="password" class="form-control" name="password" placeholder="Password" required>
                           </div>
                           <div class="form-group">
                              <button type="submit" class="form-control btn btn-primary rounded submit px-3">Sign In</button>
                           </div>
                        </form>
                        <p class="text-center"><a data-toggle="tab" href="#signup">Kembali Ke Portal</a></p>
                     </div>
                  </div>
               </div>
            </div>
         </div>
      </section>
      <script src="<?= base_url('login/') ;?>js/jquery.min.js"></script>
      <script src="<?= base_url('login/') ;?>js/popper.js"></script>
      <script src="<?= base_url('login/') ;?>js/bootstrap.min.js"></script>
      <script src="<?= base_url('login/') ;?>js/main.js"></script>
   </body>
</html>