-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.html
122 lines (117 loc) · 4.94 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!--
* Copyright (c) 2020 - 2024 the ThorVG project. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
-->
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="description" content="ThorVG Viewer Application">
<meta name="author" content="co-authored by Shinwoo Kim, Hermet Park, Michal Maciola, Jinny You">
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/svg+xml" href="favicon.svg">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="./lottie-player.js"></script>
<title>ThorVG Viewer | Thor Vector Graphics</title>
</head>
<body>
<section>
<div id="image-area">
<div id="image-placeholder">Drop a file here or click to browse (.svg, .json, .jpg, .png, .webp)<br/><small>ThorVG Viewer works on your local device. File(s) won't be uploaded to the internet.</small></div>
<input id="image-file-selector" type="file" accept=".svg,.json,.jpg,.png" multiple>
</div>
<div id="console-area" class="hidden">
<a id="console-bottom-scroll" title="Scroll to the bottom"><i class="fa fa-chevron-down"></i></a>
</div>
<div><small id="version">ThorVG v1.0.0-pre14 (Software)</small></div>
</section>
<aside class="hidden">
<nav>
<a id="nav-toggle-aside">
<i class="fa fa-bars"></i>
</a>
<hr />
<a id="nav-progress">
<i class="fa fa-play"></i>
</a>
<hr />
<a id="nav-file">
<i class="fa fa-file-text-o"></i>
</a>
<hr />
<a id="nav-files-list" class="active">
<i class="fa fa-files-o"></i>
</a>
<div class="bottom-nav">
<label id="nav-stats-mode" class="toggle">
<input type="checkbox">
<span></span>
</label>
<label id="nav-dark-mode" class="toggle">
<input type="checkbox">
<span></span>
</label>
<hr />
<a id="nav-console">
<i class="fa fa-history"></i>
</a>
</div>
</nav>
<div>
<div id="aside-top">
<div id="zoom-slider-container">
<input id="zoom-slider" type="range" min="0" max="300" value="100" disabled />
</div>
<div id="zoom-value">800 x 800</div>
</div>
<div id="progress" class="tab">
<div class="header">Progress</div>
<div id="progress-value">0 / 0</div>
<div id ="progress-slider-container">
<input id="progress-slider" type="range" min="0" max="100" value="0" disabled />
</div>
<button class="progress-play" id="progress-play"><i class="fa fa-play"></i></button>
<button class="progress-pause" id="progress-pause"><i class="fa fa-pause"></i></button>
<button class="progress-stop" id="progress-stop"><i class="fa fa-stop"></i></button>
<div id="renderer-select" class="tab">
<div class="header">Render Backend</div>
<select id="renderer-dropdown">
<option value="sw">Software</option>
<option value="gl">WebGL</option>
<option value="wg">WebGPU</option>
</select>
</div>
</div>
<div id="scene-graph" class="tab scrollable">
<div class="placeholder">No scene-tree information</br><small>Please load a resource first</small></div>
</div>
<div id="file" class="tab scrollable">
<div class="placeholder">No file information</br><small>Please load a resource first</small></div>
</div>
<div id="files-list" class="tab active">
<div class="container scrollable">
<div class="placeholder">No file lists</br><small>Please load a resource first</small></div>
</div>
<div class="upload">
<a id="add-file-local"><i class="fa fa-upload"></i>Add files</a><a id="add-file-url">from url</a>
</div>
</div>
</div>
</aside>
<script type="text/javascript" src="main.js"></script>
</body>
</html>