forked from shawn0326/zen-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·42 lines (42 loc) · 1.66 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
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>glTF Viewer</title>
<link rel="stylesheet" href="./css/main.css">
<script src="./libs/simple-dropzone.js"></script>
<script type="module" src="./js/App.js"></script>
</head>
<body>
<header>
<h1>
<a href="/">glTF Viewer</a>
<span class="separator layout-md"> | </span>
<a class="item layout-md" target="_blank" href="https://github.com/shawn0326/zen-3d">
zen3d
</a>
<span class="separator layout-md"> | </span>
<a class="item layout-md" target="_blank" href="https://github.com/shawn0326/zen-viewer">
source
</a>
</h1>
</header>
<div class="wrap">
<div class="dropzone">
<div class="placeholder">
<p>Drag glTF 2.0 file or folder here</p>
</div>
<div class="upload-btn">
<input type="file" name="file-input[]" id="file-input" multiple="">
<label for="file-input">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" viewBox="0 0 20 17">
<path d="M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z"></path>
</svg>
<span>Upload</span>
</label>
</div>
</div>
<div class="spinner"></div>
</div>
</body>
</html>