-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
577 lines (547 loc) · 23.3 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
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta tags -->
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
name="viewport"
/>
<meta name="viewport" content="width=device-width" />
<!--Font Awsome-->
<link
rel="stylesheet"
href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css"
integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p"
crossorigin="anonymous"
/>
<!-- Favicon and title -->
<link rel="icon" href="assets/img/locked.svg" />
<title>PW-Manager by thorbino</title>
<!-- Meta tags -->
<meta property="og:type" content="profile" />
<meta property="og:url" content="/" />
<meta property="og:title" content="Password Manager" />
<meta
property="og:description"
content="Manage your password locally by thorbino"
/>
<meta property="og:image" content="/assets/img/fav.png" />
<meta name="theme-color" content="#ffc300" />
<!-- Halfmoon CSS -->
<!-- Halfmoon CSS -->
<link
href="https://cdn.jsdelivr.net/npm/halfmoon@1.1.1/css/halfmoon-variables.min.css"
rel="stylesheet"
/>
<!--
Or,
Use the following (no variables, supports IE11):
<link href="https://cdn.jsdelivr.net/npm/halfmoon@1.1.1/css/halfmoon.min.css" rel="stylesheet" />
Learn more: https://www.gethalfmoon.com/docs/customize/#notes-on-browser-compatibility
-->
<script src="https://cdn.jsdelivr.net/npm/pace-js@latest/pace.min.js"></script>
<link rel="stylesheet" href="fill-left.css" />
</head>
<body
class="with-custom-webkit-scrollbars with-custom-css-scrollbars"
data-dm-shortcut-enabled="true"
data-set-preferred-mode-onload="true"
>
<!-- Modals go here -->
<!-- Reference: https://www.gethalfmoon.com/docs/modal -->
<div class="modal" id="new" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<a href="#" class="btn close" role="button" aria-label="Close">
<span aria-hidden="true">×</span>
</a>
<h5 class="modal-title">Create new entry</h5>
<form>
<div class="form-group">
<label for="username" class="required">Name</label>
<input
type="text"
id="new_name"
class="form-control"
placeholder="Discord"
required="required"
/>
<label for="username" class="required">domain</label>
<input
type="text"
id="new_domain"
class="form-control"
placeholder="discord.com"
required="required"
/>
<label for="username" class="required">Username</label>
<input
type="text"
id="new_username"
class="form-control"
placeholder="username"
required="required"
/>
<label for="full-name" class="required">Password</label>
<div class="input-group">
<input
type="password"
class="form-control"
id="new_password"
placeholder="123"
/>
<div class="input-group-append">
<span
class="input-group-text"
data-toggle="tooltip"
data-title="hold to show the password"
onmousedown="toggleEye2('createIcon', 'new_password', 'down')"
onmouseup="toggleEye2('createIcon', 'new_password', 'up')"
><i class="fas fa-eye-slash" id="createIcon"></i
></span>
<span
class="input-group-text"
data-toggle="tooltip"
data-title="generate a secure password"
onclick="generatePassword('new')"
><i class="fas fa-sync"></i
></span>
</div>
</div>
</div>
<p class="btn btn-primary btn-block" onclick="new_entry()">
Create
</p>
</form>
</div>
</div>
</div>
<!--Edit Entry-->
<div class="modal" id="edit" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<a href="#" class="btn close" role="button" aria-label="Close">
<span aria-hidden="true">×</span>
</a>
<h5 class="modal-title"><i class="fas fa-pen"></i> Edit entry</h5>
<div class="form-group">
<label for="username" class="required">Name</label>
<input
type="text"
id="edit_name"
class="form-control"
placeholder="Discord"
required="required"
/>
<label for="username" class="required">domain</label>
<input
type="text"
id="edit_domain"
class="form-control"
placeholder="discord.com"
required="required"
/>
<label for="username" class="required">Username</label>
<input
type="text"
id="edit_username"
class="form-control"
placeholder="username"
required="required"
/>
<label for="full-name" class="required">Password</label>
<div class="input-group">
<input
type="password"
class="form-control"
id="edit_password"
placeholder="123"
/>
<div class="input-group-append">
<span
class="input-group-text"
data-toggle="tooltip"
data-title="hold to unhinde the password"
onmousedown="toggleEye2('editIcon', 'edit_password', 'down')"
onmouseup="toggleEye2('editIcon', 'edit_password', 'up')"
><i class="fas fa-eye-slash" id="editIcon"></i
></span>
<span
class="input-group-text"
data-toggle="tooltip"
data-title="generate a secure password"
onclick="generatePassword('edit')"
><i class="fas fa-sync"></i
></span>
</div>
</div>
</div>
<div class="text-right">
<a
class="btn btn-danger"
value="Delete"
onclick="delete_entry()"
data-toggle="tooltip"
data-title="delete entry"
><i class="fas fa-trash"></i
></a>
<a class="btn btn-primary" value="Edit" onclick="edit_entry()"
>Edit</a
>
</div>
</div>
</div>
</div>
<!-- Page wrapper start -->
<div class="page-wrapper with-navbar with-navbar-fixed-bottom">
<!-- Sticky alerts (toasts), empty container -->
<!-- Reference: https://www.gethalfmoon.com/docs/sticky-alerts-toasts -->
<div class="sticky-alerts"></div>
<!-- Navbar start -->
<nav class="navbar">
<!-- Navbar brand -->
<a href="#" class="navbar-brand">
<i class="fas fa-key mr-10"></i>
Password Manager/Generator
</a>
<!-- Navbar text -->
<span class="navbar-text text-monospace" id="versionWebsite">v1.2 by thorbino</span>
<!-- text-monospace = font-family shifted to monospace -->
<!-- Navbar -->
<form style="display: none">
<input type="file" id="fileDialogId" />
</form>
<div class="navbar-content ml-auto">
<!-- ml-auto = margin-left: auto -->
<button
class="btn btn-success mr-10"
type="button"
onclick="uploadFile()"
>
<i class="fas fa-upload"></i>
</button>
<button
class="btn btn-secondary mr-10"
type="button"
onclick="downloadFile()"
>
<i class="fas fa-download"></i>
</button>
<a href="#new" class="btn btn-primary mr-10" role="button"
><i class="fas fa-file-alt"></i> Create Entry</a
>
<!-- Toogle Dark and Light Mode -->
<button
class="btn btn-square mr-10 rounded-circle"
type="button"
onclick="halfmoon.toggleDarkMode()"
>
<span class="hidden-dm"><i class="fas fa-moon"></i> </span>
<!-- hidden-dm = display: none (only in dark mode) -->
<span class="hidden-lm"><i class="fas fa-sun"></i></span>
</button>
</div>
<!-- Reference: https://www.gethalfmoon.com/docs/navbar -->
</nav>
<!-- Navbar end -->
<!-- Content wrapper start -->
<div class="content-wrapper">
<!--
Add your page's main content here
Examples:
1. https://www.gethalfmoon.com/docs/content-and-cards/#building-a-page
2. https://www.gethalfmoon.com/docs/grid-system/#building-a-dashboard
-->
<!-- Content -->
<div class="container-fluid">
<div class="row" id="content"></div>
</div>
</div>
<!-- Content wrapper end -->
<!-- Navbar fixed bottom start -->
<nav class="navbar navbar-fixed-bottom">
<!-- Reference: https://www.gethalfmoon.com/docs/navbar#navbar-fixed-bottom -->
<ul class="navbar-nav ml-left">
<!-- ml-auto = margin-left: auto -->
<li class="nav-item">
<a
href="https://github.com/thorbino2006/password-manager"
class="nav-link"
target="_blank"
><i class="fab fa-github mr-10"></i>View Repository on Github</a
>
</li>
</ul>
<div class="ml-auto">
<a href="#faq" class="btn" role="button"><i class="fas fa-question-circle"></i> FAQ</a>
<a href="#changelog" class="btn" role="button"><i class="fas fa-clipboard-list"></i> Changelog</a>
<a href="#information" class="btn" role="button"><i class="fas fa-info-circle"></i> Information</a>
</div>
<!-- Navbar text -->
<span class="navbar-text ml-auto">
<a
href="https://thorbino.de"
class="nav-link"
target="_blank"
>© thorbino, All rights reserved</a
>
</span>
</nav>
<!-- Navbar fixed bottom end -->
<!-- FAQ -->
<div
class="modal modal-full ie-scroll-fix"
id="faq"
tabindex="-1"
role="dialog"
>
<div class="modal-dialog" role="document">
<div class="modal-content">
<a href="#" class="close" role="button" aria-label="Close">
<span aria-hidden="true">×</span>
</a>
<div class="container">
<div class="row">
<div class="col-md-8 offset-md-2">
<!-- Article here -->
<!-- Erste Frage -->
<details class="collapse-panel w-full mw-full" open>
<!-- w-400 = width: 40rem (400px), mw-full = max-width: 100% -->
<summary class="collapse-header without-arrow">
Can we see your Passwords?
</summary>
<div class="collapse-content">
<span class="font-weight-bold">No</span><br>
We can't see your Passwords
</div>
</details>
<!-- Zweite Frage -->
<details class="collapse-panel w-full mw-full mt-20" open>
<!-- w-400 = width: 40rem (400px), mw-full = max-width: 100% -->
<summary class="collapse-header without-arrow">
Can you see my e-mail?
</summary>
<div class="collapse-content">
<span class="font-weight-bold">No</span><br>
We can't see your e-mail
</div>
</details>
<!-- Dritte Frage -->
<details class="collapse-panel w-full mw-full mt-20" open>
<!-- w-400 = width: 40rem (400px), mw-full = max-width: 100% -->
<summary class="collapse-header without-arrow">
Where are my Data saved?
</summary>
<div class="collapse-content">
Your Data are Saved locally in your Browser cache
</div>
</details>
<!-- Vierte Frage -->
<details class="collapse-panel w-full mw-full mt-20" open>
<!-- w-400 = width: 40rem (400px), mw-full = max-width: 100% -->
<summary class="collapse-header without-arrow">
How does the Password Generator work?
</summary>
<div class="collapse-content">
The generator generates a password that includes:
<ul>
<li>
Includes Symbols <span class="code">!.,-_+#?%&*?</span>
</li>
<li>
Inlcudes Lowercase Characters <span class="code">abcdefghijklmnopqrstuvwxyz</span>
</li>
<li>
Inlcudes Uppercase Characters <span class="code">ABCDEFGHIJKLMNOPQRSTUVWXYZ</span>
</li>
<li>
Inlcudes Numbers <span class="code">0123456789</span>
</li>
<li>
Has 30 characters <span class="code">._&0#i0x9wka+JqyJavQt3voGm.lh&</span>
</li>
</ul>
<br>Example Password <span class="code">5*-wMXBqyNaOAb.Y21cp-HM_*&HsfS</span>
</div>
</details>
<!-- Fünfte Frage -->
<details class="collapse-panel w-full mw-full mt-20" open>
<!-- w-400 = width: 40rem (400px), mw-full = max-width: 100% -->
<summary class="collapse-header without-arrow">
Can i lose my Data?
</summary>
<div class="collapse-content">
<span class="font-weight-bold">Yes</span><br>
When you clear your Cache cleared of your Browser, because the Data are saved in the Cache of your Browser
</div>
</details>
<!-- Sechste Frage -->
<details class="collapse-panel w-full mw-full mt-20" open>
<!-- w-400 = width: 40rem (400px), mw-full = max-width: 100% -->
<summary class="collapse-header without-arrow">
Can I view my data in the browser cache?
</summary>
<div class="collapse-content">
<span class="font-weight-bold">Yes</span><br>
You need to press <kbd>F12</kbd>, in the Navbar at the top you need to click on<br>
<span class="code">Application>Storage>Local Storage>https://password.thorbino.de</span>
and there you can see the Data
<div class="row">
<div class="col-10">
<!-- Responsive image -->
<img src="assets/img/open-in-console.gif" class="img-fluid" alt="responive image">
</div>
</div>
</div>
</details>
<!-- Siebte Frage -->
<details class="collapse-panel w-full mw-full mt-20" open>
<!-- w-400 = width: 40rem (400px), mw-full = max-width: 100% -->
<summary class="collapse-header without-arrow">
Can I backup/export my passwords?
</summary>
<div class="collapse-content">
<span class="font-weight-bold">Yes</span><br>
You have to click on the <span class="text-secondary">Download-Icon</span> at the top of the navbar, your data will be exported, save the <span class="code">passwords.json</span> file on your PC.<br>
<div class="row">
<div class="col-10">
<!-- Responsive image -->
<img src="assets/img/export.gif" class="img-fluid" alt="responive image">
</div>
</div>
</div>
</details>
<!-- Achte Frage -->
<details class="collapse-panel w-full mw-full mt-20" open>
<!-- w-400 = width: 40rem (400px), mw-full = max-width: 100% -->
<summary class="collapse-header without-arrow">
How to import my passwords?
</summary>
<div class="collapse-content">
<span class="font-weight-bold">Yes</span><br>
In the navbar go to the <span class="text-success">Upload-Icon</span> and select the exported <span class="code">password.json</span> file in the explorer window.
<div class="row">
<div class="col-10">
<!-- Responsive image -->
<img src="assets/img/import.gif" class="img-fluid" alt="responive image">
</div>
</div>
</details>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Changelog -->
<div
class="modal modal-full ie-scroll-fix"
id="changelog"
tabindex="-1"
role="dialog"
>
<div class="modal-dialog" role="document">
<div class="modal-content">
<a href="#" class="close" role="button" aria-label="Close">
<span aria-hidden="true">×</span>
</a>
<div class="container">
<div class="row">
<div class="col-md-8 offset-md-2">
<!-- Article here -->
<p class="font-size-24 font-weight-bold text-center"><i class="fas fa-hammer"></i> Changelogs <i class="fas fa-hammer"></i></p>
<br>
<!-- V.1.2 -->
<details class="collapse-panel w-full mw-full" open>
<!-- w-400 = width: 40rem (400px), mw-full = max-width: 100% -->
<summary class="collapse-header without-arrow">
<p class="font-weight-bold">V.1.2</p>
</summary>
<div class="collapse-content">
<!--S<span class="font-weight-bold">No</span><br>-->
<p class="font-size-22 text-success">New</p>
<ul>
<li>A FAQ with common questions and answer</li>
<li>A changelog, with new features, and revisions</li>
</ul>
<p class="font-size-22 text-secondary">Changes</p>
<ul>
<li>Copy user name function</li>
<li>If you click on the title of the map, you will be redirected to the given URL</li>
</ul>
</div>
</details>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Information -->
<div
class="modal modal-full ie-scroll-fix"
id="information"
tabindex="-1"
role="dialog"
>
<div class="modal-dialog" role="document">
<div class="modal-content">
<a href="#" class="close" role="button" aria-label="Close">
<span aria-hidden="true">×</span>
</a>
<div class="container">
<div class="row">
<div class="col-md-8 offset-md-2">
<!-- Article here -->
<p class="font-size-24 font-weight-bold text-center"> Information </p>
<br>
<!-- V.1.2 -->
<details class="collapse-panel w-full mw-full" open>
<!-- w-400 = width: 40rem (400px), mw-full = max-width: 100% -->
<summary class="collapse-header without-arrow">
<p class="font-weight-bold">Informationen</p>
</summary>
<div class="collapse-content">
<!--S<span class="font-weight-bold">No</span><br>-->
<p class="font-size-22 ">About Me</p>
<ul>
<li>I am Thorben, 16 years old and live in Saxony in Germany. </li>
<li>In my free time I like to do handicrafts, electrical work, programming, Blender 3D modeling and more.</li>
</ul>
<p class="font-size-22">Data about my Password Manager</p>
<ul>
<li>This password manager was created with the framework of <a href="https://www.gethalfmoon.com/" target="_blank">Halfmoon</a></li>
<li>My password manager repository is hosted free of charge with <a href="https://www.netlify.com/" target="_blank">Netlify</a></li>
</ul>
<p class="font-size-22">Social media and my projects</p>
<ul>
<li>I have a German Community Server where people can help each other. My server already has 150+ members <a href="https://blender-deutschland.de/dc" target="_blank">join my discord</a></li>
</ul>
<p><i class="fab fa-discord"></i> !thorbino#0001</p>
<p><i class="fab fa-twitter"></i> thorbino2006</p>
<p class="text-muted">
<a href="https://social.thorbino.de" class="text-reset text-white" target="_blank"><i class="fas fa-globe"></i> More Links</a>
</p>
</div>
</details>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Page wrapper end -->
<!-- Halfmoon JS -->
<script src="https://cdn.jsdelivr.net/npm/halfmoon@1.1.1/js/halfmoon.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script
src="https://kit.fontawesome.com/6828172413.js"
crossorigin="anonymous"
></script>
<script src="FileSaver.js"></script>
<script src="index.js"></script>
</body>
</html>