From ba84faaf144cd15af3aba2650c043467fe31ee06 Mon Sep 17 00:00:00 2001 From: St33v Date: Wed, 10 Jun 2026 13:30:38 +1000 Subject: Add Canberra and Cairns radars; cross-page nav Two new product codes: IDR403 (Canberra) and IDR193 (Cairns). radar.service / radar-retry.service gain two more ExecStart= lines. Per-radar pages: nav strip at top with all four radars + a Synoptic button linking to pestrel.com; current page is highlighted. Layout switched to column flex (nav on top, image fills below) and the image now uses `width: 100%; max-width: 512px` so it fills phone viewports without upscaling beyond the BOM-native 512px on desktop. Synoptic page (index.html): "Radars" button fixed to the left edge at top 16.6%, linking to https://radar.pestrel.com/. Landing page (radar.pestrel.com/): rebalanced for four radars plus a dashed-border Synoptic button. nginx/radar.pestrel.com.conf: pulled in the certbot-managed TLS block so a fresh setup matches production state. Co-Authored-By: Claude Opus 4.7 --- setup.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'setup.sh') diff --git a/setup.sh b/setup.sh index 89994ae..a9b2fec 100755 --- a/setup.sh +++ b/setup.sh @@ -65,6 +65,8 @@ install -d -o "$OWNER" -g "$OWNER" /var/lib/radar install -d -o "$OWNER" -g "$OWNER" /srv/www/radar install -d -o "$OWNER" -g "$OWNER" /srv/www/radar/sydney install -d -o "$OWNER" -g "$OWNER" /srv/www/radar/brisbane +install -d -o "$OWNER" -g "$OWNER" /srv/www/radar/canberra +install -d -o "$OWNER" -g "$OWNER" /srv/www/radar/cairns # --------------------------------------------------------------------------- # Web content @@ -74,6 +76,8 @@ install -o "$OWNER" -g "$OWNER" -m 644 "$SCRIPT_DIR/index.html" /srv/www/pestrel install -o "$OWNER" -g "$OWNER" -m 644 "$SCRIPT_DIR/radar.index.html" /srv/www/radar/index.html install -o "$OWNER" -g "$OWNER" -m 644 "$SCRIPT_DIR/radar.sydney.html" /srv/www/radar/sydney/index.html install -o "$OWNER" -g "$OWNER" -m 644 "$SCRIPT_DIR/radar.brisbane.html" /srv/www/radar/brisbane/index.html +install -o "$OWNER" -g "$OWNER" -m 644 "$SCRIPT_DIR/radar.canberra.html" /srv/www/radar/canberra/index.html +install -o "$OWNER" -g "$OWNER" -m 644 "$SCRIPT_DIR/radar.cairns.html" /srv/www/radar/cairns/index.html echo "==> Installing radarFetch.sh..." install -o "$OWNER" -g "$OWNER" -m 755 "$SCRIPT_DIR/radarFetch.sh" /opt/radar/radarFetch.sh -- cgit v1.3