generated from emkooz/three-base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (38 loc) · 1.55 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>QuickVol</title>
<link rel="icon" type="image/x-icon" href="/public/icon.svg" />
</head>
<body class="bg-black">
<div id="content" class="relative">
<div class="h-screen w-screen">
<div
id="loadingLogo"
class="absolute top-0 left-0 w-full h-full flex flex-col justify-center items-center text-5xl text-white"
>
<img src="/public/icon.svg" alt="QuickVol" class="w-1/5 mb-6" />
<span>QuickVol</span>
</div>
<div id="dropzone" class="invisible absolute top-0 left-0 w-full h-full bg-gray-900 opacity-75 z-50">
<div class="flex flex-col justify-center items-center h-full w-full text-5xl text-white">Drop .nrrd file here</div>
</div>
<canvas id="mainCanvas"></canvas>
</div>
<video id="webcam" class="absolute top-0 left-0 w-1/5 object-scale-down ml-2 mt-2" autoplay playsinline></video>
<canvas id="handCanvas" class="absolute top-0 left-0 ml-2 mt-2"></canvas>
<div class="flex absolute bottom-0 left-0 pl-4 pb-4 z-40 text-2xl text-white whitespace-pre-line h-min">
<div class="flex flex-col">
<div class="flex-row">Volume: <span id="volumeName" class=""></span></div>
<span id="volumeSize" class=""></span>
<span id="volumeError" class=""></span>
<span id="statusBar" class=""></span>
</div>
</div>
</div>
<script type="module" src="/src/app.ts"></script>
</body>
</html>