Modularize bridge and improve control GUI
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user