Add a library page: seasons, race weekends and sessions as Plex shows them
The operator wants to browse the posters the way a Plex or Emby Formula 1 library shows them. The page reads the whole library from the one Kometa file (rounds, race names in the race posters' addresses, sessions in the episodes'), waits through a fresh server's minutes-long first answer instead of failing, and loads each picture only when it is on screen, two at a time, dropping the queue when the reader leaves a level: every poster is a render of about 10 s that pulls map tiles. Each level has its own address and back/forward work; a picture the server has none for is a plain card with its name. The session order per weekend format moves into site.js, so the posters page and the library read the same list. Claude-Session: https://claude.ai/code/session_01NcbgfJAa38xFpzy69BWrqh
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
<a href="grand-prix.html">Grand prix lookup</a>
|
||||
<a href="posters.html">Posters</a>
|
||||
<a href="kometa.html" aria-current="page">Kometa</a>
|
||||
<a href="library.html">Library</a>
|
||||
</nav>
|
||||
<div id="api-base"></div>
|
||||
</header>
|
||||
@@ -81,7 +82,7 @@
|
||||
<footer class="pager">
|
||||
<a rel="prev" href="posters.html">← Posters</a>
|
||||
<a class="home" href="index.html">All examples</a>
|
||||
<span></span>
|
||||
<a rel="next" href="library.html">Library →</a>
|
||||
</footer>
|
||||
|
||||
<script src="site.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user