-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
54 lines (49 loc) · 2.38 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<title>MIDIocrity</title>
<link rel="stylesheet" href="./src/style.css" />
</head>
<body>
<p class="center" id="loading">Initializing...</p>
<div class="top">
<a class="btn" href="https://github.com/cpulvermacher/midiocrity">GitHub</a>
<a class="btn" onclick="document.getElementById('settings-popup').toggleAttribute('hidden');">⚙️ Settings</a>
<a class="btn" id="midi-info-btn" onclick="document.getElementById('midi-popup').toggleAttribute('hidden');">MIDI</a>
<div class="popup">
<div class="btn-popup" id="settings-popup" hidden>
<div id="gui"></div>
<p id="git-version"></p>
</div>
<div class="btn-popup midi-info" id="midi-popup" hidden>
<p id="no-webmidi">It appears your browser doesn't support WebMIDI. For the best experience, please use Chrome or Firefox.</p>
<p id="no-permission">Please grant WebMIDI permissions to this app to accept input from MIDI devices.</p>
<h3>Connected Input Ports</h3>
<ul class="midi-info__ports" id="midi-ports"></ul>
<h3>Active Channels</h3>
<ul class="midi-info__channels">
<li id="channel-1">Channel 1</li>
<li id="channel-2">Channel 2</li>
<li id="channel-3">Channel 3</li>
<li id="channel-4">Channel 4</li>
<li id="channel-5">Channel 5</li>
<li id="channel-6">Channel 6</li>
<li id="channel-7">Channel 7</li>
<li id="channel-8">Channel 8</li>
<li id="channel-9">Channel 9</li>
<li id="channel-10">Channel 10</li>
<li id="channel-11">Channel 11</li>
<li id="channel-12">Channel 12</li>
<li id="channel-13">Channel 13</li>
<li id="channel-14">Channel 14</li>
<li id="channel-15">Channel 15</li>
<li id="channel-16">Channel 16</li>
</ul>
</div>
</div>
</div>
<script type="module" src="./src/main.ts"></script>
</body>
</html>