-
Notifications
You must be signed in to change notification settings - Fork 65
/
index.html
108 lines (98 loc) · 4.5 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0">
<title>Vault</title>
<link rel="stylesheet" href="./lib/style.css">
</head>
<body>
<div class="nav">
<div class="sub">
<div id="message"></div>
<ul>
<li class="current"><a href="./">Home</a></li>
<li><a href="./storage.html">Storage</a></li>
<li><a href="./faq.html">FAQ</a></li>
</ul>
</div>
</div>
<div class="form">
<div class="sub">
<label for="service">Service name <span>e.g. “twitter”</span></label>
<input type="text" class="text" name="service" id="service" autocomplete="off" autocapitalize="off">
<div class="password">
<label for="passphrase">Passphrase <span>e.g. “I’m the best 17-year old ever.”</span></label>
<input type="password" class="password" name="passphrase" id="passphrase" autocomplete="off" autocapitalize="off">
<input type="text" class="text" name="passphrase-text" id="passphrase-text" autocomplete="off" autocapitalize="off">
<span class="show">
<label for="show-passphrase">Show</label>
<input type="checkbox" name="show-passphrase" id="show-passphrase">
</span>
</div>
<div class="length">
<label for="vlength">Password length <span>e.g. 12</span></label>
<input type="text" class="text" name="vlength" id="vlength" value="20" autocomplete="off" autocapitalize="off">
</div>
<div class="repeat">
<label for="repeat">Max repetition <span>e.g. 2</span></label>
<input type="text" class="text" name="repeat" id="repeat" value="" autocomplete="off" autocapitalize="off">
</div>
<div class="field">
<table>
<thead>
<tr>
<td></td>
<th scope="col">a–z</th>
<th scope="col">A–Z</th>
<th scope="col">0–9</th>
<th scope="col">- / _</th>
<th scope="col">SPACE</th>
<th scope="col">!@#$%</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">
<label for="required">Required</label>
(<input type="text" class="text" name="required" id="required" value="2" autocomplete="off" autocapitalize="off">)
</th>
<td><input type="radio" name="lower" value="required"></td>
<td><input type="radio" name="upper" value="required"></td>
<td><input type="radio" name="number" value="required"></td>
<td><input type="radio" name="dash" value="required"></td>
<td><input type="radio" name="space" value="required"></td>
<td><input type="radio" name="symbol" value="required"></td>
</tr>
<tr>
<th scope="row">Allowed</th>
<td><input type="radio" name="lower" value="allowed" checked="checked"></td>
<td><input type="radio" name="upper" value="allowed" checked="checked"></td>
<td><input type="radio" name="number" value="allowed" checked="checked"></td>
<td><input type="radio" name="dash" value="allowed" checked="checked"></td>
<td><input type="radio" name="space" value="allowed" checked="checked"></td>
<td><input type="radio" name="symbol" value="allowed" checked="checked"></td>
</tr>
<tr>
<th scope="row">Forbidden</th>
<td><input type="radio" name="lower" value="forbidden"></td>
<td><input type="radio" name="upper" value="forbidden"></td>
<td><input type="radio" name="number" value="forbidden"></td>
<td><input type="radio" name="dash" value="forbidden"></td>
<td><input type="radio" name="space" value="forbidden"></td>
<td><input type="radio" name="symbol" value="forbidden"></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="generator">
<div class="sub">
<label for="word">Generated password</label>
<input type="text" class="text" id="word" autocomplete="off" autocapitalize="off">
</div>
</div>
<script src="./vault-min.js"></script>
</body>
</html>