-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
104 lines (80 loc) · 3.03 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE html>
<html lang="es">
<head>
<title>Login con PHP y MYSQL</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="shortcut icon" type="image/x-icon" href="assets/images/logo.png">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nunito+Sans:200,300,400,700,900|Roboto+Mono:300,400,500">
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="assets/css/login_regist.css">
<style type="text/css">
.backgroundFondo{
background: url('assets/images/fondo.jpg') no-repeat center top;
background-size: cover;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
</style>
</head>
<body class="backgroundFondo">
<?php
include('msjs.php');
?>
<div class="container">
<div class="world-latest-articles">
<div class="row">
<div class="col-12 col-lg-12">
<div class="form">
<div id="signup">
<h1 class="text-center" style="color: #333; font-weight: bold;">Iniciar Sesión</h1>
<form action="verificarDatos/verificar_sesion.php" method="post">
<div class="field-wrap">
<label>Correo</label>
<input type="email" name="email" required autocomplete="off"/>
</div>
<div class="field-wrap">
<label>Contraseña</label>
<input type="password" name="password" required autocomplete="off"/>
</div>
<input type="submit" class="button button-block mb-3 mt-5 miBtn mt-3" value="ENTRAR"/>
<a href="#" id="nuevaCuenta" title="Volver">Crear Cuenta..!</a>
<a href="#" id="olvidar" title="Recuperar Clave">Recuperar Clave</a>
<br><br>
</form>
</div>
<div id="recuperarclave">
<h1 class="text-center mb-5 recuperarPass">
Recuperar tu Clave
</h1>
<form action="recuperarClave.php" method="post">
<div class="field-wrap">
<label>Correo</label>
<input type="email" name="email" required autocomplete="off"/>
</div>
<input type="submit" class="button button-block miBtn mt-5" value="RECUPERAR CLAVE"/>
<a href="#" id="volver" class="mt-3 mb-4" title="Volver">Volver</a>
<br><br>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="assets/js/jquery-3.3.1.min.js"></script>
<script type="text/javascript">
$('#recuperarclave').hide();
$('#olvidar').on('click', function() {
$('#signup').hide(); //para ocultar
$("#recuperarclave").fadeIn("slow"); //mostrar
});
$('#volver').on('click', function() {
$('#recuperarclave').hide(); //para ocultar
$("#signup").fadeIn("slow"); //mostrar
});
</script>
</body>
</html>