Dateien nach „/“ hochladen

This commit is contained in:
hubobel 2026-01-03 17:17:24 +01:00
parent 5b62faf785
commit da83ee74a1
5 changed files with 1260 additions and 0 deletions

130
sensors.html Normal file
View file

@ -0,0 +1,130 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LCARS Terminal - Sensors</title>
<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=Antonio:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="lcars-container">
<!-- Header / Top Bar -->
<div class="lcars-header">
<div class="lcars-elbow-top-left"></div>
<div class="lcars-bar-horizontal">
<span class="lcars-title">LCARS TERMINAL 24-03</span>
</div>
<div class="lcars-bar-curve-right"></div>
</div>
<!-- Sidebar + Content Area -->
<div class="lcars-middle">
<div class="lcars-sidebar">
<a href="index.html" style="text-decoration: none;">
<div class="lcars-button lcars-orange">SYSTEM</div>
</a>
<div class="lcars-button lcars-pale-orange">LIBRARY</div>
<div class="lcars-button lcars-purple">SENSORS</div>
<div class="lcars-spacer"></div>
<div class="lcars-button lcars-blue">ANALYSIS</div>
<a href="mode.html" style="text-decoration: none;">
<div class="lcars-button lcars-red">MODE</div>
</a>
<!-- Bottom elbow connector for sidebar -->
<div class="lcars-column-fill"></div>
</div>
<main class="lcars-main-content">
<div class="lcars-content-frame">
<h1>SENSOR ARRAY</h1>
<div class="data-grid" style="margin-top: 20px;">
<!-- Power Sensor -->
<div id="sensor-power" class="data-block lcars-red-bg"
style="width: 150px; height: 80px; display: flex; flex-direction: column; justify-content: flex-end; padding: 5px; color: black; font-weight: bold;">
<span style="font-size: 10px;">LEISTUNGSBEZUG</span>
<span id="val-power" style="font-size: 24px;">--</span>
</div>
<!-- Consumption Sensor -->
<div id="sensor-consumption" class="data-block lcars-purple-bg"
style="width: 150px; height: 80px; display: flex; flex-direction: column; justify-content: flex-end; padding: 5px; color: black; font-weight: bold;">
<span style="font-size: 10px;">TAGESBEZUG</span>
<span id="val-consumption" style="font-size: 24px;">--</span>
</div>
<!-- Gas Sensor -->
<div id="sensor-gas" class="data-block lcars-blue-bg"
style="width: 150px; height: 80px; display: flex; flex-direction: column; justify-content: flex-end; padding: 5px; color: black; font-weight: bold; margin-left: 40px;">
<span style="font-size: 10px;">GAS</span>
<span id="val-gas" style="font-size: 24px;">--</span>
</div>
<!-- Water Sensor -->
<div id="sensor-water" class="data-block lcars-blue-bg"
style="width: 150px; height: 80px; display: flex; flex-direction: column; justify-content: flex-end; padding: 5px; color: black; font-weight: bold;">
<span style="font-size: 10px;">WASSER</span>
<span id="val-water" style="font-size: 24px;">--</span>
</div>
</div>
<!-- Second Row: Weather -->
<div class="data-grid" style="margin-top: 40px;">
<!-- Temperature -->
<div id="sensor-temp" class="data-block lcars-orange-bg"
style="width: 150px; height: 80px; display: flex; flex-direction: column; justify-content: flex-end; padding: 5px; color: black; font-weight: bold;">
<span style="font-size: 10px;">AUSSENTEMPERATUR</span>
<span id="val-temp" style="font-size: 24px;">--</span>
</div>
<!-- Humidity -->
<div id="sensor-humidity" class="data-block lcars-light-blue-bg"
style="width: 150px; height: 80px; display: flex; flex-direction: column; justify-content: flex-end; padding: 5px; color: black; font-weight: bold; background-color: var(--lcars-light-blue);">
<span style="font-size: 10px;">LUFTFEUCHTIGKEIT</span>
<span id="val-humidity" style="font-size: 24px;">--</span>
</div>
<div class="data-block lcars-red-bg" style="width: 80px;"></div>
</div>
<!-- Third Row: Internal Weather -->
<div class="data-grid" style="margin-top: 10px;">
<!-- Inner Temperature -->
<div id="sensor-inner-temp" class="data-block lcars-pink-bg"
style="width: 150px; height: 80px; display: flex; flex-direction: column; justify-content: flex-end; padding: 5px; color: black; font-weight: bold; background-color: var(--lcars-pink);">
<span style="font-size: 10px;">INNENTEMPERATUR</span>
<span id="val-inner-temp" style="font-size: 24px;">--</span>
</div>
<!-- Inner Humidity -->
<div id="sensor-inner-humidity" class="data-block lcars-pale-orange-bg"
style="width: 150px; height: 80px; display: flex; flex-direction: column; justify-content: flex-end; padding: 5px; color: black; font-weight: bold; background-color: var(--lcars-pale-orange);">
<span style="font-size: 10px;">LUFTFEUCHTIGKEIT</span>
<span id="val-inner-humidity" style="font-size: 24px;">--</span>
</div>
</div>
</div>
</main>
</div>
<!-- Footer -->
<div class="lcars-footer">
<div class="lcars-elbow-bottom-left"></div>
<div class="lcars-bar-horizontal-bottom">
<span class="lcars-status">ONLINE</span>
</div>
</div>
</div>
<!-- Socket.IO Client from Server -->
<script src="http://10.0.1.122:8084/socket.io/socket.io.js"></script>
<script src="script.js"></script>
</body>
</html>