-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (52 loc) · 2.4 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<link href='https://fonts.googleapis.com/css?family=Anaheim' rel='stylesheet'>
<meta name="theme-color" content="#7b96ef" />
<meta charset="utf-8">
<!--Coded with <3 by Mohamed Al-Omairi & Ahmed Almoamen-->
<title>
B/Safe
</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css" />
<link rel="icon" href="favicon.ico">
<img id="logo" src = "bsafe_logo.png" alt = "b-safe logo" <a href= "#" onclick="window.open('https://github.com/mozyn'); window.open('https://github.com/almoamenahmed');"
</a>
</head>
<body>
<img class = "ygo" src = "favicon.ico" alt="Go to the Shadow Realm!">
<audio id = "lofi" autoplay >
<source src="lofi.mp3" type="audio/mp3">
</audio>
<button onclick = "playPauseAudio()" id="song" title ="Mute/Unmute"> Music</button>
<br>
<div class="Password-Generator">
<input type="text" id="password" size="25"/>
<button id="generate" title="Generate" >Generate </button>
<button id="copy" title="Copy" >Copy</button>
<button class="tooltip" id = "save" type="button" onclick="savePasswordtoTxt();" title="Save">Save</button>
<div id="settings">
<br>
<label for="length">Length</label>
<input class = "length_Box" type="number" id="length" value="8" min="8" max="20" />
<label for="digits">Include Numbers</label>
<input class = "check" type="checkbox" id="digits" checked />
<label for="specialChars">Include Symbols</label>
<input class = "check" type="checkbox" id="specialChars" checked />
</div>
<br>
</div>
<!--Bootstrap -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/js/bootstrap.min.js"></script>
<!-- File Saver Library -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/FileSaver.js/2.0.5/FileSaver.min.js"></script>
</body>
<div class="Password-Strength-Evaluation">
<input type="password" placeholder="Test your password strength 💪" id="userPassword"
class="form-control passwordInput" maxlength="20"/>
<i class="bi bi-eye-slash" onclick="showPass()" id="togglePassword"></i>
<span id="StrengthDisp" class="badge displayBadge">Weak</span>
</div>
<script src = "script.js"> </script>
</html>