-
Notifications
You must be signed in to change notification settings - Fork 21
/
dashboard.html
183 lines (171 loc) · 6.3 KB
/
dashboard.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
<!--
Copyright (c) 2012 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<html>
<head>
<meta charset="utf-8">
<title>VR Dashboard</title>
<link rel="icon" href="zicon.png">
<link rel="stylesheet" href="style.css">
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCiGKPRYd4RyuPKGuHH-tKrcjOY4vUvLbI"></script>
<script type="module" src="dashboard.js"></script>
</head>
<body>
<div class="container">
<div class="topgrid">
<div>
<label><b>Boat: </b></label>
<label id="lb_boatname"><unknown></label>
</div>
<div>
<label>Select Race</label>
<select id="sel_race" name="race"></select>
<button id="bt_router">Go</button>
</div>
<div style="display: block">
<label>Select Router</label>
<select id="sel_router" name="router">
<option value="zezo" selected>Zezo</option>
<option value="bitsailor">Bitsailor</option>
<option value="bitsailor_beta">Bitsailor beta</option>
<option value="local">local</option>
</select>
</div>
<div>
<input type="checkbox" id="auto_router" checked>
<label>Auto router window</label>
</div>
<div>
<input type="checkbox" id="reuse_tab" checked>
<label>Reuse tabs</label>
</div>
<div>
<input type="checkbox" id="nmea_output">
<label>NMEA</label>
<select id="sel_nmeaport" name="nmeaport">
<option value="8081">8081</option>
<option value="8082">8082</option>
<option value="8083">8083</option>
<option value="8084">8084</option>
</select>
</div>
<div>
<form action="https://www.paypal.com/donate" method="post" target="_top">
<input type="hidden" name="hosted_button_id" value="ZUPP95R3A3686" />
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
</form>
</div>
<div>
<label>Version</label>
<label id="lb_version"></label>
</div>
<div>
<label><b>Team: </b></label>
<label id="lb_teamname">-</label>
</div>
<div>
</div>
<div>
<label>NOAA Cycle: </label>
<label id="lb_cycle">-</label>
</div>
<div>
<input type="checkbox" id="markers">
<label>Show track info</label>
</div>
<div>
<input type="checkbox" id="local_time">
<label>Local times</label>
</div>
<div>
</div>
<div>
</div>
<div>
<label type="button"><a href="manual.html" target="_blank">User manual</a></label>
</div>
</div>
<div id="raceStatus">
</div>
<ul class="tabs">
<li class="tab">
<input type="radio" name="tabs" checked="checked" id="ts:1"/>
<label for="ts:1">Race Log</label>
</li>
<li class="tab">
<input type="radio" name="tabs" id="ts:2"/>
<label for="ts:2">Fleet</label>
</li>
<li class="tab">
<input type="radio" name="tabs" id="ts:4"/>
<label for="ts:4">Map</label>
</li>
<li class="tab">
<input type="radio" name="tabs" id="ts:3"/>
<label for="ts:3">Raw Log</label>
</li>
</ul>
<div align="center">
<fieldset class="fieldset" id="sel_skippers" align="left">
<legend>Filters</legend>
<ul class="tab2">
<li class="tab">
<input type="checkbox" id="sel_friends" name="checkbox1" class="content hidden" checked>
<label for:"sel_friends" id="lbl_friends">Friends</label>
</li>
<li class="tab">
<input type="checkbox" id="sel_team" name="checkbox3" class="content hidden" checked>
<label for:"sel_team" id="lbl_team">Team</label>
</li>
<li class="tab">
<input type="checkbox" id="sel_top" name="checkbox4" class="content hidden" checked>
<label for:"sel_top" id="lbl_top">Top VSR</label>
</li>
<li class="tab">
<input type="checkbox" id="sel_opponents" name="checkbox2" class="content hidden" checked>
<label for:"sel_opponents" id="lbl_opponents">Opponents</label>
</li>
<li class="tab">
<input type="checkbox" id="sel_sponsors" name="checkbox6" class="content hidden" checked>
<label for:"sel_sponsors" id="lbl_sponsors">Sponsors</label>
</li>
<li class="tab">
<input type="checkbox" id="sel_certified" name="checkbox8" class="content hidden" checked>
<label for:"sel_certified" id="lbl_certified">Certified</label>
</li>
<li class="tab">
<input type="checkbox" id="sel_reals" name="checkbox5" class="content hidden" checked>
<label for:"sel_reals" id="lbl_reals">Reals</label>
</li>
<li class="tab">
<input type="checkbox" id="sel_inrace" name="checkbox7" class="content hidden">
<label for:"sel_inrace" id="lbl_inrace">Racing</label>
</li>
</ul>
</fieldset>
</div>
</div>
<div id="tab-content1" class="content">
<div id="recordlog"></div>
</div>
<div id="tab-content2" class="content hidden">
<div id="friendList"></div>
</div>
<div id="tab-content3" class="content hidden">
<input type="checkbox" id="cb_rawlog">
<label>Log messages</label>
<button id="bt_clear">Clear log</button>
<div style="white-space: pre;" id="rawlog"></div>
</div>
<div id="tab-content4" class="content hidden">
<div id="mapMenu" style="position:absolute; border: 2px solid #505056; border-radius:2px; background:#505056; display:none;">
<div style="display: flex; flex-direction: column;">
<button id="bt_setVMC" style="text-align:left;">VMC target</button>
<!--button id="bt_setVMC" style="text-align:left;">Other useful command</button-->
</div>
</div>
</div>
</body>
</html>