From 0edd844db3b5b648f98f455a2623a98571e533e9 Mon Sep 17 00:00:00 2001 From: Ian Renton Date: Fri, 15 May 2026 19:08:56 +0100 Subject: [PATCH] Ionosonde display tweaks --- templates/about.html | 2 +- templates/add_spot.html | 4 ++-- templates/alerts.html | 4 ++-- templates/bands.html | 6 +++--- templates/base.html | 8 ++++---- templates/conditions.html | 6 +++--- templates/map.html | 6 +++--- templates/spots.html | 6 +++--- templates/status.html | 4 ++-- webassets/js/conditions.js | 6 +++--- 10 files changed, 26 insertions(+), 26 deletions(-) diff --git a/templates/about.html b/templates/about.html index 483e6a4..f2ebdcb 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 7674326..eed98a5 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 da0d023..e49e0be 100644 --- a/templates/alerts.html +++ b/templates/alerts.html @@ -70,8 +70,8 @@ - - + + {% end %} \ No newline at end of file diff --git a/templates/bands.html b/templates/bands.html index d9d79d4..568e75d 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 83c3d42..6d2bb8c 100644 --- a/templates/base.html +++ b/templates/base.html @@ -24,7 +24,7 @@ Spothole - + @@ -52,9 +52,9 @@ integrity="sha384-L1eE4eD41kpBIWe2I0eHy+GnEUC4RIpcvibVW2JCminuPlTl+2Bc528iPdVMg5Dn" crossorigin="anonymous"> - - - + + + diff --git a/templates/conditions.html b/templates/conditions.html index 285cb97..b728c80 100644 --- a/templates/conditions.html +++ b/templates/conditions.html @@ -176,7 +176,7 @@ {% if has_giro_ionosonde %}
- Critical Frequency and Maximum Usable Frequency + Critical & Maximum Usable Frequencies
@@ -249,8 +249,8 @@
- - + + diff --git a/templates/map.html b/templates/map.html index c9e182e..da43c0c 100644 --- a/templates/map.html +++ b/templates/map.html @@ -94,9 +94,9 @@ - - - + + + {% end %} \ No newline at end of file diff --git a/templates/spots.html b/templates/spots.html index a0261c9..f0c0c03 100644 --- a/templates/spots.html +++ b/templates/spots.html @@ -104,9 +104,9 @@ - - - + + + {% end %} \ No newline at end of file diff --git a/templates/status.html b/templates/status.html index 594d82f..d581a0e 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 index 24730d5..30ab86e 100644 --- a/webassets/js/conditions.js +++ b/webassets/js/conditions.js @@ -414,9 +414,8 @@ function renderIonosondeData() { $('#ionosonde-latest').html( '
' + '
Latest values as of ' + latestTimeStr + '
' + - '
' + - 'foF2: ' + (latestFof2 !== null ? latestFof2.toFixed(2) + ' MHz' : 'N/A') + '' + - 'MUF (3000 km): ' + (latestMuf !== null ? latestMuf.toFixed(2) + ' MHz' : 'N/A') + '' + + '
foF2: ' + (latestFof2 !== null ? latestFof2.toFixed(2) + ' MHz' : 'N/A') + '
' + + '
MUF (3000 km): ' + (latestMuf !== null ? latestMuf.toFixed(2) + ' MHz' : 'N/A') + '
' + '
' + '
' ); @@ -432,6 +431,7 @@ function renderIonosondeData() { // printed, and in general looks nicer than arbitrary ticks based on min & max timestamp const tickStep = 3 * 3600; const tickValues = []; + tickValues.push(minTs); for (let t = Math.ceil(minTs / tickStep) * tickStep; t <= maxTs; t += tickStep) { tickValues.push(t); }