-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (44 loc) · 1.47 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
<!DOCTYPE html>
<html>
<head>
<title>SMILer</title>
<link rel="stylesheet" href="main.css">
<script src="./modules/jszip.min.js"></script>
<script src="./modules/FileSaver.min.js"></script>
<script defer src="./main.js"></script>
</head>
<body>
<!--#include virtual="/header.html" -->
<h1>SMILer</h1>
<p class="desc">A tool to convert SVG SMIL animations into frames</p>
<br>
<div id="svgcontainer" class="bordered"></div>
<br>
<div id="options-grid">
<div>
<span>SVG File</span><br>
<label id="filelabel" class="buttonify bordered" for="filechoose">Browse</label>
<input type="file" id="filechoose" accept="image/svg+xml">
</div>
<div>
<span>Export Width (px)</small><br>
<input type="number" id="quality" name="quality" min="0" value="256" />
</div>
<div>
<span>Frames Per Second</span><br>
<input type="number" id="fps" name="fps" min="1" max="100" value="24" />
</div>
<div>
<span>Duration</span><br>
<input type="number" id="dur" name="dur" min="0" max="100" value="5" />
</div>
</div>
<br>
<div id="btncontainer">
<button id="btn">Convert</button><br>
</div>
<div class="floatr"><a href="//github.com/PrimmR/SMILer" target="_blank" rel="noopener noreferrer">Source</a>
</div>
<!--#include virtual="/footer.html" -->
</body>
</html>