-
Notifications
You must be signed in to change notification settings - Fork 7
/
aligning.html
186 lines (144 loc) · 10.2 KB
/
aligning.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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="../node_modules/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="../index.css">
<link id="uiCSS" rel="stylesheet" href="../ui.css">
<style>
::-webkit-scrollbar {
display: none;
}
</style>
<title>Synchronise AudioMoth Files</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="text-align: center; padding: 8px;">
<div class="row">
<div class="col-12" style="padding-top: 0px; padding-bottom: 8px; padding-left: 12px; padding-right: 12px;">
<div style="border: #cdcdcd thin solid;">
<div class="row" style="margin-top: 12px; margin-bottom: 12px;">
<div class="col-9" style="padding: 0px; padding-left: 12px; text-align: left;">
<label for="between-fixes-checkbox" style="margin-left: 20px; margin-bottom: 0px;">Only process files between GPS fixes:</label>
</div>
<div class="col-3" style="text-align: right; padding: 0px; padding-right: 12px;">
<input id="between-fixes-checkbox" type="checkbox" style="margin-right: 20px;" checked>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-12" style="padding-top: 0px; padding-bottom: 8px; padding-left: 12px; padding-right: 12px;">
<div style="border: #cdcdcd thin solid;">
<div class="row" style="margin-top: 8px; padding-left: 12px; padding-right: 12px;">
<div style="padding-left: 20px; padding-right: 10px;">
<table class="table" style="margin-bottom: 0px;">
<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." aria-hidden="true">
<td align="left" style="padding: 0px;" id="selection-type-label">Selection type:</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;">
<input class="settings-inputs" type="radio" value="0" name="selection-radio" aria-label="Selection type file" checked>
</td>
<td align="center" style="padding: 0px;">
<input class="settings-inputs" type="radio" value="1" name="selection-radio" aria-label="Selection type folder">
</td>
</tr>
</table>
</div>
</div>
<div class="row" style="margin-top: 8px; margin-bottom: 12px;">
<div class="col-5" style="padding-left: 12px;">
<button id="file-button" class="btn btn-primary" style="width: 100%; margin-left: 20px;">Select Files</button>
</div>
<div class="col-7" style="padding-right: 12px;">
<div style="margin-top: 11px; text-align: right; margin-right: 20px;">
<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="padding-top: 0px; padding-bottom: 8px; padding-left: 12px; padding-right: 12px;">
<div style="border: #cdcdcd thin solid;">
<div class="row" style="margin-top: 8px; margin-bottom: 8px;">
<div class="col-1" style="padding: 0px; padding-left: 12px; text-align: left;">
<label for="prefix-checkbox" id="prefix-checkbox-label" class="visually-hidden">Add prefix to WAV file names:</label>
<input id="prefix-checkbox" name="AddPrefix" type="checkbox" style="margin-left: 20px; 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" style="padding: 0px; padding-right: 12px;">
<div style="text-align: right; margin-top: 2px; margin-bottom: 0px; margin-right: 20px;">
<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="padding-top: 0px; padding-left: 12px; padding-right: 12px;">
<div style="border: #cdcdcd thin solid;">
<div class="row" style="margin-top: 12px; margin-bottom: 16px;">
<div class="col-9" style="padding: 0px; padding-left: 12px; text-align: left;">
<label for="output-checkbox" style="margin-left: 20px; margin-bottom: 0px;">Enable destination folder:</label>
</div>
<div class="col-3" style="text-align: right; padding: 0px; padding-right: 12px;">
<input id="output-checkbox" name="EnableDestinationFolder" type="checkbox" style="margin-right: 20px;">
</div>
</div>
<div class="row" style="margin-bottom: 16px;">
<div class="col-9" style="padding: 0px; padding-left: 12px; text-align: left;">
<label for="subdirectories-checkbox" class="grey" id="subdirectories-label" style="margin-left: 20px; margin-bottom: 0px;">Generate subfolders in destination:</label>
</div>
<div class="col-3" style="text-align: right; padding: 0px; padding-right: 12px;">
<input id="subdirectories-checkbox" name="GenerateSubfolders" type="checkbox" style="margin-right: 20px;" disabled>
</div>
</div>
<div class="row" style="margin-top: 8px; margin-bottom: 12px;">
<div class="col-4" style="padding: 0px; padding-left: 12px; text-align: left;">
<button id="output-button" class="btn btn-primary" style="width: 100%; margin-left: 20px;" disabled>Select Destination</button>
</div>
<div class="col-8" style="padding: 0px; padding-right: 12px;">
<div style="margin-top: 11px; text-align: right; margin-right: 20px;">
<span id="output-label">Writing WAV files to source folder.</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="fixed-bottom" style="padding: 8px;">
<div style="width: 100%;">
<div class="row">
<div class="col-12">
<button id="align-button" class="btn btn-success" disabled style="width: 100%;">Synchronise Files</button>
</div>
</div>
</div>
</div>
</body>
<script src="../node_modules/bootstrap/dist/js/bootstrap.bundle.js"></script>
<script src="uiAlign.js" charset="utf-8"></script>
</html>