-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (54 loc) · 2.09 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>EnergyJuggler</title>
<link rel="stylesheet" type="text/css" href="style.css">
<script type="text/javascript" src="app.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
</head>
<body>
<button class="button" id="connect">Connect to Arduino</button>
<div id="output"></div>
<div class="bar-container" id="bar-container">
<div id="barwrapper1" class="barwrapper">
<h1 class="title">Erneuerbare</h1>
<div id="bar1" class="bar"></div>
<div id="bar1b" class="bar"></div>
</div>
<div id="barwrapper2" class="barwrapper">
<h1 class="title">Fossile</h1>
<div id="bar2" class="bar"></div>
<div id="bar2b" class="bar"></div>
</div>
<div id="barwrapper3" class="barwrapper">
<h1 class="title">Speicher</h1>
<div id="bar3" class="bar"></div>
<div id="bar3a" class="bar"></div>
<div id="bar3b" class="bar"></div>
<div id="bar3b1" class="bar"></div>
<div id="bar3b2" class="bar"></div>
</div>
<div id="barwrapper4" class="barwrapper">
<div id="bar4" class="bar"></div>
</div>
<div id="barwrapper5" class="barwrapper">
<h1 class="title">Speicherstand</h1>
<div id="bar5" class="bar"></div>
</div>
</div>
<div id="chartwrapper">
<canvas id="chart"></canvas>
</div>
<div id="blackoutScreen">
<div id="blackoutwrapper">
<div id="blackouttitle">Du hast einen Blackout verursacht.</div>
<img id="blackoutImage" src="img/blackout.png" alt="Blackout Image" />
<button id="restart" onclick="restartSystem()">Erneut versuchen</button>
</div>
</div>
</div>
</body>
</html>