forked from niivue/niivue-brainchop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (41 loc) · 1.16 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./niivue.css" />
<title>Niivue brain chop</title>
</head>
<body>
<header>
<label for="opacitySlider">Opacity</label>
<input type="range" min="0" max="255" value="128" class="slider" id="opacitySlider" />
<label for="modelSelect">Segmentation Model</label>
<select id="modelSelect">
</select>
<button id="saveBtn">Save Overlay</button>
<button id="aboutBtn">About</button>
</header>
<main id="canvas-container">
<canvas id="gl1"></canvas>
</main>
<footer>
<div class="footer">
<table class="footer">
<tr>
<th id="location">Ready</th>
<th><progress id="modelProgress" value="0" max="100"> 32% </progress></th>
<th>
<!-- important to use class footer here -->
<div class="footer" id="memstatus" style="color: green">Memory OK</div>
</th>
</tr>
</table>
</div>
</footer>
<script type="module" src="/main.js"></script>
</body>
</html>