-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.html
38 lines (36 loc) · 1023 Bytes
/
main.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
<!DOCTYPE html>
<html>
<head>
<script src="scripts/popup.js"></script>
<script src="scripts/TotpSecret.js"></script>
<script src="libraries/JS-OTP/dist/jsOTP.min.js"></script>
<link rel="stylesheet" href="style/main.css ">
</head>
<body>
<p>Add new 2FA:</p>
<table>
<tr>
<td><label>Name:</label></td>
<td><input type="text" id="nameInput" value=""></td>
</tr>
<tr>
<td><label>Secret:</label></td>
<td><input type="text" id="secretInput" value=""></td>
</tr>
<tr>
<td><label>Time (sec.):</label></td>
<td><input type="text" id="timeInput" value=""></td>
</tr>
<tr></tr>
<td><label>Code length:</label></td>
<td><input type="text" id="lengthInput" value=""></td>
</tr>
<tr><td></td><td><input type="button" id="createSecretButton" value="Create new 2FA"></td></tr>
</table>
<br>
<div>
<table id="list2FA">
</table>
</div>
</body>
</html>