-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
87 lines (73 loc) · 2.4 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link
rel="icon"
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🔐</text></svg>"
/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
rel="stylesheet"
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>idOS Secure Enclave</title>
<style>
button {
display: none;
}
button#unlock::before {
content: "🔐 Unlock idOS";
}
button#unlock:disabled {
background-color: grey;
}
button#unlock:disabled::before {
content: "Unlocking...";
}
button#unlock.create::before {
content: "🔐 Create idOS Key";
}
button#unlock.create:disabled::before {
content: "Creating...";
}
button#confirm::before {
content: "👀 See request";
}
button#confirm:disabled {
background-color: grey;
}
button#backup:disabled::before {
content: "Waiting...";
}
button#backup::before {
content: "💼 Back up idOS key";
}
button#backup:disabled {
background-color: grey;
}
button#backup:disabled::before {
content: "Waiting...";
}
</style>
</head>
<body>
<div id="container" class="w-screen h-screen">
<button
id="unlock"
class="h-full w-full rounded-lg bg-[#00ffb9] px-[5%] py-[2%] font-medium text-[41cqmin] text-zinc-950 transition-colors hover:bg-green-300"
></button>
<button
id="confirm"
class="h-full w-full rounded-lg bg-[#00ffb9] px-[5%] py-[2%] font-medium text-[41cqmin] text-zinc-950 transition-colors hover:bg-green-300"
></button>
<button
id="backup"
class="h-full w-full whitespace-pre rounded-lg bg-[#00ffb9] px-[5%] py-[2%] font-medium text-[41cqmin] text-zinc-950 transition-colors hover:bg-green-300"
></button>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>