From a55179d94473bdb14980b98436a1f788cfca2219 Mon Sep 17 00:00:00 2001 From: Ian Renton Date: Sat, 28 Mar 2026 12:01:01 +0000 Subject: [PATCH] Template for conditions page #92 --- templates/about.html | 2 +- templates/add_spot.html | 4 ++-- templates/alerts.html | 4 ++-- templates/bands.html | 6 +++--- templates/base.html | 8 ++++---- templates/conditions.html | 21 +++++++++++++++++++-- templates/map.html | 6 +++--- templates/spots.html | 6 +++--- templates/status.html | 4 ++-- webassets/js/conditions.js | 11 +++++++++++ 10 files changed, 50 insertions(+), 22 deletions(-) create mode 100644 webassets/js/conditions.js diff --git a/templates/about.html b/templates/about.html index 12172e8..012040e 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 06cbf5f..e3db028 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 8584bf4..fb4a8e7 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 d061769..dab2800 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 329c7e4..1c4caaa 100644 --- a/templates/base.html +++ b/templates/base.html @@ -46,10 +46,10 @@ crossorigin="anonymous"> - - - - + + + + diff --git a/templates/conditions.html b/templates/conditions.html index f2cc5ad..74431ad 100644 --- a/templates/conditions.html +++ b/templates/conditions.html @@ -1,9 +1,26 @@ {% extends "base.html" %} {% block content %} -Coming soon! +
+
+ Propagation +
+
+ Coming soon! +
+
- +
+
+ Solar Weather +
+
+ Coming soon! +
+
+ + + {% end %} \ No newline at end of file diff --git a/templates/map.html b/templates/map.html index dcc0e0f..3e58eb8 100644 --- a/templates/map.html +++ b/templates/map.html @@ -70,9 +70,9 @@ - - - + + + {% end %} \ No newline at end of file diff --git a/templates/spots.html b/templates/spots.html index 81244c9..368e337 100644 --- a/templates/spots.html +++ b/templates/spots.html @@ -87,9 +87,9 @@ - - - + + + {% end %} \ No newline at end of file diff --git a/templates/status.html b/templates/status.html index a8da402..5ec61bb 100644 --- a/templates/status.html +++ b/templates/status.html @@ -59,8 +59,8 @@ - - + + diff --git a/webassets/js/conditions.js b/webassets/js/conditions.js new file mode 100644 index 0000000..d91a2f6 --- /dev/null +++ b/webassets/js/conditions.js @@ -0,0 +1,11 @@ +// Load solar conditions +function loadSolarConditions() { + $.getJSON('/api/v1/solar', function(jsonData) { + + }); +} + +// Startup +$(document).ready(function() { + loadSolarConditions(); +}); \ No newline at end of file