Files
XZBT-NGN/test-fixtures/reference-exhibits/museum-gallery/control.html
T

83 lines
2.7 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Museum Gallery — Control Room (primary surface)</title>
<link rel="stylesheet" href="../shared/exhibit-shell.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="exhibit">
<header class="exhibit-header">
<h1>Museum Gallery — Control Room</h1>
<span class="subtitle">Primary surface &middot; Contract 5.3 &middot; standalone-capable</span>
<span class="status" id="contract-status">standalone</span>
</header>
<main class="stage">
<div class="gallery-display">
<p class="artifact-name" id="artifact-name">&mdash;</p>
<p class="readout-row">Lighting: <span id="lighting-readout"></span></p>
<p class="readout-row">Rotation: <span id="rotation-readout"></span></p>
<p class="readout-row">Labels: <span id="labels-readout"></span></p>
<p class="surface-status" id="surface-status">Attached non-primary surfaces: <span id="subscriber-count">0</span></p>
</div>
</main>
<aside class="panel">
<section>
<h2>Artifact</h2>
<div class="control">
<label for="artifact-select">Selected artifact</label>
<select id="artifact-select"></select>
</div>
</section>
<section>
<h2>Environment</h2>
<div class="control">
<label for="lighting-range">
<span>Lighting level</span>
<span class="readout" id="lighting-panel-readout"></span>
</label>
<input type="range" id="lighting-range" min="0" max="1" step="0.01">
</div>
<div class="control">
<label for="rotation-range">
<span>Rotation speed</span>
<span class="readout" id="rotation-panel-readout"></span>
</label>
<input type="range" id="rotation-range" min="0" max="2" step="0.1">
</div>
<div class="toggle-row">
<span>Labels enabled</span>
<button id="labels-button" type="button" aria-pressed="false">Toggle</button>
</div>
</section>
<section>
<h2>Actions</h2>
<div class="button-row">
<button id="flash-button" type="button">Flash spotlight</button>
</div>
</section>
</aside>
<footer class="exhibit-footer">
<span class="announcement-label">Control Room</span>
<span class="announcement-text is-idle" id="announcement">Control Room standing by.</span>
</footer>
</div>
<script src="../shared/exhibit-shell.js"></script>
<script src="../shared/contract-core.js"></script>
<script src="../shared/host-transport.js"></script>
<script src="exhibit.js"></script>
<script src="contract-adapter.js"></script>
<script src="surface-bus.js"></script>
<script src="control.boot.js"></script>
</body>
</html>