Intial somewhat working version

This commit is contained in:
2026-05-02 14:20:38 +10:00
commit a76d37c2e8
28 changed files with 2572 additions and 0 deletions

60
web/index.html Normal file
View File

@@ -0,0 +1,60 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>video-shader</title>
<link rel="stylesheet" href="/styles.css">
</head>
<body>
<main class="shell">
<section class="topbar">
<div>
<h1>video-shader</h1>
<p id="device">DeckLink device</p>
</div>
<div class="actions">
<button id="start">Start</button>
<button id="stop">Stop</button>
</div>
</section>
<section class="status-grid">
<article>
<span>State</span>
<strong id="running">Stopped</strong>
</article>
<article>
<span>Mode</span>
<strong id="mode">No signal</strong>
</article>
<article>
<span>Output</span>
<strong id="outputFormat">Unavailable</strong>
</article>
<article>
<span>Frames</span>
<strong id="frames">0 / 0</strong>
</article>
</section>
<section class="workbench">
<div class="shader-list">
<h2>Shader Stack</h2>
<div id="shaders"></div>
</div>
<div class="meter">
<h2>Runtime</h2>
<dl>
<dt>Frame rate</dt>
<dd id="frameRate">0.00</dd>
<dt>Dropped</dt>
<dd id="dropped">0</dd>
</dl>
<p id="error"></p>
</div>
</section>
</main>
<script src="/app.js"></script>
</body>
</html>