32 lines
1.2 KiB
HTML
32 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
<title>Pad colours</title>
|
||
<link rel="stylesheet" href="/app.css">
|
||
</head>
|
||
<body>
|
||
<main>
|
||
<h1>Pad colours</h1>
|
||
<p class="meta" id="meta">Connecting…</p>
|
||
<div class="pads" id="pads"></div>
|
||
<p class="hint">Pad 1 is bottom-left. Hit a pad, turn knobs 1–4 for red, green, blue, and white. The open mic fixtures follow. Hit the same pad again to save. The pad light keeps red, green, and blue until the pad is switched off.</p>
|
||
<label class="slider">Red <output id="r-out"></output>
|
||
<input id="r" data-part="0" type="range" min="0" max="255" value="0">
|
||
</label>
|
||
<label class="slider">Green <output id="g-out"></output>
|
||
<input id="g" data-part="1" type="range" min="0" max="255" value="0">
|
||
</label>
|
||
<label class="slider">Blue <output id="b-out"></output>
|
||
<input id="b" data-part="2" type="range" min="0" max="255" value="0">
|
||
</label>
|
||
<label class="slider">White <output id="w-out"></output>
|
||
<input id="w" data-part="3" type="range" min="0" max="255" value="0">
|
||
</label>
|
||
<p class="status" id="status"></p>
|
||
</main>
|
||
<script src="/app.js"></script>
|
||
</body>
|
||
</html>
|