This repository has been archived by the owner on Jul 30, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
191 lines (181 loc) · 8.36 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<!--
Part of the Shuttr app by @aureljared.
Licensed under GPLv3.
http://github.com/aureljared/shuttr
-->
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>shuttr</title>
<link rel="stylesheet" type="text/css" href="font/overpass.css">
<link rel="stylesheet" type="text/css" href="iconfont/material-icons.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<meta name="charset" content="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, shrink-to-fit=no">
</head>
<body>
<!-- Top bar (draggable) -->
<div id="titlebar">
<!-- Status: resolution settings, remaining space, and battery -->
<div class="modeselect">
<p><span id="stat_mode">video</span> mode</p>
<!-- Mode dropdown -->
<div id="modeselect">
<div class="dropOut">
<div class="triangle"></div>
<ul>
<li id="mode_video_normal">video</li>
<li id="mode_video_vphoto">video + photo</li>
<li id="mode_video_looping">looping video</li>
<li id="mode_photo_normal">photo</li>
<li id="mode_photo_night">night photo</li>
<li id="mode_multi_burst">burst</li>
<li id="mode_video_timelapse">time lapse video</li>
<li id="mode_multi_timelapse">time lapse photo</li>
<li id="mode_multi_nightlapse">night lapse photo</li>
</ul>
</div>
</div>
</div>
<div class="resselect">
<p><i class="material-icons">camera</i><span id="stat_res">4k</span> <span id="stat_fps">240fps</span> <span id="stat_fov">supr</span></p>
<div id="resselect" class="hoverdropdown">
<div class="dropOut">
<div class="triangle"></div>
<div class="video">
<p>resolution</p>
<select name="res">
<option value="1">4k</option>
<option value="4">2.7k</option>
<option value="6">2.7k 4:3</option>
<option value="7">1440p</option>
<option value="9">1080p</option>
<option value="10">960p</option>
<option value="12">720p</option>
<option value="17">480p</option>
</select>
<p>fps</p>
<select name="fps">
<option value="0">240</option>
<option value="1">120</option>
<option value="2">100</option>
<option value="3">90</option>
<option value="4">80</option>
<option value="5">60</option>
<!-- <option value="6">50</option> -->
<option value="7">48</option>
<option value="8">30</option>
<option value="10">24</option>
</select>
<p>fov</p>
<select name="fov">
<option value="3" data-abbr="supr">Superview</option>
<option value="0" data-abbr="wide">Wide</option>
<option value="1" data-abbr="med">Medium</option>
<option value="2" data-abbr="nar">Narrow</option>
<option value="4" data-abbr="linr">Linear</option>
</select>
</div>
</div>
</div>
</div>
<div>
<p><i class="material-icons">sd_storage</i><span data-secs="0" id="stat_sd" class="video">00:00:00</span></p>
</div>
<div>
<p><i class="material-icons">battery_std</i><span id="stat_bat">40 %</span></p>
</div>
</div>
<!-- Top bar overlay -->
<div id="pwr" class="disabled">
<p><i class="material-icons">power_settings_new</i></p>
</div>
<!-- Bottom bar -->
<div id="controls" class="disabled">
<!-- Protune settings and shutter button -->
<div class="left">
<table class="video_normal">
<tr>
<td>protune <div id="set_pro" class="toggle on"><div class="togglebox"></div></div></td>
<td class="pt">color <span id="set_color">gopro</span></td>
<td class="pt">iso <span id="set_iso">1600</span></td>
<td class="pt">ev <span id="set_ev">+1.0</span></td>
<td>stabilizer <div id="set_stab" class="toggle"><div class="togglebox"></div></div></td>
<td>audio mode <span id="set_aud">wind</span></td>
</tr>
<tr>
<td class="pt">wb <span id="set_wb">auto</span></td>
<td class="pt">shtr <span id="set_shut">1/60</span></td>
<td class="pt">sharp <span id="set_shrp">hi</span></td>
<td class="pt">raw audio <span id="set_rawaud">hi</span></td>
<td>auto lo lt <div id="set_lolt" class="toggle"><div class="togglebox"></div></div></td>
<td>grid <span id="set_grid">off</span></td>
</tr>
</table>
</div>
<div class="right">
<div id="duration">
<p></p>
</div>
<div id="shutter">
<div class="shutter"></div>
</div>
</div>
</div>
<!-- Viewfinder iframe -->
<div id="viewfinder">
<div id="messages">
<div id="msg_con" class="message">
<h1 class="icon normal"><i class="material-icons">linked_camera</i></h1>
<h1 class="conStat">Connecting to camera</h1>
</div>
<div id="msg_err" class="message">
<h1 class="icon error"><i class="material-icons">error</i></h1>
<h1 class="errTitle"></h1>
<p class="errBody"></p>
<button type="button">Retry</button>
</div>
<!-- <div id="msg_off" class="message">
<h1 class="icon normal"><i class="material-icons">info</i></h1>
<h1 class="title">Camera is off</h1>
</div> -->
</div>
<div id="overlays" class="hidden">
<div class="thirdgrid hidden">
<table>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</div>
<div class="quadgrid hidden">
<table>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table>
</div>
</div>
</div>
<!-- Scripts -->
<script src="js/ui.js"></script>
</body>
</html>