(Proper) Initial commit
This commit is contained in:
parent
48c0059860
commit
32796e4026
19 changed files with 6094 additions and 97 deletions
45
frontend/index.html
Normal file
45
frontend/index.html
Normal file
|
@ -0,0 +1,45 @@
|
|||
<!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>
|
Reference in a new issue