58 lines
1.6 KiB
HTML
Executable File
58 lines
1.6 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>appRobotHoming</title>
|
|
<link rel="stylesheet" href="/styles.css" />
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<h1>appRobotHoming</h1>
|
|
<div id="status">Status: <span class="badge" id="conn">…</span></div>
|
|
</header>
|
|
|
|
<main>
|
|
<section class="controls">
|
|
<button data-cmd="HOME">HOME</button>
|
|
<button data-cmd="STOP">STOP</button>
|
|
<button data-cmd="STATUS">STATUS</button>
|
|
<button data-cmd="RESET">RESET</button>
|
|
<button data-cmd="PING">PING</button>
|
|
<button onclick="calculate()">Calculate Actions</button>
|
|
<input
|
|
id="gcodePayload"
|
|
type="text"
|
|
placeholder="G-Code / Motorbefehl"
|
|
style="width: 220px; padding: 10px; border-radius: 8px; border: 1px solid #334155; background: #0b1220; color: #e2e8f0;"
|
|
/>
|
|
<button data-cmd="GCODEMOTOR" data-payload="#gcodePayload">GCodeMotor</button>
|
|
|
|
</section>
|
|
|
|
<section class="log">
|
|
<label for="log">Ausgabe</label>
|
|
<textarea id="log" readonly></textarea>
|
|
</section>
|
|
|
|
<section class="analysis">
|
|
<label for="analysis">Analysis & Reasoning</label>
|
|
<textarea id="analysis-log" readonly></textarea>
|
|
</section>
|
|
|
|
<section class="snapshot">
|
|
<label for="snapshot-content">Neuester Snapshot</label>
|
|
<div id="snapshot-info"></div>
|
|
<table id="snapshot-table"></table>
|
|
</section>
|
|
</main>
|
|
|
|
<footer>
|
|
<small>HTTPS + WSS Relay • ©</small>
|
|
</footer>
|
|
|
|
<script src="/client.js"></script>
|
|
<script src="/calculateActions.js"></script>
|
|
</body>
|
|
</html>
|