-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
71 lines (68 loc) · 2.83 KB
/
index.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
<!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">
<title>Gerador de Senha</title>
<script src="passwordGenerator.js"></script>
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container" style="background-color: gray; color: whitesmoke;">
<div class="d-flex justify-content-center">
<h4 class="display-3" style="color: tomato;">Crie sua senha</h4>
</div>
<div class="d-flex justify-content-center">
<div class="col-5">
<p class="d-flex justify-content-center">Escolha a quantidade de caracteres:</p>
<div class="form-group">
<input type="range" min="8" max="30" value="8" class="form-control-range" id="sliderRange" oninput="sizeNumber()">
<span id="saida" class="d-flex justify-content-center h3 text-white">8</span></p>
</div>
<div class="row">
<div class="col">
<div class="form-check">
<input class="form-check-input" type="checkbox" id="lower">
<label class="form-check-label" for="lower">Minúsculas</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" id="upper">
<label class="form-check-label" for="upper">Maiúsculas</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" id="numeros">
<label class="form-check-label" for="numeros">Números</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" id="simbolos">
<label class="form-check-label" for="simbolos">Símbolos</label>
</div>
</div>
<div class="col align-self-center">
<div class="btn-group-vertical">
<button class="btn btn-success d-flex mb-0" onclick="botaoGerar()">Gerar Senha</button>
<button class="btn btn-success" onclick="copyPass(); limpaAlerta()">Copiar</button>
</div>
</div>
</div>
</div>
</div>
<div class="row justify-content-center display-4">
<span id="result"> </span>
</div>
<div>
<div id="statusbar" class="progress-bar-score p-0"> </div>
<div class="row alerts" >
<div class="col p-3">
<span class="h4" id="score"> </span>
</div>
<div class="col d-flex justify-content-end">
<span class="h4" style="color: gold;" id="alerta"></span>
</div>
</div>
</div>
</div>
</body>
</html>