-
Notifications
You must be signed in to change notification settings - Fork 15
/
options.html
103 lines (100 loc) · 3.11 KB
/
options.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
<html>
<head>
<meta charset="utf-8" />
<title>GIF Scrubber Options</title>
<link rel="stylesheet" href="css/scrubber.css" />
<link
href="./node_modules/@fortawesome/fontawesome-free/css/fontawesome.css"
rel="stylesheet"
/>
<link
href="./node_modules/@fortawesome/fontawesome-free/css/solid.css"
rel="stylesheet"
/>
</head>
<body class="options">
<form id="options-form">
<h3><i class="fa fa-gear" style="width: 1em"></i> Options</h3>
<ul class="options-list">
<li>
<input type="checkbox" id="open-tabs" name="open-tabs" />
<label for="open-tabs"
>Open scrubber in new tab instead of new window</label
>
</li>
<li>
<input type="checkbox" id="auto-open" name="auto-open" />
<label for="auto-open"
>Automatically open scrubber when opening GIFs</label
>
</li>
<li>
<input type="checkbox" id="auto-play" name="auto-play" />
<label for="auto-play">Start playing as soon as image loads</label>
</li>
<li>
<input type="checkbox" id="loop-anim" name="loop-anim" />
<label for="loop-anim">Loop animation</label>
</li>
<li>
<input type="checkbox" id="mouse-scrub" name="mouse-scrub" />
<label for="mouse-scrub">Mouse hover automatically scrubs</label>
</li>
</ul>
<h3 class="header-background">
<i class="fa fa-tint" style="width: 1em"></i> Player Background
</h3>
<p class="explainer">Visible only with transparent GIF</p>
<ul class="background-colors-list">
<li>
<label class="input-radio" data-color="light">
<input name="background-color" type="radio" value="light" />
<div class="sample"></div>
Light
</label>
</li>
<li>
<label class="input-radio" data-color="dark">
<input name="background-color" type="radio" value="dark" />
<div class="sample"></div>
Dark
</label>
</li>
<li>
<label class="input-radio" data-color="checker">
<input name="background-color" type="radio" value="checker" />
<div class="sample"></div>
Checker
</label>
</li>
</ul>
<p id="status">-</p>
<div class="shortcuts">
<h3><i class="fa fa-2x fa-keyboard"></i> Keyboard Shortcuts</h3>
<table>
<tr>
<td>Pause/play GIF</td>
<td>Space Bar</td>
</tr>
<tr>
<td>Go back one frame</td>
<td>Left Arrow</td>
</tr>
<tr>
<td>Go forward one frame</td>
<td>Right Arrow</td>
</tr>
<tr>
<td>Toggle explode view</td>
<td>E, Esc, Backspace</td>
</tr>
<tr>
<td>Open options (this page)</td>
<td>O</td>
</tr>
</table>
</div>
</form>
<script type="module" src="js/options.js"></script>
</body>
</html>