-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathcadastro-com-validacao.html
371 lines (353 loc) · 17.3 KB
/
cadastro-com-validacao.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
<!DOCTYPE html>
<html lang="pt-br">
<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" />
<link rel="shortcut icon" href="./images/logo/GoodPay.png" type="image/x-icon" />
<link rel="stylesheet" href="./css/pagcadastro.css" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous" />
<link rel="stylesheet" href="./css/navbar-style.css">
<title>Página de Cadastro</title>
</head>
<body>
<header>
<nav class="navbar navbar-expand-lg">
<div class="container-fluid">
<a class="navbar-brand" href="#">
<img src="../images/logo/GoodPayCompletaBranca.png" alt="">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" aria-current="page" href="#">Produtos</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Investimentos</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Analisar perfil</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Blog</a>
</li>
</ul>
</div>
</div>
<div class="pesquisa-box">
<div class="dropdown text-end me-4">
<a href="#" class="d-block link-dark text-decoration-none dropdown-toggle" data-bs-toggle="dropdown"
aria-expanded="false">
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="currentColor"
class="bi bi-person-circle" viewBox="0 0 16 16">
<path d="M11 6a3 3 0 1 1-6 0 3 3 0 0 1 6 0z" />
<path fill-rule="evenodd"
d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm8-7a7 7 0 0 0-5.468 11.37C3.242 11.226 4.805 10 8 10s4.757 1.225 5.468 2.37A7 7 0 0 0 8 1z" />
</svg>
</a>
<ul class="dropdown-menu text-small">
<li><a class="dropdown-item" href="#">Configurações</a></li>
<li><a class="dropdown-item" href="#">Perfil</a></li>
<li>
<hr class="dropdown-divider">
</li>
<li><a class="dropdown-item" href="#">Sair</a></li>
</ul>
</div>
<input type="text" placeholder="Pesquise aqui..." class="form-control" id="pesquisa">
<label for="pesquisa">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-search"
viewBox="0 0 16 16">
<path
d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" />
</svg>
</label>
</div>
</nav>
</header>
<div class="container">
<form name="formuser" class="col g-3 needs-validation" novalidate>
<h2>Crie sua conta!</h2>
<div class="linha"></div>
<div class="col-md-7">
<label for="usuario" class="form-label"></label>
<input type="text" class="form-control" placeholder="Usuario" id="usuario" required />
</div>
<div class="col-md-7">
<label for="email" class="form-label"></label>
<input type="email" class="form-control" placeholder="E-mail" id="email" required />
</div>
<!-- usar o on-focus para comparar as senhas -->
<div class="col-md-7">
<label for="password" class="form-label"></label>
<input type="password" class="form-control" placeholder="Senha" id="password" required />
</div>
<!-- usar o onfocus para verificar senhas iguais -->
<div class="col-md-7">
<label for="passwordConf" class="form-label"></label>
<input type="password" class="form-control" name="password" placeholder="Confirmar senha" id="passwordConf"
required />
</div>
<div class="col-md-7">
<div class="form-check">
<input class="form-check-input" type="checkbox" name="passwordConf" value="" id="invalidCheck" required />
<label class="form-check-label" for="invalidCheck">
Declaro que li e estou de acordo com os
<a href="">Termos e Condições de uso.</a>
</label>
<div class="invalid-feedback">
Você deve confirmar antes de prosseguir.
</div>
</div>
</div>
<div class="col-7">
<button class="btn cor col-md-12" type="submit" id="buttonCadastro" onclick="confereSenha()">
Cadastrar
</button>
</div>
<div class="col-md-7">
<div class="form-check">
<p>Já é cadastrado? <a href="">Faça seu login</a></p>
</div>
</div>
</form>
<img src="./images/quadrado/2.png" class="imagem-esquerda" alt="imagem goodpay" />
</div>
<div id="container23">
<div class="row row-cols-1 row-cols-md-3 g-4 center justify-center-space-evelyn d-flex" id="cards">
<div class="col">
<div class="card">
<img src="./images/quadrado/3.png" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Promoção</h5>
<p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional
content. This content is a little bit longer.</p>
<!-- Button trigger modal -->
<div class="d-grid gap-2">
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#janelModal">Saiba
mais</button>
</div>
<!-- Modal -->
<div id="janelModal" class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="exampleModalLabel">Modal title</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Nostrum qui officiis, magnam unde at
maxime quae animi facilis consectetur enim culpa est beatae mollitia harum, quaerat maiores nemo
quos. At?</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Aproveite Agora</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col">
<div class="card">
<img src="./images/quadrado/4.png" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Promoção</h5>
<p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional
content. This content is a little bit longer.</p>
<div class="d-grid gap-2">
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#janelModal">Saiba
mais</button>
</div>
<!-- Modal -->
<div id="janelModal" class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="exampleModalLabel">Modal title</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Nostrum qui officiis, magnam unde at
maxime quae animi facilis consectetur enim culpa est beatae mollitia harum, quaerat maiores nemo
quos. At?</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Aproveite Agora</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col">
<div class="card">
<img src="./images/quadrado/5.png" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional
content. This content is a little bit longer.</p>
<!-- Button trigger modal -->
<div class="d-grid gap-2">
<button type="button" class="btn btn-primary" data-bs-toggle="modal"
data-bs-target="#janelModal">Aproveite Agora</button>
</div>
<!-- Modal -->
<div id="janelModal" class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="exampleModalLabel">Modal title</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Nostrum qui officiis, magnam unde at
maxime quae animi facilis consectetur enim culpa est beatae mollitia harum, quaerat maiores nemo
quos. At?</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Aproveite Agora</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col">
<div class="card">
<img src="./images/quadrado/6.png" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional
content. This content is a little bit longer.</p>
<!-- Button trigger modal -->
<div class="d-grid gap-2">
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#janelModal">Saiba
mais</button>
</div>
<!-- Modal -->
<div id="janelModal" class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="exampleModalLabel">Modal title</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Nostrum qui officiis, magnam unde at
maxime quae animi facilis consectetur enim culpa est beatae mollitia harum, quaerat maiores nemo
quos. At?</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Aproveite Agora</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col">
<div class="card">
<img src="./images/quadrado/7.png" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Promoção</h5>
<p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional
content. This content is a little bit longer.</p>
<!-- Button trigger modal -->
<div class="d-grid gap-2">
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#janelModal">Saiba
mais</button>
</div>
<!-- Modal -->
<div id="janelModal" class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="exampleModalLabel">Modal title</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Nostrum qui officiis, magnam unde at
maxime quae animi facilis consectetur enim culpa est beatae mollitia harum, quaerat maiores nemo
quos. At?</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Aproveite Agora</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col">
<div class="card">
<img src="./images/quadrado/8.png" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Promoção</h5>
<p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional
content. This content is a little bit longer.</p>
<!-- Button trigger modal -->
<div class="d-grid gap-2">
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#janelModal">Saiba
mais</button>
</div>
<!-- Modal -->
<div id="janelModal" class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="exampleModalLabel">Modal title</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Nostrum qui officiis, magnam unde at
maxime quae animi facilis consectetur enim culpa est beatae mollitia harum, quaerat maiores nemo
quos. At?</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary"><a href="">Save changes</a></button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN"
crossorigin="anonymous"></script>
<script src="./scripts/cadastroComValidacao.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/masonry.pkgd.min.js"
integrity="sha384-GNFwBvfVxBkLMJpYMOABq3c+d3KnQxudP/mGPkzpZSTYykLBNsZEnG2D9G/X/+7D" crossorigin="anonymous"
async></script>
<!-- fim dos card -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/
js/bootstrap.bundle.min.js" integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB
+EYdgRZgiwxhTBTkF7CXvN" crossorigin="anonymous"></script>
<script src="./scripts/cadastroComValidacao.js"></script>
</body>
</html>