-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
102 lines (92 loc) · 4.42 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Password Generator</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<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=Inter&family=Karla:wght@500;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
<link rel="stylesheet" href="assets/css/index.css">
<link rel="stylesheet" href="assets/css/colorTheme.css">
</head>
<body>
<main>
<div class="theme-setting" style="text-align: end;">
<button id="theme-select" class="theme-select"><img class="color-theme-icon" src="assets/icons/color-theme.svg" width="20">Theme</button>
<ul id="themes" class="themes">
<li>
<button id="light" class="theme">
<img id="light-icon" class="light-icon theme-icon" src="assets/icons/icons8-sun-50.png" alt="sun" width="25">
</button>
</li>
<li>
<button id="dark" class="theme">
<img id="dark-icon" class="dark-icon theme-icon" src="assets/icons/icons8-crescent-moon-50.png" alt="moon" width="25">
</button>
</li>
<li>
<button id="system" class="theme">
<img id="system-icon" class="system-icon theme-icon" src="assets/icons/icons8-operating-system-50.png" alt="system" width="25">
</button>
</li>
</ul>
</div>
<header>
<h1 class="title">Generate a <span class="highlight">random password</span></h1>
<p class="subtitle">Never use an insecure password again.</p>
</header>
<div class="password-characteristics">
<div class="pswd-length pswd-length-container">
<div class="set-pswd-length">
<img id="up-arrowhead" class="arrowhead up" src="assets/icons/up-arrow.png">
<p>Set Password Length</p>
<img id="down-arrowhead" class="arrowhead down" src="assets/icons/down-arrow.png">
</div>
<div>
<div id="pswd-length-number" class="pswd-length-number">8</div>
</div>
</div>
<div class="include-numbers">
<div class="include-numbers-container">
<label for="include-numbers">Include numbers?</label>
<input type="checkbox" id="include-numbers">
</div>
</div>
<div class="include-special-chars">
<div class="include-special-chars-container">
<label for="include-special-chars">Include special characters?</label>
<input type="checkbox" id="include-special-chars">
</div>
</div>
</div>
<div class="generate-password-container">
<button id="generate-passwords-btn" class="generate-passwords-btn">Generate passwords</button>
</div>
<hr>
<div class="passwords-container">
<div class="password-wrapper">
<div class="password password-1" id="password-1"></div>
<div class="copy-icon-wrapper">
<img src="assets/icons/icons8-copy-24.png" class="copy-icon" alt="copy icon">
<span class="tooltiptext">Click to copy password</span>
</div>
</div>
<div class="password-wrapper">
<div class="password password-2" id="password-2"></div>
<div class="copy-icon-wrapper">
<img src="assets/icons/icons8-copy-24.png" class="copy-icon" alt="copy icon">
<span class="tooltiptext">Click to copy password</span>
</div>
</div>
</div>
<footer>
© Urvish Patel
</footer>
</main>
<script src="assets/javascript/settingPasswordLength.js"></script>
<script src="assets/javascript/generatePassword.js"></script>
<script src="assets/javascript/copyPassword.js"></script>
<script src="assets/javascript/colorTheme.js"></script>
</body>
</html>