-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
256 lines (213 loc) · 9.45 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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
<html>
<head>
<title> Passwordz </title>
<meta charset="utf-8">
<meta name="description" content="This web application is a random password generator">
<meta name="keywords" content="iarunava, arunava chakraborty, password generator, random">
<meta name="author" content="Arunava Chakraborty">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap 4 CSS link -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
<!-- Bootstrap 4 JS link -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js" integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js" integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ" crossorigin="anonymous"></script>
<link href="./lib/css/main.css" rel="stylesheet">
</head>
<body>
<div id="id--info-modal" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 id="id--info-modal-head" class="modal-title"></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p id="id--info-modal-body"></p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="id--about-modal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 id="id--about-modal-title" class="modal-title"> About Passwordz </h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p id="id--about-modal-body"></p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div id="snackbar"></div>
<nav id="id--main-navbar" class="navbar navbar-expand-lg navbar-light">
<a class="navbar-brand font--size-25" href="#"> <span class="color--theme font--size-28">P</span>asswordz </a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" id="button--the-copy-btn" href="#"> Copy </a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Options
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" id="id--reset-all-fields" href="#"> Reset all Fields </a>
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="#" data-toggle="modal" data-target="#id--about-modal"> About Passwordz </a>
</li>
</ul>
</div>
</nav>
<div class="container-fluid">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 div--center-in-div">
<input id="id--the-password" rows="1" cols="50">
</input>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 button--wrapper">
<button type="button" id="button--the-passwd-gen" class="btn btn-lg"> Generate! </button>
</div>
</div>
<hr id="id--the-hr-seperator"/>
</div>
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<p class="text--align-center font--size-20 text--letter-spacing-1"> <span class="color--theme font--size-25">C</span>ustomizations </p>
<!--<hr id="id--cust-undline"/>-->
</div>
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<p class="text--align-center font--size-20"> Length </p>
</div>
<div class="col-4">
<div class="input-group">
<span class="input-group-addon">
<input type="radio" id="id--random-length" aria-label="Random" name="length" checked>
<label for="id--random-length"> Random </label>
</span>
<input type="text" id="id--random-length-text" class="form-control" aria-label="Random" disabled>
</div>
</div>
<div class="col-4">
<div class="input-group">
<span class="input-group-addon">
<input type="radio" id="id--fixed-length" aria-label="Random" name="length">
<label for="id--fixed-length"> Fixed </label>
</span>
<input type="text" id="id--fixed-length-text" class="form-control" placeholder="Eg: 23" aria-label="Random" maxlength="2">
</div>
</div>
<div class="col-4">
<div class="input-group">
<span class="input-group-addon">
<input type="radio" id="id--range-length" aria-label="Random" name="length">
<label for="id--range-length"> Range </label>
</span>
<input type="text" id="id--range-length-text" class="form-control" placeholder="Eg: 12-25" aria-label="Random" maxlength="5">
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<p class="text--align-center font--size-20 margin--top-30"> Include/Exclude </p>
</div>
<div class="col-3">
<input type="radio" id="id--default-inc-exc" name="incexclude" checked> Default
</div>
<div class="col-3">
<input type="radio" id="id--custom-inc-exc" name="incexclude"> Custom
</div>
<div id="id--the-custom-selector" class="col-6">
<div class="input-group">
<span class="input-group-addon">
<input type="radio" id="id--cus-includeonly" aria-label="Random" name="custom">
<label for="id--cus-includeonly"> Include Only </label>
</span>
<input type="text" id="id--include-only-text" class="form-control" placeholder="Eg: As!3" aria-label="Random">
</div>
<div class="margin--top-20"></div>
<div>
<div class="row">
<div class="col-5">
<input type="radio" id="id--cus-justinc" name="custom"> Just Include
</div>
<div id="id--jusinc-div" class="col-7">
<div class="input-group">
<span class="input-group-addon">
<input type="checkbox" id="id--all-numbers" aria-label=""> Numbers 0-9
</span>
</div>
<div class="margin--top-10"></div>
<div class="input-group">
<span class="input-group-addon">
<input type="checkbox" id="id--all-uppercase" aria-label=""> UpperCase A-Z
</span>
</div>
<div class="margin--top-10"></div>
<div class="input-group">
<span class="input-group-addon">
<input type="checkbox" id="id--all-lowercase" aria-label=""> LowerCase a-z
</span>
</div>
<div class="margin--top-10"></div>
<div class="input-group">
<span class="input-group-addon">
<input type="checkbox" id="id--all-symbols" aria-label=""> Symbols
</span>
<input type="text" id="id--all-symbols-text" class="form-control" placeholder="Eg: !@#" aria-label="Text input with checkbox">
</div>
<div class="margin--top-10"></div>
<div class="input-group">
<span class="input-group-addon">
<input type="checkbox" id="id--and-exclude" aria-label=""> and Exclude
</span>
<input type="text" id="id--and-exclude-text" class="form-control" placeholder="Eg: w2@W" aria-label="Text input with checkbox">
</div>
</div>
</div>
</div>
<div class="margin--top-20"></div>
<div class="input-group">
<span class="input-group-addon">
<input type="radio" id="id--cus-incbut" aria-label="Random" name="custom">
<label for="id--cus-incbut"> Include all default characters but </label>
</span>
<input type="text" id="id--cus-incbut-text" class="form-control" placeholder="Eg: 2!Aq" aria-label="Random" maxlength="100">
</div>
<div class="margin--top-20"></div>
<div class="input-group">
<span class="input-group-addon">
<input type="radio" id="id--cus-incand" aria-label="Random" name="custom">
<label for="id--cus-incand"> Include all default characters and </label>
</span>
<input type="text" id="id--cus-incand-text" class="form-control" placeholder="Eg: [}]{" aria-label="Random" maxlength="100">
</div>
</div>
</div>
</div>
<footer class="footer">
<p class="text--align-center"> Made with ❤ by Arunava </p>
<p class="text--align-center"> [@iArunava] </p>
</footer>
</div>
<script src="./lib/js/main.js"></script>
</body>
</html>