-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (78 loc) · 3.66 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PZB</title>
<!-- CSS Import -->
<link rel="stylesheet" href="normalize.css">
<link rel="stylesheet" href="style.css">
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet">
</head>
<body>
<main>
<div id="interface">
<div class="pzbContainer">
<table>
<!-- Leuchtmelder -->
<tr class="speed">
<td class="indicator blueSpeedLimit bigFont" id="lm55">55</td>
<td class="indicator blueSpeedLimit bigFont" id="lm70">70</td>
<td class="indicator blueSpeedLimit bigFont" id="lm85">85</td>
<td class="indicator bigFont" id="lmG">G</td>
</tr>
<tr class="status">
<td class="indicator" id="lmBefehl40">Befehl<br>40</td>
<td class="indicator" id="lm500Hz">500 Hz</td>
<td class="indicator" id="lm1000Hz">1000 Hz</td>
<td class="indicator bigFont" id="lmS">S</td>
</tr>
</table>
</div>
<div id="controls">
<div class="pzbControls">
<img src="img/pzb/befehl.png" alt="Befehl Button" class="pzbControl" id="befehlButton">
<img src="img/pzb/freiInactive.png" alt="Frei Button" class="pzbControl" id="freiButton">
<img src="img/pzb/wachsamInactive.png" alt="Wachsam Button" class="pzbControl" id="wachsamButton">
<input type="checkbox" name="pzbHauptschalter" id="pzbHauptschalter"><label for="pzbHauptschalter"> PZB On/Off</label>
</div>
</div>
</div>
<div class="trainControls flex">
<!-- Main Information -->
<div class="speed flex">
<p>Train speed:</p>
<input type="range" name="Speed" id="speedSlider" min="0" max="180" value="0">
<p id="speedIndicator">0</p>
<p> Meters traveled:</p>
<p id="traveledMeters">0</p>
</div>
<!-- Train Controls -->
<div class="levers">
<div id="throttleGroup">
<label for="throttle">Throttle</label><input type="range" name="throttle" id="throttle" min="0" max="10" value="0">
</div>
<div id="brakeGroup">
<label for="brake">Brake</label><input type="range" name="brake" id="brake" min="0" max="10" value="7">
</div>
</div>
</div>
<div class="magnetButtons flex">
<div class="uiButton" id="1000HzAufrufenButton">1000Hz Aufrufen</div>
<div class="uiButton" id="500HzAufrufenButton">500Hz Aufrufen</div>
</div>
</main>
<footer>
<a href="https://github.com/Matias-Rossi/pzb">More information on this project</a>
</footer>
<script src="scripts/environment.js" type="module"></script>
<script src="scripts/pzb.js" type="module"></script>
<script src="scripts/trainControls.js" type="module"></script>
<script src="scripts/pzbLightCombinations.js" type="module"></script>
<script src="scripts/lightController.js" type="module"></script>
</body>
</html>