lcars/mode.html

159 lines
No EOL
9.9 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LCARS Terminal - Mode Select</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>
<a href="sensors.html" style="text-decoration: none;">
<div class="lcars-button lcars-purple">SENSORS</div>
</a>
<div class="lcars-spacer"></div>
<div class="lcars-button lcars-blue">ANALYSIS</div>
<div class="lcars-button lcars-red">MODE</div>
<!-- Bottom elbow connector for sidebar -->
<div class="lcars-column-fill"></div>
</div>
<main class="lcars-main-content">
<div class="lcars-content-frame">
<h1>COMMAND SEQUENCES</h1>
<div class="data-grid" style="margin-top: 20px; flex-wrap: wrap;">
<!-- Placeholder Buttons -->
<div id="btn-tree" class="lcars-button lcars-orange"
style="width: 200px; margin-right: 10px; border-radius: 25px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; padding-right: 20px;">
<span>WEIHNACHTSBAUM</span>
<span id="val-tree-power" style="font-size: 10px; line-height: 12px;">-- W</span>
</div>
<div id="btn-terrace" class="lcars-button lcars-blue"
style="width: 200px; margin-right: 10px; border-radius: 25px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; padding-right: 20px;">
<span>TERRASSENTÜR</span>
<span id="val-terrace-power" style="font-size: 10px; line-height: 12px;">-- W</span>
</div>
<div id="btn-window" class="lcars-button lcars-red"
style="width: 200px; margin-right: 10px; border-radius: 25px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; padding-right: 20px;">
<span>FENSTER</span>
<span id="val-window-power" style="font-size: 10px; line-height: 12px;">-- W</span>
</div>
<div id="btn-charger" class="lcars-button lcars-pale-orange"
style="width: 200px; margin-right: 10px; border-radius: 25px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; padding-right: 20px;">
<span>LADER</span>
<span id="val-charger-power" style="font-size: 10px; line-height: 12px;">-- W</span>
</div>
<div id="btn-tv" class="lcars-button lcars-purple"
style="width: 200px; margin-right: 10px; border-radius: 25px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; padding-right: 20px;">
<span>TV</span>
<span id="val-tv-power" style="font-size: 10px; line-height: 12px;">-- W</span>
</div>
</div>
<!-- Roller Shutter Controls -->
<div class="data-grid" style="margin-top: 60px; display: flex; justify-content: space-between;">
<!-- Rollo 1: Wohnzimmer -->
<div style="width: 32%; display: flex; flex-direction: column; align-items: center;">
<div style="display: flex; width: 100%; align-items: center; margin-bottom: 5px;">
<span style="font-size: 16px; flex-grow: 1;">FENSTER</span>
<span id="val-rollo" style="font-size: 16px;">--</span>
</div>
<input type="range" id="range-rollo" min="0" max="100" value="0" class="lcars-slider"
style="margin-bottom: 10px;">
<div style="display: flex; gap: 5px; width: 100%;">
<div id="btn-rollo-down" class="lcars-button lcars-red-bg"
style="flex-grow: 1; height: 30px; font-size: 14px; justify-content: center; margin-bottom: 0; border-radius: 15px;">
DOWN</div>
<div id="btn-rollo-stop" class="lcars-button lcars-pale-orange"
style="flex-grow: 1; height: 30px; font-size: 14px; justify-content: center; margin-bottom: 0; border-radius: 15px;">
STOP</div>
<div id="btn-rollo-up" class="lcars-button lcars-green-bg"
style="flex-grow: 1; height: 30px; font-size: 14px; justify-content: center; margin-bottom: 0; border-radius: 15px;">
UP</div>
</div>
</div>
<!-- Rollo 2: Placeholder -->
<div style="width: 32%; display: flex; flex-direction: column; align-items: center;">
<div style="display: flex; width: 100%; align-items: center; margin-bottom: 5px;">
<span style="font-size: 16px; flex-grow: 1;">TERRASSENTÜR</span>
<span id="val-rollo-2" style="font-size: 16px;">--</span>
</div>
<input type="range" id="range-rollo-2" min="0" max="100" value="0" class="lcars-slider"
style="margin-bottom: 10px;">
<div style="display: flex; gap: 5px; width: 100%;">
<div id="btn-rollo-2-down" class="lcars-button lcars-red-bg"
style="flex-grow: 1; height: 30px; font-size: 14px; justify-content: center; margin-bottom: 0; border-radius: 15px;">
DOWN</div>
<div id="btn-rollo-2-stop" class="lcars-button lcars-pale-orange"
style="flex-grow: 1; height: 30px; font-size: 14px; justify-content: center; margin-bottom: 0; border-radius: 15px;">
STOP</div>
<div id="btn-rollo-2-up" class="lcars-button lcars-green-bg"
style="flex-grow: 1; height: 30px; font-size: 14px; justify-content: center; margin-bottom: 0; border-radius: 15px;">
UP</div>
</div>
</div>
<!-- Rollo 3: Placeholder -->
<div style="width: 32%; display: flex; flex-direction: column; align-items: center;">
<div style="display: flex; width: 100%; align-items: center; margin-bottom: 5px;">
<span style="font-size: 16px; flex-grow: 1;">MARKISE</span>
<span id="val-rollo-3" style="font-size: 16px;">--</span>
</div>
<input type="range" id="range-rollo-3" min="0" max="100" value="0" class="lcars-slider"
style="margin-bottom: 10px;">
<div style="display: flex; gap: 5px; width: 100%;">
<div id="btn-rollo-3-down" class="lcars-button lcars-red-bg"
style="flex-grow: 1; height: 30px; font-size: 14px; justify-content: center; margin-bottom: 0; border-radius: 15px;">
EINFAHREN</div>
<div id="btn-rollo-3-stop" class="lcars-button lcars-pale-orange"
style="flex-grow: 1; height: 30px; font-size: 14px; justify-content: center; margin-bottom: 0; border-radius: 15px;">
STOP</div>
<div id="btn-rollo-3-up" class="lcars-button lcars-green-bg"
style="flex-grow: 1; height: 30px; font-size: 14px; justify-content: center; margin-bottom: 0; border-radius: 15px;">
AUSFAHREN</div>
</div>
</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>