-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
150 lines (149 loc) · 5.68 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Fuerte: a strong password generator with no depenencies</title>
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<script src="//code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="//cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
<script src="dist/fuerte-lib.js"></script>
<meta property="og:image" content="assets/og.jpg">
<meta property="og:url" content="https://makepass.dev">
<meta property="og:title" content="Fuerte: a strong password generator with no dependencies">
<meta property="og:description" content="Libraries available for JavaScript and PHP, Laravel and WordPress">
<meta property="og:type" content="website">
</head>
<body>
<div class="container pt-5">
<div class="row justify-content-center">
<div class="col-12 col-md-6 col-xl-4">
<form
id="fuerte"
class="card"
>
<div class="card-body">
<div class="form-group">
<label for="password" class="sr-only">Your New Password</label>
<input
id="password"
type="text"
class="form-control"
data-fuerte="password"
style="font-family: monospace; font-size:1.2rem;"
readonly
>
</div>
<div class="form-group">
<label
for="password_type"
class="sr-only"
>
Password Type
</label>
<select
id="password_type"
class="custom-select"
data-fuerte="type"
>
<option value="memorable">Memorable</option>
<option value="random">Random</option>
<option value="pin">PIN</option>
</select>
</div>
<div class="form-group">
<label
for="password_separator_type"
class="sr-only"
>
Separator Type
</label>
<select
id="password_separator_type"
class="custom-select"
data-fuerte="separator"
>
<option value=" ">Separated by Spaces</option>
<option value="-">Separated by Hyphens</option>
<option value=".">Separated by Periods</option>
<option value=",">Separated by Commas</option>
<option value="_">Separated by Underscores</option>
<option value="0">Separated by Digits</option>
<option value="0_">Separated by Digits and Symbols</option>
</select>
</div>
<div class="form-group d-flex align-items-center">
<label
for="fuerte_size"
class="d-block small text-muted mb-0 mr-3 text-nowrap"
>
Size
</label>
<input
id="fuerte_size"
type="range"
class="custom-range mb-0"
value="0"
data-fuerte="size"
>
</div>
<div class="form-group">
<div class="custom-control custom-checkbox">
<input
type="checkbox"
class="custom-control-input"
id="fuerte_capitalize"
data-fuerte="capitalize"
>
<label
class="custom-control-label"
for="fuerte_capitalize"
>
Capitalize
</label>
</div>
<div class="custom-control custom-checkbox">
<input
type="checkbox"
class="custom-control-input"
id="fuerte_numbers"
data-fuerte="numbers"
>
<label
class="custom-control-label"
for="fuerte_numbers"
>
Numbers
</label>
</div>
<div class="custom-control custom-checkbox">
<input
type="checkbox"
class="custom-control-input"
id="fuerte_symbols"
data-fuerte="symbols"
>
<label
class="custom-control-label"
for="fuerte_symbols"
>
Symbols
</label>
</div>
</div>
<button
class="btn btn-dark btn-block"
data-fuerte="generate"
>
Generate Password
</button>
</div>
</form>
</div>
</div>
</div>
<script>
fuerte().form(document.getElementById('fuerte'))
</script>
</body>
</html>