47 lines
1.4 KiB
HTML
47 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
<title>Pad Controller</title>
|
||
<link rel="stylesheet" href="/style.css">
|
||
</head>
|
||
<body>
|
||
<header>
|
||
<h1>Pad Controller</h1>
|
||
<button id="load" type="button">Load</button>
|
||
<button id="save" type="button" class="primary" disabled>Save to pad</button>
|
||
<button id="factory" type="button">Factory reset</button>
|
||
<button id="export" type="button" disabled>Export</button>
|
||
<label class="file">Import
|
||
<input id="import" type="file" accept=".bin,application/octet-stream">
|
||
</label>
|
||
<span class="spacer"></span>
|
||
<span id="status">Load the preset from the pad.</span>
|
||
</header>
|
||
<main>
|
||
<section id="board">
|
||
<p id="empty">Loading the pad…</p>
|
||
<div class="row" id="global"></div>
|
||
<div class="row" id="presets"></div>
|
||
<div class="row">
|
||
<label>Pad page <select id="page"></select></label>
|
||
<label>Knob bank <select id="bank">
|
||
<option value="0">1 · knobs 1–8</option>
|
||
<option value="1">2 · knobs 9–16</option>
|
||
</select></label>
|
||
<span id="page-notes" class="muted"></span>
|
||
</div>
|
||
<div id="pads"></div>
|
||
<div id="knobs"></div>
|
||
<div id="buttons"></div>
|
||
</section>
|
||
<aside id="inspector">
|
||
<h2>Control</h2>
|
||
<p class="muted">Load a preset, then pick a pad, knob, or button.</p>
|
||
</aside>
|
||
</main>
|
||
<script src="/app.js"></script>
|
||
</body>
|
||
</html>
|