89 lines
4.4 KiB
HTML
89 lines
4.4 KiB
HTML
<!doctype html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="utf-8" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||
<meta name="theme-color" content="#f6f4ef" />
|
||
<title>LastRecc — your week, recced</title>
|
||
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='16' fill='%23171717'/%3E%3Cpath d='M20 44V20h5v19h12v5H20z' fill='%23f6f4ef'/%3E%3Ccircle cx='43' cy='25' r='6' fill='%23e0362c'/%3E%3C/svg%3E" />
|
||
<link rel="stylesheet" href="/static/style.css" />
|
||
</head>
|
||
<body>
|
||
<header class="topbar">
|
||
<a class="brand" href="/" aria-label="LastRecc home">
|
||
<span class="brand-mark">LR</span>
|
||
<span class="brand-word">LastRecc</span>
|
||
<span class="brand-beta">beta</span>
|
||
</a>
|
||
<div class="topbar-actions">
|
||
<span class="status" id="status"><span class="status-dot"></span><span id="status-text">ready</span></span>
|
||
<label class="days-picker">
|
||
<span>window</span>
|
||
<select id="days" aria-label="Recommendation window">
|
||
<option value="7">7 days</option>
|
||
<option value="14">14 days</option>
|
||
<option value="30">30 days</option>
|
||
</select>
|
||
</label>
|
||
<button class="btn btn-dark" id="refresh" type="button">
|
||
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M20 11a8.1 8.1 0 0 0-15.5-2M4 4v5h5M4 13a8.1 8.1 0 0 0 15.5 2M20 20v-5h-5" /></svg>
|
||
<span>Refresh</span>
|
||
</button>
|
||
</div>
|
||
</header>
|
||
|
||
<main class="wrap">
|
||
<section class="hero">
|
||
<p class="eyebrow" id="eyebrow">Navidrome × Last.fm</p>
|
||
<h1>Your week,<br /><em>recced.</em></h1>
|
||
<p class="lede" id="lede">Reading your scrobbles and finding the next things you'll love.</p>
|
||
<div class="stats" id="stats"></div>
|
||
</section>
|
||
|
||
<section class="feed-section">
|
||
<div class="section-head">
|
||
<div>
|
||
<p class="eyebrow">Picked for you</p>
|
||
<h2>Fresh finds</h2>
|
||
</div>
|
||
<div class="tabs" id="tabs" role="tablist" aria-label="Filter recommendations">
|
||
<button class="tab is-active" data-filter="all" role="tab" aria-selected="true">All <span class="tab-count" data-count="all">0</span></button>
|
||
<button class="tab" data-filter="new" role="tab" aria-selected="false">New artists <span class="tab-count" data-count="new">0</span></button>
|
||
<button class="tab" data-filter="known" role="tab" aria-selected="false">Artists you play <span class="tab-count" data-count="known">0</span></button>
|
||
<button class="tab" data-filter="playable" role="tab" aria-selected="false">Playable <span class="tab-count" data-count="playable">0</span></button>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="grid" id="grid" aria-live="polite"></div>
|
||
<p class="empty hidden" id="empty">Nothing in this filter yet. Try another tab.</p>
|
||
<p class="error hidden" id="error"></p>
|
||
</section>
|
||
|
||
<footer class="footer">
|
||
<p>Built from your Navidrome scrobbles. Similarity data by <a href="https://www.last.fm" target="_blank" rel="noopener noreferrer">Last.fm</a>.</p>
|
||
<p>Personal, non-commercial use. Cover art belongs to its respective owners.</p>
|
||
</footer>
|
||
</main>
|
||
|
||
<div class="player hidden" id="player" aria-label="Audio player">
|
||
<div class="player-cover" id="player-cover"></div>
|
||
<div class="player-meta">
|
||
<strong id="player-title">—</strong>
|
||
<span id="player-artist">—</span>
|
||
</div>
|
||
<button class="player-toggle" id="player-toggle" type="button" aria-label="Play or pause">
|
||
<svg class="icon-play" viewBox="0 0 24 24" aria-hidden="true"><path d="M8 5v14l11-7z" /></svg>
|
||
<svg class="icon-pause hidden" viewBox="0 0 24 24" aria-hidden="true"><path d="M7 5h4v14H7zM13 5h4v14h-4z" /></svg>
|
||
</button>
|
||
<div class="player-progress">
|
||
<input id="player-seek" type="range" min="0" max="1000" value="0" aria-label="Seek" />
|
||
<div class="player-time"><span id="player-elapsed">0:00</span><span id="player-duration">0:00</span></div>
|
||
</div>
|
||
<button class="player-close" id="player-close" type="button" aria-label="Close player">×</button>
|
||
</div>
|
||
|
||
<div class="toast hidden" id="toast"></div>
|
||
<script src="/static/app.js"></script>
|
||
</body>
|
||
</html>
|