-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
145 lines (120 loc) · 5.86 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Boiler Plate -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Spot (good dawg) House Control</title>
<!-- Links -->
<link rel="stylesheet" href="./index.css">
<script src="./index.js" defer></script>
<script src="./indexButtons.js" defer></script>
<script src="./indexBatteryGraphic.js" defer></script>
<script src="./serverSentEventHandler.js" defer></script>
</head>
<body>
<header>
<img id="EPRILogo" src="./Assets/EPRI-logo.png" alt="EPRI Icon">
<section>
<button class="button" id="terminalButton">Terminal</button>
<button class="button" id="rebootButton">Reboot</button>
</section>
</header>
<main class="container">
<section id="spotContainer">
<section id="spot">
<h1>Spot</h1>
<article id="battery">
<figure class="backgroundContainer">
<figure class="input progressBarContainer" id="batteryGraphicBackground">
<figcaption class="progressBarOverlay" id="batteryPercentageOutput"></figcaption>
<figure class="progressBar" id="batteryGraphicOutput"></figure>
</figure>
</figure>
</article>
</section>
</section>
<section id="cameraContainer">
<section id="camera">
<h1>Camera Views</h1>
<button class="input button" id="externalCameraButton">External</button>
<button class="input button" id="internalCameraButton">Internal</button>
</section>
</section>
<section id="weatherStationContainer">
<section id="weatherStation">
<h1>Weather</h1>
<article id="externalTemperature">
<span class="label">Outdoor Temperature:</span>
<span class="output" id="externalTemperatureOutput"></span>
<span class="label"> °C</span>
</article>
<article id="windSpeed">
<span class="label">Wind Speed:</span>
<span class="output" id="windSpeedOutput"></span>
<span class="label"> kts</span>
<span class="output" id="windDirectionOutput"></span>
</article>
<!-- <article id="precipitation">
<span class="label">Precipitation:</span>
<span class="output" id="precipitationOutput"></span>
<span class="label">in</span>
</article> -->
<article id="pressure">
<span class="label">Pressure:</span>
<span class="output" id="pressureOutputHG"></span>
<span class="label"> inHg</span>
<span class="output" id="pressureOutputBar"></span>
<span class="label"> bar</span>
</article>
<article id="humidity">
<span class="label">Humidity:</span>
<span class="output" id="humidityOutput"></span>
<span class="label"> %</span>
</article>
<article id="dewPoint">
<span class="label">Dew Point:</span>
<span class="output" id="dewPointOutput"></span>
<span class="label"> °C</span>
</article>
</section>
</section>
<section id="dockingStationContainer">
<section id="dockingStation">
<h1>Docking Station Controls</h1>
<button id="indoorLightButton" class="input button">Indoor Light: Off</button>
<button id="outdoorLightButton" class="input button">Outdoor Light: Off</button>
<button id="fanSpeedButton" class="input button">Fan Speed: Fast</button>
<button id="fanStopButton" class="input button">Fan: Off</button>
<button class="input button" id="stopDoorButton">HALT DOOR</button>
<button class="button progressBarContainer" id="openDoorButton">
<span class="input button progressBarOverlay">Open Door</span>
<figure class="input button progressBar" id="openDoorProgress"></figure>
</button>
<button class="button progressBarContainer" id="closeDoorButton">
<span class="input button progressBarOverlay">Close Door</span>
<figure class="input button progressBar" id="closeDoorProgress"></figure>
</button>
<article id="internalTemperature">
<span class="label">Indoor Temperature:</span>
<span class="output" id="internalTemperatureOutput"></span>
<span class="label"> °C</span>
</article>
<article id="powerStatus">
<span class="label">Power:</span>
<figure id="powerStatusOutput"></figure>
</article>
</section>
</section>
<section id="messagesContainer">
<section id="messages">
<h1>System Messages</h1>
<article id="messagesTextbox">
text<br>text<br>text
</article>
<button class="input button" id="clearTextboxButton">Clear</button>
</section>
</section>
</main>
</body>
</html>