Files
Scrobbler/frontend/index.html
T
mattandClaude Sonnet 5 457e051828
CI / validate-monitoring (push) Successful in 8s
CI / lint (push) Successful in 12s
CI / federation-interop (push) Successful in 1m15s
CI / test (push) Successful in 3m18s
CI / images (push) Skipped
CI / assets (push) Skipped
CI / python-package (push) Skipped
CI / trigger-deploy (push) Skipped
CI / notify (push) Successful in 6s
CI / validate-monitoring (pull_request) Successful in 9s
CI / lint (pull_request) Successful in 14s
CI / federation-interop (pull_request) Successful in 1m14s
CI / test (pull_request) Successful in 4m38s
CI / images (pull_request) Skipped
CI / assets (pull_request) Skipped
CI / python-package (pull_request) Skipped
CI / trigger-deploy (pull_request) Skipped
CI / notify (pull_request) Successful in 7s
Make "Recently played" rows match the Tracks list style
Stack the track above a muted artist line and link each row to its
song page, consistent with how the "Most played > Tracks" list
already looks and behaves. Scoped with a new .log-stacked modifier
so history.html and the song page's own history list (which share
the base .log classes) are unaffected.

Verified manually in-browser: rows render stacked and link to the
right song page, and history.html's layout is unchanged.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-06 13:30:30 +01:00

48 lines
2.0 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Overview · Scrobbler</title>
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='%231c2330'/%3E%3Ccircle cx='8' cy='8' r='3.5' fill='%23f2a541'/%3E%3C/svg%3E">
<link rel="stylesheet" href="css/style.css">
<script src="config.js"></script>
<script type="module" src="js/dashboard.js"></script>
</head>
<body>
<header class="site-header" id="site-header"></header>
<main id="main">
<h1 class="visually-hidden">Overview</h1>
<div id="panel" class="panel" aria-live="polite"></div>
<section aria-labelledby="song-search-title" class="song-search">
<h2 id="song-search-title" class="visually-hidden">Find a song</h2>
<div class="field">
<label for="song-search">Find a song</label>
<input id="song-search" type="search" autocomplete="off" placeholder="Search your scrobbles…">
</div>
<ul class="search-results" id="song-search-results" hidden></ul>
</section>
<section aria-labelledby="charts-title">
<div class="section-head">
<h2 id="charts-title">Most played</h2>
<fieldset class="selector" id="period">
<legend class="visually-hidden">Period</legend>
</fieldset>
</div>
<div class="charts">
<div><h3 class="muted">Artists</h3><ol class="ranking" id="top-artists"></ol></div>
<div><h3 class="muted">Albums</h3><ol class="ranking" id="top-albums"></ol></div>
<div><h3 class="muted">Tracks</h3><ol class="ranking" id="top-tracks"></ol></div>
</div>
</section>
<section aria-labelledby="recent-title">
<div class="section-head">
<h2 id="recent-title">Recently played</h2>
<a href="history.html">Full history</a>
</div>
<ol class="log log-stacked" id="recent"></ol>
</section>
</main>
</body>
</html>