-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
190 lines (150 loc) · 10.3 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="./node_modules/bootstrap/dist/css/bootstrap.min.css">
<link id="uiCSS" rel="stylesheet" href="ui.css">
<title>AudioMoth GPS Sync App</title>
</head>
<body style="font-size: 10pt; overflow-x:hidden; font-family: Helvetica, Arial, sans-serif;-webkit-user-select: none; -webkit-app-region: drag;">
<div class="container" style="padding: 8px;">
<div class="row">
<div class="col-12" style="text-align: center; padding-bottom: 8px; padding-left: 12px; padding-right: 12px;">
<div style="border: #cdcdcd thin solid; width: 100%;">
<div class="row" style="margin-top: 8px; margin-bottom: 8px;">
<div class="col-9" style="text-align: left;">
<span id="synced-192-label" style="margin-left: 17px;">Generate synced WAV file at 192kHz:</span>
</div>
<div class="col-3" style="text-align: right;">
<input id="synced-192-checkbox" type="checkbox" style="margin-right: 21px;">
</div>
</div>
<div class="row" style="margin-bottom: 8px;">
<div class="col-9" style="text-align: left;">
<span id="auto-resolve-label" style="margin-left: 17px;">Try to auto-resolve issues with poor GPS signal reception:</span>
</div>
<div class="col-3" style="text-align: right;">
<input id="auto-resolve-checkbox" type="checkbox" style="margin-right: 21px;">
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-12" style="text-align: center; padding-bottom: 8px; padding-left: 12px; padding-right: 12px;">
<div style="border: #cdcdcd thin solid; width: 100%;">
<div class="row" style="margin-top: 1%; margin-bottom: 8px;">
<div class="col-12">
<div style="margin-left: 8px; margin-right: 8px">
<table class="table" style="margin-bottom: 8px;">
<tr class="settings-text" style="font-size: 12px;" title="Select multiple files or a folder of recordings.">
<td align="center" style="padding: 0px;"></td>
<td align="center" style="padding: 0px;"></td>
<td align="center" style="padding: 0px;"></td>
<td align="center" style="padding: 0px;"></td>
<td align="center" style="padding: 0px;"></td>
<td align="center" style="padding: 0px;"></td>
<td align="center" style="padding: 0px;"></td>
<td align="center" style="padding: 0px;" name="selection-radio-label">File</td>
<td align="center" style="padding: 0px; width: 45px;" name="selection-radio-label">Folder</td>
</tr>
<tr class="settings-text" title="Select multiple files or a folder of recordings.">
<td align="left" style="padding-top: 0px; padding-bottom: 0px;" id="selection-type-label">Selection type:</td>
<td align="center" style="padding-top: 0px; padding-bottom: 0px"></td>
<td align="center" style="padding-top: 0px; padding-bottom: 0px"></td>
<td align="center" style="padding-top: 0px; padding-bottom: 0px"></td>
<td align="center" style="padding-top: 0px; padding-bottom: 0px"></td>
<td align="center" style="padding-top: 0px; padding-bottom: 0px"></td>
<td align="center" style="padding-top: 0px; padding-bottom: 0px"></td>
<td align="center" style="padding-top: 0px; padding-bottom: 0px">
<input class="settings-inputs" type="radio" value="0" name="selection-radio" checked>
</td>
<td align="center" style="padding-top: 0px; padding-bottom: 0px">
<input class="settings-inputs" type="radio" value="1" name="selection-radio">
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="row" style="margin-top: 8px; margin-bottom: 8px;">
<div class="col-4">
<button id="file-button" class="btn btn-primary" style="width: 100%; margin-left: 16px;">Select Files</button>
</div>
<div class="col-8">
<div style="margin-top: 11px; text-align: right; margin-right: 16px;">
<span id="file-label" title="AudioMoth recordings will have a file name ending in '.WAV'.">No AudioMoth WAV files selected.</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-12" style="text-align: center; padding-bottom: 8px; padding-left: 12px; padding-right: 12px;">
<div style="border: #cdcdcd thin solid; width: 100%;">
<div class="row" style="margin-top: 8px; margin-bottom: 8px;">
<div class="col-1">
<input id="prefix-checkbox" type="checkbox" style="margin-left: 16px; margin-top: 9px;">
</div>
<div class="col-5" style="padding-left: 0px;">
<div style="margin-top: 6px; margin-bottom: 0px; text-align: left;">
<label id="prefix-label" for="prefix-checkbox" title="Prefix which will be added to WAV file to differentiate it from the original file" style="margin-left: 20px;" class="grey">Add WAV file prefix:</label>
</div>
</div>
<div class="col-6">
<div style="text-align: right; margin-top: 2px; margin-bottom: 0px; margin-right: 16px;">
<input id="prefix-input" maxlength="20" disabled style="text-align: right;" class="grey">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-12" style="text-align: center; padding-bottom: 8px; padding-left: 12px; padding-right: 12px;">
<div style="border: #cdcdcd thin solid; width: 100%;">
<div class="row" style="margin-top: 12px; margin-bottom: 8px;">
<div class="col-9" style="text-align: left;">
<span style="margin-left: 17px;">Enable destination folder:</span>
</div>
<div class="col-3" style="text-align: right;">
<input id="output-checkbox" type="checkbox" style="margin-right: 21px;">
</div>
</div>
<div class="row" style="margin-bottom: 16px;">
<div class="col-9" style="text-align: left;">
<span class="grey" id="subdirectories-label" style="margin-left: 17px;">Generate subfolders in destination:</span>
</div>
<div class="col-3" style="text-align: right;">
<input id="subdirectories-checkbox" type="checkbox" style="margin-right: 21px;" disabled>
</div>
</div>
<div class="row" style="margin-top: 8px; margin-bottom: 8px;">
<div class="col-4">
<button id="output-button" class="btn btn-primary" style="width: 100%; margin-left: 16px;" disabled>Select Destination</button>
</div>
<div class="col-8">
<div style="margin-top: 11px; text-align: right; margin-right: 16px;">
<span id="output-label">Writing WAV files to source folder.</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="fixed-bottom" style="padding: 8px; padding-top: 8px;">
<div style="width: 100%;">
<div class="row">
<div class="col-12">
<button id="sync-button" class="btn btn-success" disabled style="width: 100%;">Sync Files</button>
</div>
</div>
</div>
</div>
</body>
<script>
window.jQuery = window.$ = require('jquery');
</script>
<script src="./node_modules/bootstrap/dist/js/bootstrap.bundle.js"></script>
<script src="index.js" charset="utf-8"></script>
</html>