Work in progress from the same tree as the controller's sequences-v2 changes. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
72 lines
2.5 KiB
HTML
72 lines
2.5 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<meta name="theme-color" content="#0e0f12">
|
||
<title>LED Rig Simulator</title>
|
||
<link rel="icon" href="data:,">
|
||
<link rel="stylesheet" href="/web/styles.css">
|
||
</head>
|
||
<body>
|
||
<header class="topbar">
|
||
<div class="brand">
|
||
<span class="brand-mark" aria-hidden="true"></span>
|
||
<span class="brand-name">led-simulator</span>
|
||
</div>
|
||
<div class="chips">
|
||
<span class="chip" id="bridge-chip" title="Simulated Wi-Fi bridge">bridge</span>
|
||
<span class="chip" id="controller-chip">controller: –</span>
|
||
<span class="chip" id="strips-chip">strips: –</span>
|
||
</div>
|
||
<div class="actions">
|
||
<button type="button" id="power-on-all">Power on all</button>
|
||
<button type="button" id="power-cycle-all">Power cycle all</button>
|
||
<button type="button" id="power-off-all" class="secondary">Power off all</button>
|
||
<label class="toggle" title="Boot every strip when this page opens">
|
||
<input type="checkbox" id="auto-power"> Power on when opened
|
||
</label>
|
||
</div>
|
||
</header>
|
||
|
||
<div id="banner" class="banner" hidden></div>
|
||
|
||
<main class="stage">
|
||
<div class="rig" id="rig">
|
||
<canvas id="rig-canvas" aria-label="LED rig"></canvas>
|
||
</div>
|
||
|
||
<aside class="drawer" id="drawer" hidden aria-label="Strip details">
|
||
<div class="drawer-head">
|
||
<div>
|
||
<div class="drawer-title" id="d-name">sim-01</div>
|
||
<div class="drawer-sub" id="d-meta">02:51:4d:00:00:01</div>
|
||
</div>
|
||
<button type="button" class="icon" id="d-close" aria-label="Close">×</button>
|
||
</div>
|
||
<dl class="facts">
|
||
<dt>State</dt><dd id="d-state">off</dd>
|
||
<dt>Position</dt><dd id="d-pos">–</dd>
|
||
<dt>Packets</dt><dd id="d-packets">–</dd>
|
||
</dl>
|
||
<div class="drawer-actions">
|
||
<button type="button" id="d-on">Power on</button>
|
||
<button type="button" id="d-reset">Reset</button>
|
||
<button type="button" id="d-off" class="secondary">Power off</button>
|
||
</div>
|
||
<div class="log-head">
|
||
<span>Serial</span>
|
||
<button type="button" class="link" id="d-clear">clear</button>
|
||
</div>
|
||
<pre class="log" id="d-log"></pre>
|
||
</aside>
|
||
</main>
|
||
|
||
<footer class="hint" id="hint">Loading…</footer>
|
||
|
||
<script src="/web/ring.js"></script>
|
||
<script src="/web/layout.js"></script>
|
||
<script src="/web/app.js"></script>
|
||
</body>
|
||
</html>
|