Modularize bridge and improve control GUI

This commit is contained in:
2026-08-03 00:55:12 +02:00
parent 73b302a965
commit f4ab49e0c8
26 changed files with 3104 additions and 1953 deletions
@@ -0,0 +1,33 @@
<!doctype html>
<html lang="{lang}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{title}</title>
<link rel="stylesheet" href="/static/app.css">
</head>
<body>
<main class="shell">
<div class="topbar">
<div class="title-block">
<h1>{title}</h1>
<div class="summary"><strong>{action_count}</strong><span>{actions_label}</span></div>
</div>
<div class="toolbar">
<form method="get" action="/" class="language-form">
<label for="lang">{language_label}</label>
{token_input}
<select id="lang" name="lang" onchange="this.form.submit()">
{language_options}
</select>
<noscript><button type="submit">OK</button></noscript>
</form>
</div>
</div>
<section class="control-grid">
{cards}
</section>
</main>
<script src="/static/app.js" defer></script>
</body>
</html>