Files
tiny-worlds/web/index.html
T

63 lines
1.9 KiB
HTML
Raw Normal View History

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>rp-test</title>
<link rel="stylesheet" href="/style.css">
</head>
<body>
<header>
<select id="run-select" title="run"></select>
<details id="new-run">
<summary>new run</summary>
<form id="new-run-form">
<select id="new-run-package"></select>
<input id="new-run-name" placeholder="run id (slug)" autocomplete="off">
<button type="submit">create</button>
</form>
</details>
<div id="window-info"></div>
<div id="context-meter" title="context usage of the last call">
<div id="context-bar"><div id="context-fill"></div></div>
<span id="context-label"></span>
</div>
</header>
<main>
<section id="transcript" aria-live="polite"></section>
</main>
<aside>
<section id="status-pane">
<h2>her paper</h2>
<ul id="paper"></ul>
<div id="conflict" hidden></div>
</section>
<section id="housekeeping">
<h2>housekeeping</h2>
<div id="hk-state"></div>
<button id="hk-run" hidden>close window &amp; housekeep</button>
<label id="hk-override-wrap"><input type="checkbox" id="hk-override"> override: skip the unhousekept check</label>
<button id="window-open" hidden>open window</button>
<details id="hk-log" hidden><summary>window log</summary><pre id="hk-log-content"></pre></details>
</section>
</aside>
<footer>
<div id="banner" hidden></div>
<textarea id="gm-input" rows="2" placeholder="GM line — Enter sends, Shift+Enter newlines" disabled></textarea>
<button id="gm-send" disabled>send</button>
</footer>
<dialog id="ask-modal">
<h2>the player asks</h2>
<p id="ask-question"></p>
<textarea id="ask-answer" rows="3" placeholder="your ruling — Enter sends"></textarea>
<button id="ask-send">answer</button>
</dialog>
<script type="module" src="/app.mjs"></script>
</body>
</html>