From 49949a0b2e6d30794258f7a9544e57ba0584d038 Mon Sep 17 00:00:00 2001 From: Ian Renton Date: Sat, 11 Apr 2026 08:17:30 +0100 Subject: [PATCH] Fix display of the last time cleanup ran --- templates/about.html | 2 +- templates/add_spot.html | 4 ++-- templates/alerts.html | 4 ++-- templates/bands.html | 6 +++--- templates/base.html | 6 +++--- templates/conditions.html | 4 ++-- templates/map.html | 6 +++--- templates/spots.html | 6 +++--- templates/status.html | 4 ++-- webassets/js/status.js | 2 +- 10 files changed, 22 insertions(+), 22 deletions(-) diff --git a/templates/about.html b/templates/about.html index a6f3784..a7abb46 100644 --- a/templates/about.html +++ b/templates/about.html @@ -67,7 +67,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 2e1a543..0cfccad 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 fbbcdd3..81ac3dc 100644 --- a/templates/alerts.html +++ b/templates/alerts.html @@ -56,8 +56,8 @@ - - + + {% end %} \ No newline at end of file diff --git a/templates/bands.html b/templates/bands.html index 1f4ab08..b4903c4 100644 --- a/templates/bands.html +++ b/templates/bands.html @@ -62,9 +62,9 @@ - - - + + + {% end %} \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index b2447a4..168d496 100644 --- a/templates/base.html +++ b/templates/base.html @@ -46,9 +46,9 @@ crossorigin="anonymous"> - - - + + + diff --git a/templates/conditions.html b/templates/conditions.html index e23b2eb..aba511c 100644 --- a/templates/conditions.html +++ b/templates/conditions.html @@ -230,8 +230,8 @@ - - + + diff --git a/templates/map.html b/templates/map.html index de73db3..8ed1daa 100644 --- a/templates/map.html +++ b/templates/map.html @@ -79,9 +79,9 @@ - - - + + + {% end %} \ No newline at end of file diff --git a/templates/spots.html b/templates/spots.html index 84aee80..e5aa139 100644 --- a/templates/spots.html +++ b/templates/spots.html @@ -90,9 +90,9 @@ - - - + + + {% end %} \ No newline at end of file diff --git a/templates/status.html b/templates/status.html index 0eaea8e..b7ca55c 100644 --- a/templates/status.html +++ b/templates/status.html @@ -59,8 +59,8 @@ - - + + diff --git a/webassets/js/status.js b/webassets/js/status.js index 3b6f0c8..2c9dd50 100644 --- a/webassets/js/status.js +++ b/webassets/js/status.js @@ -13,7 +13,7 @@ function loadStatus() { $("#web-server-last-page").text(moment.unix(jsonData["webserver"]["last_page_access"]).utc().fromNow()); $("#cleanup-status").text(jsonData["cleanup"]["status"]); - $("#cleanu-last-ran").text(moment.unix(jsonData["cleanup"]["last_ran"]).utc().fromNow()); + $("#cleanup-last-ran").text(moment.unix(jsonData["cleanup"]["last_ran"]).utc().fromNow()); jsonData["spot_providers"].forEach(p => { $("#spot-providers-status-container").append(`