Add the photo picker, poster builder and licences pages

A pick is a repository edit, so the picker shows the Commons candidates cropped to the poster's
frame, natural or bw as the service treats them, beside the picks of the circuit's other
layouts, and gives the entry to copy (the picks file's "$comment" kept first). The builder sends
every option of docs/posters.md as a query parameter, renders only on request and shows the
answer's X-Credits and X-License. The licences page shows /licences: each source, its credit and
the licence a picture made from it gets.

Every page now carries the Formula 1 disclaimer at its foot, as F1's guidelines ask of an
unofficial site, and the posters page lists the backgrounds the design keeps (no Esri).

Claude-Session: https://claude.ai/code/session_01NcbgfJAa38xFpzy69BWrqh
This commit is contained in:
2026-11-27 15:04:38 +01:00
parent d087b8a4f3
commit 49a2ebcf15
13 changed files with 1246 additions and 13 deletions
+15 -5
View File
@@ -18,8 +18,11 @@
<a href="map.html">GPS traces</a>
<a href="grand-prix.html">Grand prix lookup</a>
<a href="posters.html" aria-current="page">Posters</a>
<a href="builder.html">Poster builder</a>
<a href="kometa.html">Kometa</a>
<a href="library.html">Library</a>
<a href="picker.html">Photo picker</a>
<a href="licences.html">Licences</a>
</nav>
<div id="api-base"></div>
</header>
@@ -44,14 +47,14 @@
<div class="grid-2">
<section class="card" id="race-poster">
<h2>Race poster</h2>
<p><code>/posters/race/{race name}/{season}.png?bg={background}</code>, 1000×1500: the round, the race’s name, the track and its date over a map of the circuit.</p>
<p><code>/posters/race/{race name}/{season}.png?bg={background}</code>, 1000×1500: the round, the race’s name, the track and its date over a map of the circuit. Every other option is on the <a href="builder.html">poster builder</a>.</p>
<div class="controls">
<label><span>Background (<code>bg</code>)</span>
<select id="bg">
<option value="aerial">aerial: Esri satellite imagery (the default)</option>
<option value="satellite">satellite: the layout’s picked Commons photo, the national aerial photo, or EOxCloudless (the default)</option>
<option value="osm">osm: OpenStreetMap street map</option>
<option value="dark">dark: Esri Dark Gray Canvas</option>
<option value="light">light: Esri Light Gray Canvas</option>
<option value="dark">dark: OpenStreetMap, recoloured dark</option>
<option value="light">light: OpenStreetMap, recoloured light</option>
<option value="none">none: plain black, no tiles (fastest)</option>
</select>
</label>
@@ -101,7 +104,14 @@
<footer class="pager">
<a rel="prev" href="grand-prix.html">← Grand prix lookup</a>
<a class="home" href="index.html">All examples</a>
<a rel="next" href="kometa.html">Kometa →</a>
<a rel="next" href="builder.html">Poster builder →</a>
</footer>
<footer class="disclaimer">
<p>This website is unofficial and is not associated in any way with the Formula 1 companies. F1, FORMULA ONE,
FORMULA 1, FIA FORMULA ONE WORLD CHAMPIONSHIP, GRAND PRIX and related marks are trade marks of Formula One
Licensing B.V.</p>
<p><a href="licences.html">Licences and credits</a>: every source the pictures are made from, the licence each
picture takes from its sources, and the licence of the track files and the GPS traces (MIT).</p>
</footer>
<script src="site.js"></script>