13
0
livetrax/share/web_surfaces/index.html

49 lines
1.7 KiB
HTML
Raw Permalink Normal View History

2020-04-09 10:34:16 -04:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Ardour Web Surfaces</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="index/main.css">
2020-04-09 10:34:16 -04:00
</head>
<body>
<div id="top-bar">
<img id="logo" src="index/logo.png">
2020-04-09 10:34:16 -04:00
</div>
<div id="content">
<h2 id="loading">Loading...</h2>
<pre id="error" style="display:none"></pre>
<div id="local" style="display:none">
<h2>This page cannot be loaded from a local file</h2>
<p>Follow these steps instead:</p>
<ul>
<li>Launch Ardour</li>
<li>Enable the WebSockets Server control surface</li>
<li>
Click on the following link
<a href="http://localhost:3818/">http://localhost:3818</a>
</li>
</ul>
</div>
<div id="index" style="display:none">
<h1>Available Web Surfaces</h1>
<div class="surface-list" id="builtin">
2020-04-12 04:29:20 -04:00
<h2>Built-In</h2>
<ul></ul>
</div>
<div class="surface-list" id="user">
2020-04-12 04:29:20 -04:00
<h2>User</h2>
<ul></ul>
</div>
2020-04-09 10:34:16 -04:00
</div>
</div>
<script>
if (!location.hostname) {
document.getElementById('loading').style.display = 'none';
document.getElementById('local').style.display = 'inline';
}
</script>
<script type="module" src="index/main.js"></script>
2020-04-09 10:34:16 -04:00
</body>
</html>