-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
80 lines (79 loc) · 3.85 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
<!DOCTYPE html>
<html>
<head>
<title>Ico Dashboard</title>
<script defer src = "./assets/js/index.js"></script>
<script src="./assets/js/Chart.js"></script>
<script src="./assets/js/jquery-3.6.1.min.js"></script>
<script src="./assets/js/bootstrap.bundle.min.js"></script>
<link rel="stylesheet" href="./assets/css/bootstrap.min.css">
<link rel="stylesheet" href="./assets/css/main.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
</head>
<body>
<div class="columns">
<div class="column">
<div class="box">
<p id="teamNumberText">Team Number: </p>
<br/>
<div class="box">
<img src="./assets/img/no-cam-feed.jpg" id="videoStream" width="460px"></img>
</div>
<form id="IPandPortForm">
<div class="field">
<input class="input" type="text" id="IPandPort" placeholder="Enter IP:Port or Use Default" autofocus required/>
</div>
</form>
<br>
<button id="connect-video-stream" class="button is-success" onclick="connectVideoStream()">connect</button>
<button id="disconnect-video-stream" class="button is-warning" onclick="disconectVideoStream()">disconnect</button>
</div>
</div>
<div class="column">
<div class="box" id="Data Box">
<table class="table is-striped table is-narrow is-bordered">
<thead id="Smartdashboard thead">
<tr>
<th id="Smartdashboard Label">Smartdashboard Label</th>
<th id="Smartdashboard Value">Smartdashboard Value</th>
</tr>
</thead>
<tbody id="Smartdashboard Table Result"></tbody>
<thead id="Shuffleboard thead">
<tr>
<th id="Shuffleboard Label">Shuffleboard Label</th>
<th id="Shuffleboard Value">Shuffleboard Value</th>
</tr>
</thead>
<tbody id="Shuffleboard Table Result"></tbody>
</table>
<table class="table is-striped table is-narrow is-bordered">
<thead>
<tr>
<th colspan="2">FMS & Mode Data</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top" style="overflow:hidden;" nowrap="nowrap" max-width="200px" width="200px">Mode</td>
<td><span style="text-align: center;" id="CurrentMode"></span></td>
</tr>
<tr>
<td align="left" valign="top" style="overflow:hidden;" nowrap="nowrap" max-width="200px" width="200px">FMS</td>
<td><span style="text-align: center;" id="isFMSConnected"></span></td>
</tr>
<tr>
<td align="left" valign="top" style="overflow:hidden;" nowrap="nowrap" max-width="200px" width="200px">Allaince</td>
<td><span style="text-align: center;" id="AllainceColour"></span></td>
</tr>
</tbody>
</table>
<br id="Button Break">
<button id="connect" class="button is-success" onclick="ntcoreConnect()">connect</button>
<button id="disconnect" class="button is-warning" onclick="ntcoreDisconnect()">disconnect</button>
</div>
</div>
</div>
</div>
</body>
</html>