-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
108 lines (92 loc) · 2.81 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>PasswordMaker</title>
<link rel="stylesheet" href="css/fontello.css">
<link rel="stylesheet" href="css/popup.css">
<link rel="stylesheet" href="css/standalone.css">
</head>
<body>
<h1>PasswordMaker</h1>
<form id="standalone-form">
<p>
<label for="domain"><strong>Domain</strong>:</label>
<input type="text" id="domain" autofocus="on">
</p>
<p>
<label for="master-password"><strong>Master password</strong>:</label>
<input type="password" id="master-password">
</p>
<p>
<label for="generated-password">
<span class="btn-ctn">
<button id="btn-copy" tabindex="-1" title="Copy"><i class="icon-docs"></i></button>
</span>
<strong>Generated password</strong>:<br>
<input type="text" id="generated-password" autocomplete="off">
</label>
</p>
<h2>Options</h2>
<p>
<label for="option-hash-algorithm">Hash algorithm:</label>
<select id="option-hash-algorithm"></select>
</p>
<p>
<label for="option-length">Generated passwords length:</label>
<input type="number" id="option-length" min="1" required>
</p>
<p>
<label for="option-charset">Character set:</label>
<select id="option-charset">
<option value="alpha">Alphas</option>
<option value="alphanum">Alphanumerics</option>
<option value="alphanumsym">Alphanumerics & symbols</option>
<option value="hex">Hexadecimal</option>
<option value="num">Numbers</option>
<option value="sym">Symbols</option>
<option value="custom">Custom...</option>
</select>
</p>
<p>
<label for="option-custom-charset">Custom character set:</label>
<input type="text" id="option-custom-charset">
</p>
<p>
<label for="option-use-l33t">Use l33t:</label>
<select id="option-use-l33t">
<option value="off">Never</option>
<option value="before-hashing">Before hashing</option>
<option value="after-hashing">After hashing</option>
<option value="both">Before and after hashing</option>
</select>
</p>
<p>
<label for="option-l33t-level">L33t level:</label>
<input type="number" id="option-l33t-level" min="1" max="9">
</p>
<p>
<label for="option-modifier">Modifier:</label>
<input type="text" id="option-modifier">
</p>
<p>
<label for="option-prefix">Password prefix:</label>
<input type="text" id="option-prefix">
</p>
<p>
<label for="option-suffix">Password suffix:</label>
<input type="text" id="option-suffix">
</p>
</form>
<footer>
<p>
<small>
<a href="https://github.com/emersion/passwordmaker">Source code</a>
</small>
</p>
</footer>
<script src="js/passwordmaker.js"></script>
<script src="js/values.js"></script>
<script src="js/standalone.js"></script>
</body>
</html>