-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
84 lines (67 loc) · 4.62 KB
/
popup.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
<!DOCTYPE html>
<html>
<head>
<!-- Bootstrap stylesheet -->
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
<title>Test</title>
</head>
<body style="width: 300px; background-color:#ffffff">
<body class="container-fluid">
<div class="row">
<div class="span6" style="float: none; margin: 0 auto;">
<!-- Title -->
<div class="mt-1 d-flex justify-content-center">
<h1 style="text-align: center;">Random Password <br> Generator</h1>
</div>
<hr>
<!-- Checkbox uppercase characters -->
<div class="form-check justify-content-center">
<input id="checkboxUpper" class="form-check-input" type="checkbox" value="" id="flexCheckDefault" checked>
<label class="form-check-label" for="flexCheckDefault">Use uppercase characters</label>
</div>
<!-- Checkbox lowercase characters -->
<div class="form-check justify-content-center">
<input id="checkboxLower" class="form-check-input" type="checkbox" value="" id="flexCheckDefault" checked>
<label class="form-check-label" for="flexCheckDefault">Use lowercase characters</label>
</div>
<!-- Checkbox numbers -->
<div class="form-check justify-content-center">
<input id="checkboxNumbers" class="form-check-input" type="checkbox" value="" id="flexCheckDefault" checked>
<label class="form-check-label" for="flexCheckDefault">Use numbers</label>
</div>
<!-- Checkbox special characters -->
<div class="form-check justify-content-center">
<input id="checkboxSpecial" class="form-check-input" type="checkbox" value="" id="flexCheckDefault" checked>
<label class="form-check-label" for="flexCheckDefault">Use special characters</label>
</div>
<hr>
<!-- Range slider for password length -->
<div class="mt-1 d-flex justify-content-center">
<label class="form-label" style="color: rgb(0, 0, 0)">Password length</label>
</div>
<div class="mt-1 d-flex justify-content-center">
<input type="range" class="form-range" min="1" max="40" step="1" id="passwordLengthSlider">
</div>
<div class="mt-1 d-flex justify-content-center">
<label class="form-label" id="passwordLength">20</label>
</div>
<hr>
<!-- Text field with random generated password -->
<input id="passwordTextField" class="form-control" id="floatingInputValue">
<!-- Buttons -->
<div class="mt-2 mb-2 d-flex justify-content-center">
<button type="button" class="btn btn-primary me-2" gravity="center" id="button_generate">Generate</button>
<button type="button" class="btn btn-primary" gravity="center" id="button_copy">Copy</button>
</div>
</div>
</div>
</body>
<!-- JavaScript -->
<script type="text/javascript" src="popup.js"></script>
<!-- Bootstrap JavaScript -->
<!-- <script slrc="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script> -->
<!-- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script> -->
<!-- <script src="https://cdn.jsdeivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script> -->
</body>
</html>