-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (56 loc) · 1.99 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<title>VOX File Structure Viewer</title>
<style>
.code {
white-space: pre;
font-family: monospace;
}
.color-box {
width: 16px;
min-width: 16px;
max-width: 16px;
height: 16px;
min-height: 16px;
max-height: 16px;
display: inline-block;
padding: 0;
margin: 0;
}
</style>
</head>
<body class="bg-dark text-light">
<nav class="navbar navbar-dark bg-success">
<div class="container-fluid">
<span class="navbar-brand">VOX File Structure Viewer</span>
<a href="https://github.com/AstrorEnales/vox-viewer" target="_blank" style="color: white"><i class="fs-4 bi bi-github"></i></a>
</div>
</nav>
<main role="main">
<div class="container-fluid my-4">
<div class="row">
<div class="col">
<div class="input-group mx-1" style="width: 550px">
<input type="file" class="form-control" id="voxInput">
</div>
</div>
</div>
</div>
<div class="container-fluid">
<h2>Models</h2>
<div id="canvasContainer"></div>
<h2>Scene Graph</h2>
<div id="sceneGraphContainer"></div>
<h2>RAW Structure</h2>
<div id="fileStructureContainer" class="code">Please select a VOX file above...</div>
</div>
</main>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
<script src="app.js"></script>
</body>
</html>