blob: 0cee61d74f2ffbae3cf4fbb028787665c9e1427a (
plain)
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
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link type="text/css" rel="stylesheet" href="/bulma.min.css">
<title>Password generator</title>
</head>
<body>
<div class='container hero is-fullheight'>
<section class="section">
<div class="container">
<div class="columns is-centered">
<div class="column is-half">
<div class="field">
<div class="control">
<h1 class="title">
Password Generator
</h1>
</div>
</div>
<div class="field">
<div class="control" >
<textarea class="textarea is-primary is-size-3 has-text-success" readonly id="password">
password
</textarea>
</div>
</div>
<div class="field">
<div class="control">
<button class="button is-link" id="copy">copy</button>
</div>
</div>
<div class="field">
<div class="control">
<input id="size" class="input" type="number" placeholder="Text input" value="32">
</div>
</div>
<div class="field">
<div class="control">
<label class="checkbox">
<input id="upperCase" type="checkbox">
Upper-case letters
</label>
</div>
</div>
<div class="field">
<div class="control">
<label class="checkbox">
<input id="lowerCase" type="checkbox">
Lower-case letters
</label>
</div>
</div>
<div class="field">
<div class="control">
<label class="checkbox">
<input id="number" type="checkbox">
Numbers
</label>
</div>
</div>
<div class="field">
<div class="control">
<label class="checkbox">
<input id="special" type="checkbox">
Special characters
</label>
</div>
</div>
<div class="field">
<div class="control">
<label class="checkbox">
<input id="extended" type="checkbox">
Extended ASCII
</label>
</div>
</div>
<div class="field">
<div class="control">
<button class="button is-primary" id="generate">Generate</button>
</div>
</div>
</div>
</div>
</div>
</section>
<footer class="footer" style="padding: 10px">
<div class="content has-text-centered mt-auto">
<a href="https://git.sr.ht/~gabrielgio/genpass">source code</a>
</div>
</footer>
</div>
<script src="./bootstrap.js"></script>
</body>
</html>
|