~tsileo/blobstash-app-webauthn-demo

ref: 6f50bda1356df4101a6dc2efbb7f66c5fcb28200 blobstash-app-webauthn-demo/templates/layout.html -rw-r--r-- 666 bytes
6f50bda1Thomas Sileo Initial commit 7 months ago
                                                                                
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
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>WebAuthn Demo</title>
    <meta name="mobile-web-app-capable" content="yes" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
  </head>
  <body>
<h1>WebAuthn demo</h1>

<h2>Registered keys</h2>
{{ if .credentials }}
<ul>
{{ range .credentials }}
    <li>{{ . }}</li>
{{ end }}
</ul>
<p><a href="{{ url_for "/login" }}">Login</a></p>
{{ else }}
<p>No keys registered yet</p>
{{ end }}
 
{{ template "body" . }}
  </body>
</html>