This repository has been archived on 2025-08-08. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
lucida-queue/frontend/index.html

45 lines
No EOL
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Queue Manager</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="connectivity-status" class="hidden">
<p>
<strong>Connection Status:</strong>
<span id="status">Offline</span>
</p>
</div>
<main>
<h1>Queue Manager</h1>
<div id="queue-form">
<label for="song-url">Song URL</label>
<input type="url" id="song-url" placeholder="https://open.spotify.com/track/4PTG3Z6ehGkBFwjybzWkR8?si=7c5064fbbdde4bc2">
<button id="add-song">Add to queue</button>
</div>
<h2>Currently Processing</h2>
<div id="currently-processing"></div>
<div id="queue-list">
<h2>Queue</h2>
<button id="refresh-queue">Refresh Queue</button>
<button id="clear-queue">Clear Queue</button>
<ol id="queue"></ol>
</div>
<div id="queue-history">
<h2>History</h2>
<ul id="history"></ul>
</div>
</main>
<footer>
<div id="api-url-form">
<label for="api-url">API URL</label>
<input type="url" id="api-url" placeholder="http://localhost:3000">
<button type="submit" id="set-api">Connect</button>
</div>
</footer>
<script type="module" src="script.js"></script>
</body>
</html>