-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathindex.html
executable file
·65 lines (56 loc) · 2.24 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Firekey</title>
<meta name="description" content="A TOTP 2-factor auth token generator.">
<meta name="viewport" content="width=device-width">
<!-- Place favicon.ico in the root directory -->
<link rel="stylesheet" href="brick/brick-1.0.1.min.css"/>
<link rel="stylesheet" href="css/app.css">
</head>
<body>
<x-layout>
<header id="main-header">
<h1>Firekey</h1>
<button class="add">+</button>
</header>
<section>
<x-deck transition-type="fade-scale">
<x-card id="main">
<meter max="30"></meter>
<ul id="accounts"></ul>
<button class="delete">Delete</button>
</x-card>
<x-card id="add" data-title="Add Account">
<p><label>Site Name: <input type="text" id="addname"></input></label></p>
<p><label>Secret Key: <input type="text" id="addkey"></input></label></p>
<p id="keytype">
Key format:
<label><input type="radio" name="keytype" value="b32"> Base 32</label>
<label><input type="radio" name="keytype" value="hex"> Hex</label>
(Most services use Base 32 keys.)
</p>
<p>
<button class="add">Add</button>
<button class="cancel">Cancel</button>
</p>
</x-card>
<x-card id="welcome">
<p>Welcome to Firekey!</p>
<p>This is a simple "authenticator" app that allows you to generate 2-factor auth tokens for services using the <a href="http://en.wikipedia.org/wiki/Time-based_One-time_Password_Algorithm" target="_blank">TOTP standard</a>, for example Google or GitHub.</p>
<p>Get started by adding an account.</p>
<button>Add account</button>
</x-card>
</x-deck>
</section>
</x-layout>
<script src="brick/brick-1.0.1.min.js"></script>
<script src="js/lib/localforage.js"></script>
<script src="js/lib/pointer.min.js"></script>
<script src="js/lib/base32.js"></script>
<script src="js/lib/sha1.js"></script>
<script src="js/app.js"></script>
<script src="js/offline-manager.js"></script>
</body>
</html>