From e69bb7a7ec11f890f32c5538d76b45f098b13c81 Mon Sep 17 00:00:00 2001 From: Ian Renton Date: Thu, 21 May 2026 22:00:05 +0100 Subject: [PATCH] Horrible splitting up of templates so that Redoc can have the page all to itself, and therefore the bookmarks actually work --- templates/about.html | 2 +- templates/add_spot.html | 4 +-- templates/alerts.html | 4 +-- templates/apidocs.html | 9 +++---- templates/bands.html | 6 ++--- templates/base.html | 53 +++++++-------------------------------- templates/conditions.html | 4 +-- templates/map.html | 6 ++--- templates/skeleton.html | 41 ++++++++++++++++++++++++++++++ templates/spots.html | 6 ++--- templates/status.html | 4 +-- 11 files changed, 71 insertions(+), 68 deletions(-) create mode 100644 templates/skeleton.html diff --git a/templates/about.html b/templates/about.html index b60c3fa..0d4d667 100644 --- a/templates/about.html +++ b/templates/about.html @@ -69,7 +69,7 @@

This software is dedicated to the memory of Tom G1PJB, SK, a friend and colleague who sadly passed away around the time I started writing it in Autumn 2025. I was looking forward to showing it to you when it was done.

- + {% end %} \ No newline at end of file diff --git a/templates/add_spot.html b/templates/add_spot.html index bf45d67..3445ee7 100644 --- a/templates/add_spot.html +++ b/templates/add_spot.html @@ -69,8 +69,8 @@ - - + + {% end %} \ No newline at end of file diff --git a/templates/alerts.html b/templates/alerts.html index 1423ffc..e2548a1 100644 --- a/templates/alerts.html +++ b/templates/alerts.html @@ -70,8 +70,8 @@ - - + + {% end %} \ No newline at end of file diff --git a/templates/apidocs.html b/templates/apidocs.html index 854e02a..cc1f15e 100644 --- a/templates/apidocs.html +++ b/templates/apidocs.html @@ -1,8 +1,5 @@ -{% extends "base.html" %} -{% block content %} - +{% extends "skeleton.html" %} +{% block body %} - - -{% end %} \ No newline at end of file +{% end %} diff --git a/templates/bands.html b/templates/bands.html index c2243b2..495b87a 100644 --- a/templates/bands.html +++ b/templates/bands.html @@ -76,9 +76,9 @@ - - - + + + {% end %} \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index 3e90081..ca2f8a8 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,44 +1,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - Spothole - - +{% extends "skeleton.html" %} +{% block head_extra %} + - - - - - - - - - @@ -52,12 +19,11 @@ integrity="sha384-L1eE4eD41kpBIWe2I0eHy+GnEUC4RIpcvibVW2JCminuPlTl+2Bc528iPdVMg5Dn" crossorigin="anonymous"> - - - - - - + + + +{% end %} +{% block body %}
- - + +