added playlist view
This commit is contained in:
40
templates/playlist.html
Normal file
40
templates/playlist.html
Normal file
@@ -0,0 +1,40 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Playlist Viewer</title>
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/queue/queue.css') }}">
|
||||
<!-- Optionally include the icons CSS if not already merged into your playlist.css -->
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/main/icons.css') }}">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/playlist/playlist.css') }}" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
<div id="playlist-header" class="hidden">
|
||||
<img id="playlist-image" alt="Playlist cover">
|
||||
<div id="playlist-info">
|
||||
<h1 id="playlist-name"></h1>
|
||||
<p id="playlist-owner"></p>
|
||||
<p id="playlist-stats"></p>
|
||||
<p id="playlist-description"></p>
|
||||
</div>
|
||||
<!-- Queue Icon Button -->
|
||||
<button id="queueIcon" class="queue-icon" aria-label="Download queue" aria-controls="downloadQueue" aria-expanded="false">
|
||||
<img src="{{ url_for('static', filename='images/queue.svg') }}" alt="Queue Icon">
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div id="tracks-container" class="hidden">
|
||||
<h2>Tracks</h2>
|
||||
<div id="tracks-list"></div>
|
||||
</div>
|
||||
|
||||
<div id="loading">Loading...</div>
|
||||
<div id="error" class="hidden">Error loading playlist</div>
|
||||
</div>
|
||||
|
||||
<!-- The download queue container will be inserted by queue.js -->
|
||||
<script type="module" src="{{ url_for('static', filename='js/playlist.js') }}"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user