This commit is contained in:
43
dashboard/index.html
Normal file
43
dashboard/index.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>CouchOS</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<main class="shell">
|
||||
<section class="panel">
|
||||
<p class="eyebrow">couch.mhny.dev</p>
|
||||
<h1>CouchOS</h1>
|
||||
<p class="lede">Living-room Melee controls over the Tailnet-backed API.</p>
|
||||
<div class="status-grid">
|
||||
<div>
|
||||
<span class="label">Online</span>
|
||||
<strong id="online">unknown</strong>
|
||||
</div>
|
||||
<div>
|
||||
<span class="label">Game</span>
|
||||
<strong id="game-state">unknown</strong>
|
||||
</div>
|
||||
<div>
|
||||
<span class="label">Controller</span>
|
||||
<strong id="controller">unknown</strong>
|
||||
</div>
|
||||
<div>
|
||||
<span class="label">Display</span>
|
||||
<strong id="display">unknown</strong>
|
||||
</div>
|
||||
</div>
|
||||
<div class="actions">
|
||||
<button data-action="/api/launch/melee">Play Melee</button>
|
||||
<button data-action="/api/open/slippi">Open Slippi</button>
|
||||
<button data-action="/api/stop" class="danger">Stop Game</button>
|
||||
</div>
|
||||
<pre id="output" aria-live="polite"></pre>
|
||||
</section>
|
||||
</main>
|
||||
<script src="/app.js" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user