Sun & moon chart: click the topbar's sun readout

A horizon-style chart drawn from the vendored suncalc, so fully offline:
real sun and moon altitude over the 24 h around solar noon, sunrise/
sunset lines, dawn/noon/dusk on the time axis, the moon in its current
phase, plus moonrise/set, phase and current sun/moon position below.
Polar day/night now shows as a label instead of hiding the readout.
This commit is contained in:
randy committed 2026-11-12 11:54:49 +01:00
1 parent cf483d183c
commit ca2e67599b
4 files changed
+240 -3

No files matched your search

+2 -1
View File
@@ -3,8 +3,9 @@
<span class="topbar__brand" title="rev <%= revision %>">MapTool</span>
<span class="topbar__center">
<span class="topbar__coords"></span>
<span class="topbar__sun" hidden></span>
<span class="topbar__sun" title="Sun &amp; moon" hidden></span>
</span>
<div class="sun-chart" hidden></div>
<span class="topbar__offline-status" hidden></span>
<div class="topbar__auth">
<% if logged_in %>