<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Inicio de Sesión</title>
    <!--CSS-->
    <link rel="stylesheet" href="../static/lib/bootstrap-4.6.0/css/bootstrap.min.css"/>
    <link rel="stylesheet" href="../static/lib/fontawesome-6.1.1/css/all.min.css"/>
    <link rel="stylesheet" href="../static/lib/jquery-ui-1.12.1/jquery-ui.css"/>
    <link rel="stylesheet" href="style.css">
    <!--Javascript-->
    <script src="../static/lib/bootstrap-4.6.0/js/jquery.min.js"></script>
    <script src="../static/lib/jquery-ui-1.12.1/jquery-ui.min.js"></script>
    <script src="../static/lib/bootstrap-4.6.0/js/popper.min.js"></script>
    <script src="../static/lib/bootstrap-4.6.0/js/bootstrap.min.js"></script>
    <script src="../static/lib/adminlte-3.2.0/js/adminlte.min.js"></script>

    <!--Template-->
    <link rel="stylesheet" href="../static/lib/adminlte-3.2.0/css/adminlte.css"/>
    
    <!--Libs-->
    <script src="../static/lib/bootstrap-daterangepicker-3.1/js/moment.min.js"></script>
    <script src="../static/lib/bootstrap-daterangepicker-3.1/js/moment-with-locales.js"></script>
    <script src="../static/lib/jquery-confirm-3.3.4/js/jquery-confirm.min.js"></script>
    <link rel="stylesheet" href="../static/lib/jquery-confirm-3.3.4/css/jquery-confirm.min.css"/>
    <script src="../static/lib/sweetalert2-11.0.16/js/sweetalert2.all.min.js"></script>
    <link rel="../stylesheet" href="static/lib/sweetalert2-11.0.16/css/sweetalert2.min.css"/>
    <script src="../static/lib/jquery-loading-overlay-2.1.7/js/loadingoverlay.min.js"></script>
    <script src="../static/js/functions.js"></script>
    <link rel="stylesheet" href="../static/lib/formvalidation-1.9.0/css/formValidation.min.css">
    <script src="../static/lib/formvalidation-1.9.0/js/es6-shim.min.js"></script>
    <script src="../static/lib/formvalidation-1.9.0/js/FormValidation.min.js"></script>
    <script src="../static/lib/formvalidation-1.9.0/js/plugins/Bootstrap.min.js"></script>
    <script src="../static/lib/formvalidation-1.9.0/js/locales/es_ES.min.js"></script>
</head>
<style>
    .logo {
      width: 250px;
      display: block;
      margin: 0 auto ;
    }
</style>
<body class="hold-transition login-page">
    <div class="login-box">
        <div class="login-box-body">
            <div class="card">
                <div class="card-body login-card-body">
                    <div class="contact-image">
                    <img  src="../files/camposanto.jpg" class="logo">
                    </div>
                    <br>
                    <p class="login-box-msg">Inicio de Sesión</p>
                    <form method="post" id="frmAcceso" autocomplete="off" action="">

                        <div class="form-group">
                            <label for="username">Nombre de usuario:</label>
                            <input type="text" id="username" name="username" class="form-control" placeholder="Ingrese su usuario" required>
                        </div>

                        <div class="form-group">
                            <label for="password">Contraseña:</label>
                            <div class="input-group">
                                <input type="password" id="password" name="password" class="form-control" placeholder="Ingrese password" required>
                                <div class="input-group-append">
                                    <button class="btn btn-primary btnShowPassword btn-flat" type="button">
                                        <i class="fas fa-eye"></i>
                                    </button>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-lg-12">
                                <button type="submit" class="btn btn-primary btn-block btn-flat">
                                    <i class="fas fa-sign-in-alt"></i> Ingresar
                                </button>
                            </div>
                        </div>
                    </form>

                    <p class="mt-3 text-center desc">
                        Si has olvidado tu contraseña <a href="#">da click aquí <i class="fas fa-key"></i></a>
                    </p>
                </div>
            </div>
        </div>
    </div>

    <script type="application/javascript">
        // Simulación de manejo de errores (reemplazar con lógica de backend si es necesario)
        var errors = ''; // Sustituye con los errores reales
        if (errors) {
            alert(errors); 
        }
    </script>
    <script src="login.js" defer></script> 
</body>
</html>