-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
85 lines (80 loc) · 4.57 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Web site created using create-react-app" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<link rel="stylesheet" href="./index.css" />
<title>P4SSW0RD-G3N3R4T0R</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="img">
<div id="root" class="wrapper">
<div class="container" id="root">
<div class="row justify-content-center">
<button type="button" id="btnGenerate" class="btn btn-primary w-100 mt-5">Generate Random Password</button>
<div>
<div class="justify-content-around mt-5 text-center">
<label class="button w-100 mt-2 text-center">Number of Characters (min 9 | max 9216)</label>
<input type="number" class="text-center" id="length" min="9" max="9216" value="9">
</div>
<div class="row">
<div class="row w-100">
<div class="col">
<label class="button w-100 mt-2 text-center">Lower case letters</label>
</div>
<div class="col">
<button type="button" id="lowerCaseVal" class="btn btn-dark w-100 mt-2">True</button>
</div>
</div>
<div class="row w-100">
<div class="col">
<label class="button w-100 mt-2 text-center">Upper case letters</label>
</div>
<div class="col">
<button type="button" id="upperCaseVal" class="btn btn-dark w-100 mt-2">True</button>
</div>
</div>
<div class="row w-100">
<div class="col">
<label class="button w-100 mt-2 text-center">Numbers</label>
</div>
<div class="col">
<button type="button" id="numberVal" class="btn btn-dark w-100 mt-2">True</button>
</div>
</div>
<div class="row w-100">
<div class="col">
<label class="button w-100 mt-2 text-center">Special characters</label>
</div>
<div class="col">
<button type="button" id="specialCharVal" class="btn btn-dark w-100 mt-2">True</button>
</div>
</div>
</div>
</div>
</div>
<div class="row mt-5 justify-content-around">
<input type="text" placeholder="No Password Generated" class="w-100 text-center mt-2" id="password" disabled/>
<button type="button" id="btnCopy" class="btn btn-primary mt-3 w-75">Copy</button>
</div>
</div>
</div>
</div>
<footer class="page-footer font-small cyan darken-3">
<div id="footer">
<div class="container">
<div class="text-center">
<p style="text-align: center"> Copyright © 2020-<script>document.write(new Date().getFullYear())</script> <a href="https://github.com/D3u64l10n">D3u64l10n</a> All Rights Reserved.</p>
</div>
</div>
</div>
</footer>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
<script src="./PassGenerator.js"></script>
</body>
</html>