This repository was archived by the owner on Apr 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
61 lines (54 loc) · 3.03 KB
/
Copy pathindex.html
File metadata and controls
61 lines (54 loc) · 3.03 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width" id="viewport">
<meta name="keywords" content="Secure Citizen">
<meta name="application-name" content="Secure Citizen">
<meta name="description" content="Secure Citizen Camera Tester">
<meta name="msapplication-tooltip" content="Secure Citizen Camera Tester">
<meta name="theme-color" content="#000000">
<link rel="manifest" href="camera/manifest.webmanifest">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="apple-touch-icon" href="assets/icon.png">
<title>Module Demo Page - Human: Face Recognition</title>
<!-- Script tag for demo page purposes in demo-page-assets/demo.ts -->
<script type="module" src="demo-page-assets/login.ts"></script>
<style>
body { font-size: 16px; font-variant: small-caps; margin: 0; background: black; width: 100vw; height: 100vh; }
/* .ok { position: absolute; top: 64px; right: 20px; width: 150px; background-color: grey; padding: 4px; color: black; font-size: 14px } */
</style>
</head>
<body>
<div class="bg-slate-50 py-24 sm:py-32 min-h-screen">
<div class="mx-auto max-w-screen-lg p-6 lg:p-8 bg-gradient-to-br from-white to-slate-200 rounded shadow-2xl">
<div class="mx-auto lg:mx-0">
<h1 class="text-4xl font-bold tracking-tight text-gray-900 sm:text-6xl mb-6">Pretend Client Page</h1>
<p class="mb-4 text-lg leading-8 text-gray-600">This is a pretend client page for the Secure Citizen Camera Module found at <a href="https://github.com/securecitizen/sc-camera-module" class="underline text-blue-600">https://github.com/securecitizen/sc-camera-module</a>. The demo page imports a typescript file during development. It comese preconfigured with <a href="https://tailwindcss.com/" class="underline text-blue-600">TailwindCSS</a>.</p>
<p class="mb-4 text-lg leading-8 text-gray-600">
The typescript file is compiled to javascript, a type definitions file, and a css file when hosted in a GitHub Pages page during production.
</p>
<p class="mb-4 text-lg leading-8 text-gray-600">
For a pure camera testing page, please click <a class="underline text-blue-600" href="camera/index.html">here</a>
</p>
<div>
<p class="mb-4 text-lg leading-8 text-gray-600">
This is designed to simulate a typical store front that would implement the "Login with SC" button (not vastly different from how VC will work)
</p>
<div>
<button class="btn btn-primary" id="fakelogin">Site Login</button>
<button class="btn btn-primary" id="login">Secure Citizen Login</button>
<button class="btn btn-primary" id="checksession">Check Session</button>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
<script lang="javascript">
const fakelogin = document.getElementById("fakelogin");
fakelogin.addEventListener("click", () => {
alert("This wont go anywhere")
})
</script>