-
Notifications
You must be signed in to change notification settings - Fork 1
/
novasenha.html
78 lines (65 loc) · 3.13 KB
/
novasenha.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
<!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">
<link rel="stylesheet" href="./public/css/global.css">
<link rel="stylesheet" href="./public/css/novasenha.css">
<script src="https://kit.fontawesome.com/ac3cf98fe0.js" crossorigin="anonymous"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;900&family=Sen:wght@700&display=swap" rel="stylesheet">
<script src="./public/js/validacao.js"></script>
<script type="text/javascript">
function validarSenha(){
var senha = formsenha.senha.value;
var confirmarsenha = formsenha.confirmarsenha.value;
if(senha == "" || senha.length <= 5){
alert('Preencha o campo senha com minimo 6 caracteres');
formsenha.senha.focus();
return false;
}
if (senha != confirmarsenha) {
alert('Senhas diferentes');
formsenha.senha.focus();
return false;
}
}
</script>
<title>Nova senha</title>
</head>
<body>
<div class="container">
<nav>
<img src="./public/assets/logo_fatec.jpeg" alt="Logo Fatec de itaquaquecetuba" class="img_logo">
<a href="index.html" class="home">Home</a>
</nav>
<div class="containercentral">
<div class="definirsenha">
<figure class="cadeado">
<img src="./public/assets/cadeado.png" width="130px" alt="">
</figure>
<p>Redefinir Senha</p>
<form name="formsenha" action="#" method="POST">
<h5>Nova Senha</h5>
<input type="password" name="senha" id="senha" placeholder="••••••••••" class="input">
<h5>Confirme a Senha</h5>
<input type="password" name="confirmarsenha" id="confirmarsenha" placeholder="••••••••••" class="input">
</form>
<button type = "submit" class="confirmar" onclick= "return validarSenha()">Confirmar</button>
</div>
</div>
</div>
</div>
<footer>
<p>© Todos os direitos Reservados - <a href="http://fatecitaqua.edu.br/fatecitaqua/" class="fatecitaqua">Fatec Itaquaquecetuba</a></p>
<div class="social-icon">
<a href="https://www.instagram.com/fatecitaquaquecetuba/"><i class="fab fa-instagram"></i></a>
<a href="https://www.linkedin.com/company/fatec-itaquaquecetuba/"><i class="fab fa-linkedin"></i></a>
<a href="https://www.youtube.com/channel/UC6LUrLB2BOaw_J_LOHyaisA"><i class="fa fa-youtube"></i></a>
<a href="https://twitter.com/FatecItaqua"><i class="fa fa-twitter"></i></a>
</div>
</footer>
</body>
</html>