-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
44 lines (43 loc) · 1.75 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="./favicon.ico" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<title>NiiVue</title>
<link rel="stylesheet" href="./niivue.css" />
</head>
<body>
<header>
<!-- reset button -->
<button id="resetButton">Reset</button>
<label for="command">Command</label>
<input id="command" value="-dehaze 5 -dog 2 3.2"/>
<button id="processButton" disabled>Process</button>
<button id="saveButton">Save</button>
<button id="aboutButton">About</button>
<button id="helpButton">Help</button>
<!-- <button id="moreButton">More commands</button> -->
<!-- more commands dropdown -->
<label id="moreCommandsLabel" for="moreCommands" style="color:white">More commands</label>
<select id="moreCommands"></select>
<div id="loadingCircle" class="loading-circle hidden"></div>
<label for="overlayCheck" style="color:white">Overlay</label>
<input type="checkbox" id="overlayCheck" checked />
<!-- overlay opacity slider -->
<label id="overlayOpacityLabel" for="overlayOpacity" style="color:white">Opacity</label>
<input type="range" id="overlayOpacity" min="0" max="1" step="0.01" value="1" />
<!-- overlay color select (empty but will be populated in main.js) -->
<label id="overlayColorLabel" for="overlayColor" style="color:white">Color</label>
<select id="overlayColor"></select>
</header>
<main>
<canvas id="gl"></canvas>
</main>
<footer>
<label id="images"></label>
</footer>
<script type="module" src="./main.js"></script>
</body>
</html>