feat: show last played songs in web ui
This commit is contained in:
parent
7f16452a99
commit
bcc1bce743
6 changed files with 206 additions and 7 deletions
|
@ -5,6 +5,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Discord Jukebox Status</title>
|
||||
<link rel="stylesheet" href="/static/styles.css">
|
||||
<meta http-equiv="refresh" content="900"> <!-- Refresh page every 15 minutes to prevent memory issues -->
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
|
@ -35,6 +36,15 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div id="song-history" class="hidden">
|
||||
<h2>Recently Played</h2>
|
||||
<div class="history-container">
|
||||
<ul id="history-list" class="history-list">
|
||||
<!-- Song history will be populated here by JavaScript -->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="not-playing" class="hidden">
|
||||
<div class="message">
|
||||
<h2>No Song Playing</h2>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue