-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (29 loc) · 1.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MASKIT PWA Sample</title>
<link rel="stylesheet" href="/styles/styles.css">
<link rel="manifest" href="/manifest.json">
<script src="https://unpkg.com/@simplewebauthn/browser/dist/bundle/index.es5.umd.min.js"></script>
</head>
<body>
<img src="/images/logo.png" alt="Logo">
<h1>Hello, PWA!</h1>
<p>This is a sample PWA application.</p>
<p id="install-time"></p>
<p id="offline-time"></p>
<button id="sign-btn">Sign Data</button>
<p id="signed-data">Signed data will appear here.</p>
<h1>WebAuthn Example</h1>
<button id="register">Register</button>
<button id="authenticate">Authenticate</button>
<script src="/client.js"></script>
<script src="/app.js"></script>
<h1>User Key Pair Generation</h1>
<button id="generate-key-pair">Generate Key Pair</button>
<button id="store-key-pair">Store Key Pair in indexedDB</button>
<div id="key-info">Key info will be displayed here.</div>
</body>
</html>