Inicio
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
<?php require('config/start.php'); ?>
|
||||
<?php require('header.php');?>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="shadow p-3 mb-5 bg-white rounded">
|
||||
<h3 id="question">
|
||||
Ingresar al sistema:
|
||||
</h3>
|
||||
<div>
|
||||
<form action="<?php echo $_SERVER['PHP_SELF']?>" method="POST">
|
||||
<div class="form-group ">
|
||||
<label for="formGroupExampleInput">Usuario:</label>
|
||||
<input type="text" name="usuario" class="form-control" id="formGroupExampleInput" value="<?php
|
||||
echo $usuario; ?>">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="formGroupExampleInput2">Contraseña:</label>
|
||||
<div class="input-group">
|
||||
<input ID="txtPassword" name="contra" type="Password" Class="form-control">
|
||||
<div class="input-group-append" background-color="003C71">
|
||||
<button class="btn btn-primary eye" name="show_password" type="button" onclick="mostrarPassword()" title="Mostrar contraseña">
|
||||
<img id="show_password" src="img/icons/eye-solid.png" width="15px" height="15px"></button>
|
||||
</div>
|
||||
</div>
|
||||
<?php if(!$verifica) { ?>
|
||||
<br>
|
||||
<div id="inc" class="alert alert-danger" role="alert">
|
||||
Error: usuario y/o contraseña incorrecta.
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<button id="button" class="btn btn-secondary" name="ingresa" type="submit">Aceptar</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="js/hidePassword.js"></script>
|
||||
<script src="/static/js/jquery-1.12.1.js"></script>
|
||||
<script src="/static/js/bootstrap.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user