-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
148 lines (133 loc) · 4.58 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
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
<!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" />
<meta charset="UTF-8" />
<title>Password Generator</title>
<link rel="shortcut icon" type="image/x-icon" href="assets/favicon.ico" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Lato:400,900|IBM+Plex+Mono"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,600;1,500&display=swap"
/>
<link rel="manifest" href="manifest.json" />
<script src="./js/icon.js"></script>
</head>
<body>
<div class="deskPwa pwaButtonHolder" style="display: none">
<p class="pwaDesc">Password Generator app is also available!</p>
<div class="pwaButton">
<i class="far fa-sign-in insIco"></i>
<p class="insTxt">Install</p>
</div>
</div>
<div id="page" class="flex-container wrap">
<div class="flex-side">
<div class="center-content">
<h1 id="button">Password Generator</h1>
</div>
<p class="sitedesc">
The goal of this site is to generate 3 random passwords of 12
characters. The user can choose to include numbers, letters
(upper/lowercase) & symbols.
<br />
There is also an option to remove ambiguous characters. Once
generated, the passwords can be copied to the clipboard & used as
required.
</p>
<div class="center-content form">
<label class="container"
>Numbers
<input type="checkbox" id="numbers" checked="checked" />
<span class="checkmark"></span>
</label>
<label class="tip">Contains numbers : 1 2 3 ... 9 0</label>
<label class="container"
>Uppercase letters
<input type="checkbox" id="uppercases" checked="checked" />
<span class="checkmark"></span>
</label>
<label class="tip">Contains uppercase letters : A B C... Y Z</label>
<label class="container"
>Lowercase letters
<input type="checkbox" id="lowercases" checked="checked" />
<span class="checkmark"></span>
</label>
<label class="tip">Contains lowercase letters : a b ... y z</label>
<label class="container"
>Symbols
<input type="checkbox" id="symbols" checked="checked" />
<span class="checkmark"></span>
</label>
<label class="tip">Contains symbols : ! ? # $ % & * + - =</label>
<label class="container"
>Remove similar characters
<input type="checkbox" id="similars" />
<span class="checkmark"></span>
</label>
<label class="tip">No ambiguous characters : 1 l I ! 0 O Q 8 B</label>
<div>
<button id="submit-btn" class="btn submit-btn">GENERATE</button>
</div>
</div>
</div>
<div class="flex-side result">
<div class="center-results">
<div class="flex-container password-result">
<input
type="text"
id="password-1"
name="password-1"
spellcheck="false"
/>
<button
class="btn copy-btn no-wrap"
onclick="copyPassword('password-1')"
>
Copy
</button>
</div>
<div class="flex-container password-result">
<input
type="text"
id="password-2"
name="password-2"
spellcheck="false"
/>
<button
class="btn copy-btn no-wrap"
onclick="copyPassword('password-2')"
>
Copy
</button>
</div>
<div class="flex-container password-result">
<input
type="text"
id="password-3"
name="password-3"
spellcheck="false"
/>
<button
class="btn copy-btn no-wrap"
onclick="copyPassword('password-3')"
>
Copy
</button>
</div>
</div>
</div>
</div>
<footer>
<p class="copyright">© Awais 2021</p>
</footer>
<script src="js/password-generator.js"></script>
<script src="PWA\script.js"></script>
</body>
</html>