-
Notifications
You must be signed in to change notification settings - Fork 0
/
fileimport.html
52 lines (50 loc) · 1.59 KB
/
fileimport.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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="css/bulma.min.css" />
<link rel="stylesheet" href="css/fileimport.css" />
</head>
<body>
<div
id="chooseServiceScreen"
style="display: grid; padding: 4%; place-items: center; margin-top: 12%"
>
<h1 class="title">Import From?</h1>
<button id="serviceGoogleBtn" style="margin-top: 3%; width: 40%">
Google
</button>
<button id="serviceFirefoxBtn" style="margin-top: 3%; width: 40%">
Firefox
</button>
<button id="serviceBitwardenBtn" style="margin-top: 3%; width: 40%">
Bitwarden
</button>
</div>
<!-- Nothing found page -->
<div
id="loginImportFormScreen"
style="display: grid; padding: 4%; place-items: center; margin-top: 15%"
>
<h1 class="title">Import Logins</h1>
<form id="loginsImportForm" enctype="multipart/form-data" method="post">
<input
type="file"
name="loginFile"
id="loginFileImport"
accept=".csv"
(change)="uploadLoginCSV($event)"
/><br />
<span id="loginImportSpan" style="margin-top: 4%"></span>
</form>
</div>
</body>
<script src="js/jquery.js"></script>
<script src="js/crypto-js.min.js"></script>
<script src="js/sha1.js"></script>
<script src="js/pbkdf2.js"></script>
<script src="js/all.js"></script>
<script src="js/helperfuncs.js"></script>
<script src="js/fileimport.js"></script>
</html>