<?php $this->load->view('backend/template/meta') ?>


<body class="hold-transition login-page">
    <div class="login-box">
        <div class="text-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>
                    <span class="sr-only">Close</span>
                </button>
                <?= $this->session->flashdata('failed'); ?>
            </div>
        <?php } ?>
        <!-- /.login-logo -->
        <div class="card">
            <div class="card-body login-card-body">
                             
                <center><img class="header-logo-image" src="<?=base_url('assets/template/backend')?>/dist/img/logo_kemenkes.png" alt="test"></center>
                <p class="login-box-msg">Dashboard RSUP Dr. Sitanala Tangerang</p>
                
                <h3 class="login-box-msg">Silahkan Masuk</h3>
                <form method="POST" action="<?= base_url('login/proses'); ?>">
                    <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 class="icheck-primary">
                                <input type="checkbox" id="remember">
                                <label for="remember">
                                    Remember Me
                                </label>
                            </div>
-->
                        </div>
                        <!-- /.col -->
                        <div class="col-4">
                            <button type="submit" class="btn btn-primary btn-block">Masuk</button>
                        </div>
                        <!-- /.col -->
                    </div>
                </form>
                <!--
                <div class="social-auth-links text-center mb-3">
                    <p>- OR -</p>
                    <a href="#" class="btn btn-block btn-primary">
                        <i class="fab fa-facebook mr-2"></i> Sign in using Facebook
                    </a>
                    <a href="#" class="btn btn-block btn-danger">
                        <i class="fab fa-google-plus mr-2"></i> Sign in using Google+
                    </a>
                </div> -->
                <!-- /.social-auth-links -->

                <!--<p class="mb-1">
                    <a href="<?=base_url('lupa_password')?>">Lupa username dan password</a>
                </p>

                <p class="mb-0">
                    <a href="https://rsup-drsitanala.net/helpdesk_isirs/login" target="_blank" class="text-center">Pendaftaran akun baru</a>
                </p>-->

            </div>
            <!-- /.login-card-body -->
            <!-- /.login-box -->
            <div class="card-footer text-muted">
                Copyright &copy; <?= date('Y'); ?> <a href="https://rsup-drsitanala.net/isirs_app_dev2023/index.html" target="_blank">RSUP Dr. Sitanala Tangerang</a>.</strong>
                All rights reserved.
            </div>
        </div>
    </div>

    <?php $this->load->view('backend/template/js.php') ?>
</body>

</html>