78 lines
3.3 KiB
HTML
78 lines
3.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>Artist Viewer - Spotizerr</title>
|
|
<!-- Add the new base.css first -->
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/main/base.css') }}">
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/queue/queue.css') }}">
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/main/icons.css') }}">
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/artist/artist.css') }}" />
|
|
</head>
|
|
<body>
|
|
<div class="app-container">
|
|
<!-- Artist header container -->
|
|
<div id="artist-header" class="content-header hidden">
|
|
<!-- Artist Image -->
|
|
<img id="artist-image" class="header-image" alt="Artist image" onerror="this.src='/static/images/placeholder.jpg'">
|
|
|
|
<!-- Artist Info -->
|
|
<div id="artist-info" class="header-info">
|
|
<h1 id="artist-name" class="header-title"></h1>
|
|
<p id="artist-stats" class="header-subtitle"></p>
|
|
|
|
<!-- Download Button -->
|
|
<div class="header-actions">
|
|
<button id="downloadArtistBtn" class="download-btn btn-primary">
|
|
<img src="{{ url_for('static', filename='images/download.svg') }}" alt="Download">
|
|
Download All Discography
|
|
</button>
|
|
<button id="watchArtistBtn" class="watch-btn btn-secondary"> <img src="{{ url_for('static', filename='images/eye.svg') }}" alt="Watch"> Watch Artist </button>
|
|
<button id="syncArtistBtn" class="download-btn sync-btn hidden">
|
|
<img src="{{ url_for('static', filename='images/refresh.svg') }}" alt="Sync">
|
|
Sync Watched Artist
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Albums container -->
|
|
<div id="albums-container" class="hidden">
|
|
<!-- This container will hold one section per album type -->
|
|
<div id="album-groups" class="album-groups"></div>
|
|
</div>
|
|
|
|
<!-- Loading and Error states -->
|
|
<div id="loading" class="loading">
|
|
<div class="loading-indicator">Loading...</div>
|
|
</div>
|
|
<div id="error" class="error hidden">Error loading artist info</div>
|
|
</div>
|
|
|
|
<!-- Fixed floating buttons for home and queue -->
|
|
<a href="/history" class="btn-icon history-nav-btn floating-icon home-btn" aria-label="Download History" title="Go to Download History">
|
|
<img src="{{ url_for('static', filename='images/history.svg') }}" alt="History" onerror="handleImageError(this)"/>
|
|
</a>
|
|
<button id="homeButton" class="btn-icon home-btn floating-icon settings-icon" aria-label="Return to home">
|
|
<img src="{{ url_for('static', filename='images/home.svg') }}" alt="Home">
|
|
</button>
|
|
|
|
<a href="/watchlist" class="btn-icon watchlist-icon floating-icon" aria-label="Watchlist" title="Go to Watchlist">
|
|
<img src="{{ url_for('static', filename='images/binoculars.svg') }}" alt="Watchlist" onerror="handleImageError(this)"/>
|
|
</a>
|
|
|
|
<button
|
|
id="queueIcon"
|
|
class="btn-icon queue-icon floating-icon"
|
|
aria-label="Download queue"
|
|
aria-controls="downloadQueue"
|
|
aria-expanded="false"
|
|
>
|
|
<img src="{{ url_for('static', filename='images/queue.svg') }}" alt="Queue Icon">
|
|
</button>
|
|
|
|
<script type="module" src="{{ url_for('static', filename='js/artist.js') }}"></script>
|
|
</body>
|
|
</html>
|