-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.html
121 lines (107 loc) · 5.09 KB
/
login.html
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Font Awesome -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet" />
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet" />
<!-- MDB -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/6.0.0/mdb.min.css" rel="stylesheet" />
<!-- Hoja de Estilos -->
<link rel="stylesheet" href="css/style.css">
<title>LoginApp</title>
</head>
<body>
<section class="vh-100">
<div class="container-fluid h-custom">
<div class="row d-flex justify-content-center align-items-center h-100">
<div class="col-md-9 col-lg-6 col-xl-5">
<img src="https://mdbcdn.b-cdn.net/img/Photos/new-templates/bootstrap-login-form/draw2.webp" class="img-fluid"
alt="Sample image">
</div>
<div class="col-md-8 col-lg-6 col-xl-4 offset-xl-1">
<form id="login-form">
<div class="d-flex flex-row align-items-center justify-content-center justify-content-lg-start">
<p class="lead fw-normal mb-0 me-3">Inicia Sesión Con</p>
<button type="button" class="btn btn-primary btn-floating mx-1" id="fb-login">
<i class="fab fa-facebook-f"></i>
</button>
<button type="button" class="btn btn-primary btn-floating mx-1" id="twitterlogin">
<i class="fab fa-twitter"></i>
</button>
<button type="button" class="btn btn-primary btn-floating mx-1" id="googlelogin">
<i class="fab fa-google"></i>
</button>
</div>
<div class="divider d-flex align-items-center my-4">
<p class="text-center fw-bold mx-3 mb-0">O</p>
</div>
<!-- Email input -->
<div class="form-outline mb-4">
<input type="email" id="login-email" class="form-control form-control-lg"
placeholder="Ingresa un email válido" />
<label class="form-label" for="form3Example3">Correo Electrónico</label>
</div>
<!-- Password input -->
<div class="form-outline mb-3">
<input type="password" id="login-password" class="form-control form-control-lg"
placeholder="Ingresa tu contraseña" />
<label class="form-label" for="form3Example4">Contraseña</label>
</div>
<div class="d-flex justify-content-between align-items-center">
<!-- Checkbox -->
<div class="form-check mb-0">
<input class="form-check-input me-2" type="checkbox" value="" id="form2Example3" />
<label class="form-check-label" for="form2Example3">
Recordar
</label>
</div>
<a href="#!" class="text-body">¿Olvidaste tu contraseña?</a>
</div>
<div class="text-center text-lg-start mt-4 pt-2">
<button type="submit" class="btn btn-primary btn-lg"
style="padding-left: 2.5rem; padding-right: 2.5rem;">Login</button>
<p class="small fw-bold mt-2 pt-1 mb-0">¿No tienes una cuenta? <a href="#signupModal" class="link-danger"
data-mdb-toggle="modal" data-mdb-target="#signupModal">Registrate</a></p>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- Modal -->
<div class="modal fade" id="signupModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Formulario de Registro</h5>
<button type="button" class="btn-close" data-mdb-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<form id="signup-form">
<!-- Email input -->
<div class="form-outline mb-4">
<input type="email" id="signup-email" class="form-control" placeholder="Ingresa un email" required />
<label class="form-label" for="form2Example1">Email</label>
</div>
<!-- Password input -->
<div class="form-outline mb-4">
<input type="password" id="signup-password" class="form-control" placeholder="Ingresa una contraseña"
required />
<label class="form-label" for="form2Example2">Contraseña</label>
</div>
<!-- Button Submit -->
<button type="submit" class="btn btn-primary">Registrar</button>
</form>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/4.1.0/mdb.min.js"></script>
<script type="module" src="./js/main.js"></script>
<script type="module" src="./js/config.js"></script>
</body>
</html>