-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.php
62 lines (59 loc) · 2.49 KB
/
login.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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="css/login.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login</title>
</head>
<body>
<header>
<nav class="nav">
<a class="nav" href="Home.php"><img class="logo" src="img/logo.png" alt=""></a>
<ul class="login">
<li>
<a class="registro" href="registro.php">Crear una cuenta</a>
</li>
</ul>
</nav>
</header>
<section>
<h1>BIENVENIDO!</h1>
<h2>Ingresá tus datos</h2>
<form class="contenedor-form" action="" method="post">
<div class="formulario">
<label class="formulario" for="email">Email:</label>
<br>
<?php if (isset($errores["email"])) : ?>
<input class="email error" type="email" name="email" id="email" value="" placeholder="ingrese su e-mail" required>
<p class="mensaje-error">
<?=$errores["email"]?>
</p>
<?php else : ?>
<input class="email" type="email" name="email" id="email" value="" placeholder="ingrese su e-mail" required>
<?php endif ; ?>
</div>
<div class="formulario">
<label class="formulario" for="password">Contraseña:</label>
<br>
<?php if (isset($errores["password"])) : ?>
<input class="password error" type="password" name="password" id="password" value="" placeholder="ingrese su contraseña" required>
<p class="mensaje-error">
<?=$errores["password"]?>
</p>
<?php else : ?>
<input class="password" type="password" name="password" id="password" value="" placeholder="ingrese su contraseña" required>
<?php endif ; ?>
</div>
<p class="sin-registro">¿No tenes usuario creado? Hacé click <a class="sin-registro" href="registro.php">aquí</a> para crear uno.</p>
<div class="recordarme">
<input class="recordarme" type="checkbox" name="recordarme" value="r">
<span class="recordarme">Recordarme</span>
</div>
<div class="boton">
<button class="botones" type="submit" name="aceptar">Ingresar</button>
</div>
</form>
</section>
</body>
</html>