-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
102 lines (81 loc) · 5.17 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
<!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">
</head>
<body style="font-size: 10pt; overflow:hidden; font-family: Helvetica, Arial, sans-serif;-webkit-user-select: none; -webkit-app-region: drag;">
<div class="container">
<div class="row" style="padding-top: 8px;">
<ul class="nav nav-tabs nav-justified" style="width: 100%; font-size: 10pt; font-family: Helvetica, Arial, sans-serif;" role="tablist">
<li class="nav-item" style="margin-left: 10px; margin-right: 10px;">
<a class="nav-link active" data-bs-toggle="tab" data-bs-target="#download-tab" id="download-tab-link" role="tab">Use Standard Release</a>
</li>
<li class="nav-item" style="margin-right: 10px;">
<a class="nav-link" data-bs-toggle="tab" data-bs-target="#local-tab" id="local-tab-link" role="tab">Use Local File</a>
</li>
</ul>
</div>
<div class="tab-content" style="margin-top: 8px;">
<div role="tabpanel" class="tab-pane fade in active show" id="download-tab" role="tabpanel">
<div class="row" style="margin-top: 8px;">
<div class="col-9" style="padding-left: 8px;">
<div class="row" style="margin-left: 0px; margin-bottom: 8px; width: 409px; border: #cdcdcd thin solid;">
<span style="overflow-x: hidden; overflow-y: scroll; overflow-wrap: break-word; height: 210px; width: 100%; margin-left: 8px;" id="release-description-span">
</div>
<div class="row" style="margin-left: 0px; margin-bottom: 8px; width: 409px;">
<button id="download-button" class="btn btn-primary" style="width: 100%;" disabled>Download</button>
</div>
</div>
<div class="col-3" style="padding-left: 11px; padding-right: 8px; text-align: right;">
<select id="version-select" size="16" style="width: 114px; height: 258px; text-align: center;"></select>
</div>
</div>
</div>
<div role="tabpanel" class="tab-pane fade in" id="local-tab" role="tabpanel">
<div style="border: #cdcdcd thin solid; width: 100%; margin-top: 8px;">
<div class="row" style="margin-top: 8px; margin-bottom: 8px;">
<div class="col-3">
<button id="file-button" class="btn btn-primary" style="width: 100%; margin-left: 11px">Select File</button>
</div>
<div class="col-8">
<div style="margin-top: 8px;">
<span id="file-label">No file selected.</span>
</div>
</div>
</div>
</div>
<div style="border: #cdcdcd thin solid; margin-top: 8px; width: 100%; display: none;" id="overwrite-bootloader-div">
<div class="row" style="margin-top: 8px; margin-bottom: 8px;">
<div class="col-6" style="text-align: left;">
<span style="margin-left: 9%;">Overwrite bootloader:</span>
</div>
<div class="col-6" style="text-align: right;">
<input id="destructive-checkbox" type="checkbox" style="margin-right: 20px;">
</div>
</div>
</div>
</div>
</div>
<div class="fixed-bottom" style="padding: 8px; padding-bottom: 8px;">
<div style="width: 100%; margin-bottom: 8px; border: #cdcdcd thin solid; height: 52px;">
<div class="col-lg-5" id="status-div" style="margin-bottom: 8px; margin-top: 8px; text-align: center;">No AudioMoth found.<br>Make sure the USB cable is connected and the switch is in USB/OFF.</div>
</div>
<div class="row">
<div class="col-12">
<div style="text-align: center; width: 100%;">
<button id="flash-button0" class="btn btn-success" disabled style="width: 100%;">Flash AudioMoth</button>
<button id="flash-button1" class="btn btn-success" disabled style="width: 100%; display: none;">Flash AudioMoth</button>
</div>
</div>
</div>
</div>
</div>
</body>
<script>
window.jQuery = window.$ = require('jquery');
</script>
<script src="app.js" charset="utf-8"></script>
<script src="./node_modules/bootstrap/dist/js/bootstrap.bundle.js"></script>
</html>