
<?php $this->load->view('templates/header');?>
    <div class="login-box">
        <div class="text-align:center;">
         
        </div>
        <div class="login-logo ">
        <!--    <a href="#"><b>Aset </b>RS</a>--> 
        </div>
        <?php if (!empty($this->session->flashdata('failed'))) { ?>
            <div class="alert alert-danger alert-dismissible fade show" role="alert">
                <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                    <sapan class="sr-only">Close</span>
                </button>
                <?= $this->session->flashdata('failed'); ?>
            </div>
        <?php } ?>
        <!-- /.login-logo -->
        <div class="card " >
            <div class="row" >
                <div class="col-4">

                </div>
                <div class="col-4">
                <div class="card-body login-card-body ">
                <form method="POST" action="<?= base_url('login/proses'); ?>">
                <br> <h2> <p style="text-align: center;">
                   Silahkan Login 
                </p></h2>
                    <div class="input-group mb-3">
                        <input type="text" name="user" id="user" class="form-control" placeholder="Username" required>
                        <div class="input-group-append">
                            <div class="input-group-text">
                                <span class="fas fa-user"></span>
                            </div>
                        </div>
                    </div>
                    <div class="input-group mb-3"  >
                        <input type="password" name="pass" id="pass" class="form-control" placeholder="Password" required>
                        <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>
                        <!-- /.col -->
                        <div class="col-4" >
                            <button type="submit" class="btn btn-primary btn-block">Masuk</button>
                        </div>
                        <!-- /.col -->
                    </div>
                </form>
            </div>

                </div>
            </div>
          

        </div>
    </div>
    <?php // $this->load->view('templates/footer');?>
</body>

</html>