Consistency about whether "GMA Islands" is plural or not; widen columns on SIG list so it doesn't wrap

This commit is contained in:
Ian Renton
2026-08-29 08:34:04 +01:00
parent 2a4190ec4a
commit c3a360e691
12 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ SIGS = [
ref_regex=r"[A-Z]{2}\-\d{3}", ref_regex=r"[A-Z]{2}\-\d{3}",
), ),
SIG( SIG(
name="GMA Island", name="GMA Islands",
comment_names=[], comment_names=[],
description="Global Mountain Activity - Islands", description="Global Mountain Activity - Islands",
ref_regex=r"(([A-Z]{2}\-\d{3})|([A-Z0-9]{1,3}\/[A-Z]{2}\-\d{3}))", ref_regex=r"(([A-Z]{2}\-\d{3})|([A-Z0-9]{1,3}\/[A-Z]{2}\-\d{3}))",
+2 -2
View File
@@ -118,8 +118,8 @@ class GMA(HTTPSpotProvider):
spot.sig_refs[0].sig = "IOTA" spot.sig_refs[0].sig = "IOTA"
spot.sig = "IOTA" spot.sig = "IOTA"
case "GMA Island": case "GMA Island":
spot.sig_refs[0].sig = "GMA Island" spot.sig_refs[0].sig = "GMA Islands"
spot.sig = "GMA Island" spot.sig = "GMA Islands"
case "Lighthouse (ILLW)": case "Lighthouse (ILLW)":
spot.sig_refs[0].sig = "ILLW" spot.sig_refs[0].sig = "ILLW"
spot.sig = "ILLW" spot.sig = "ILLW"
+1 -1
View File
@@ -40,7 +40,7 @@ function setHamHFBandToggles() {
// Generate SIGs filter card. This one is also a special case. // Generate SIGs filter card. This one is also a special case.
function generateSIGsMultiToggleFilterCard(sig_options) { function generateSIGsMultiToggleFilterCard(sig_options) {
const $grid = $('<div class="row row-cols-2 row-cols-xxl-3 g-1 mb-1">'); const $grid = $('<div class="row row-cols-2 g-1 mb-1">');
sig_options.forEach(o => { sig_options.forEach(o => {
const domSafeName = o["name"].replace(/^[^A-Za-z0-9]+|[^\w]+/gi, ""); const domSafeName = o["name"].replace(/^[^A-Za-z0-9]+|[^\w]+/gi, "");
$grid.append(`<div class="col"><div class="form-check"><input type="checkbox" class="form-check-input filter-button-sig storeable-checkbox" id="filter-button-sig-${domSafeName}" value="${o['name']}" autocomplete="off" onClick="filtersUpdated()" checked><label class="form-check-label" id="filter-button-label-sig-${domSafeName}" for="filter-button-sig-${domSafeName}" title="${o['description']}"><i class="fa-solid ${sigToIcon(o['name'], 'fa-tower-cell')}"></i> ${o['name']}</label></div></div>`); $grid.append(`<div class="col"><div class="form-check"><input type="checkbox" class="form-check-input filter-button-sig storeable-checkbox" id="filter-button-sig-${domSafeName}" value="${o['name']}" autocomplete="off" onClick="filtersUpdated()" checked><label class="form-check-label" id="filter-button-label-sig-${domSafeName}" for="filter-button-sig-${domSafeName}" title="${o['description']}"><i class="fa-solid ${sigToIcon(o['name'], 'fa-tower-cell')}"></i> ${o['name']}</label></div></div>`);
+2 -2
View File
@@ -345,7 +345,7 @@ const SIG_ICONS = {
"SOTA": "fa-mountain-sun", "SOTA": "fa-mountain-sun",
"WWFF": "fa-seedling", "WWFF": "fa-seedling",
"GMA": "fa-person-hiking", "GMA": "fa-person-hiking",
"GMA Island": "fa-person-hiking", "GMA Islands": "fa-person-hiking",
"WWBOTA": "fa-radiation", "WWBOTA": "fa-radiation",
"HEMA": "fa-mound", "HEMA": "fa-mound",
"IOTA": "fa-book-atlas", "IOTA": "fa-book-atlas",
@@ -373,7 +373,7 @@ const SIG_NAMES = {
"SOTA": "Summits on the Air", "SOTA": "Summits on the Air",
"WWFF": "Worldwide Flora & Fauna", "WWFF": "Worldwide Flora & Fauna",
"GMA": "Global Mountain Activity", "GMA": "Global Mountain Activity",
"GMA Island": "Global Mountain Activity - Islands", "GMA Islands": "Global Mountain Activity - Islands",
"WWBOTA": "Bunkers on the Air", "WWBOTA": "Bunkers on the Air",
"HEMA": "Humps Excluding Marilyns Award", "HEMA": "Humps Excluding Marilyns Award",
"IOTA": "Islands on the Air", "IOTA": "Islands on the Air",
+1 -1
View File
@@ -76,7 +76,7 @@
</div> </div>
<script src="/static/js/add-spot.js?v=1787950046"></script> <script src="/static/js/add-spot.js?v=1787988844"></script>
<script>$(document).ready(function () { <script>$(document).ready(function () {
$("#nav-link-add-spot").addClass("active"); $("#nav-link-add-spot").addClass("active");
}); <!-- highlight active page in nav --></script> }); <!-- highlight active page in nav --></script>
+1 -1
View File
@@ -84,7 +84,7 @@
</div> </div>
<script src="/static/js/alerts.js?v=1787950046"></script> <script src="/static/js/alerts.js?v=1787988844"></script>
<script>$(document).ready(function () { <script>$(document).ready(function () {
$("#nav-link-alerts").addClass("active"); $("#nav-link-alerts").addClass("active");
}); <!-- highlight active page in nav --></script> }); <!-- highlight active page in nav --></script>
+2 -2
View File
@@ -76,8 +76,8 @@
</div> </div>
<script src="/static/js/spotsbandsandmap.js?v=1787950046"></script> <script src="/static/js/spotsbandsandmap.js?v=1787988844"></script>
<script src="/static/js/bands.js?v=1787950046"></script> <script src="/static/js/bands.js?v=1787988844"></script>
<script>$(document).ready(function () { <script>$(document).ready(function () {
$("#nav-link-bands").addClass("active"); $("#nav-link-bands").addClass("active");
}); <!-- highlight active page in nav --></script> }); <!-- highlight active page in nav --></script>
+5 -5
View File
@@ -1,6 +1,6 @@
{% extends "skeleton.html" %} {% extends "skeleton.html" %}
{% block head_extra %} {% block head_extra %}
<link rel="stylesheet" href="/static/css/style.css?v=1787950046" type="text/css"> <link rel="stylesheet" href="/static/css/style.css?v=1787988844" type="text/css">
<link href="/static/vendor/css/bootstrap-5.3.8.min.css" rel="stylesheet"> <link href="/static/vendor/css/bootstrap-5.3.8.min.css" rel="stylesheet">
<link href="/static/vendor/css/fontawesome-6.7.2.min.css" rel="stylesheet"> <link href="/static/vendor/css/fontawesome-6.7.2.min.css" rel="stylesheet">
<link href="/static/vendor/css/solid-6.7.2.min.css" rel="stylesheet"> <link href="/static/vendor/css/solid-6.7.2.min.css" rel="stylesheet">
@@ -15,10 +15,10 @@
window.fetchEventSource = fetchEventSource; window.fetchEventSource = fetchEventSource;
</script> </script>
<script src="/static/js/utils.js?v=1787950046"></script> <script src="/static/js/utils.js?v=1787988844"></script>
<script src="/static/js/ui-ham.js?v=1787950046"></script> <script src="/static/js/ui-ham.js?v=1787988844"></script>
<script src="/static/js/geo.js?v=1787950046"></script> <script src="/static/js/geo.js?v=1787988844"></script>
<script src="/static/js/common.js?v=1787950046"></script> <script src="/static/js/common.js?v=1787988844"></script>
{% end %} {% end %}
{% block body %} {% block body %}
<div class="container"> <div class="container">
+1 -1
View File
@@ -284,7 +284,7 @@
</div> </div>
<script src="/static/vendor/js/chart-4.4.9.umd.min.js"></script> <script src="/static/vendor/js/chart-4.4.9.umd.min.js"></script>
<script src="/static/js/conditions.js?v=1787950046"></script> <script src="/static/js/conditions.js?v=1787988844"></script>
<script>$(document).ready(function () { <script>$(document).ready(function () {
$("#nav-link-conditions").addClass("active"); $("#nav-link-conditions").addClass("active");
}); <!-- highlight active page in nav --></script> }); <!-- highlight active page in nav --></script>
+2 -2
View File
@@ -113,8 +113,8 @@
const CARTODB_API_KEY = "{{ web_ui_options.get('cartodb_api_key', '') }}"; const CARTODB_API_KEY = "{{ web_ui_options.get('cartodb_api_key', '') }}";
</script> </script>
<script src="/static/js/spotsbandsandmap.js?v=1787950045"></script> <script src="/static/js/spotsbandsandmap.js?v=1787988844"></script>
<script src="/static/js/map.js?v=1787950045"></script> <script src="/static/js/map.js?v=1787988844"></script>
<script>$(document).ready(function () { <script>$(document).ready(function () {
$("#nav-link-map").addClass("active"); $("#nav-link-map").addClass("active");
}); <!-- highlight active page in nav --></script> }); <!-- highlight active page in nav --></script>
+2 -2
View File
@@ -113,8 +113,8 @@
</div> </div>
<script src="/static/js/spotsbandsandmap.js?v=1787950045"></script> <script src="/static/js/spotsbandsandmap.js?v=1787988844"></script>
<script src="/static/js/spots.js?v=1787950045"></script> <script src="/static/js/spots.js?v=1787988844"></script>
<script>$(document).ready(function () { <script>$(document).ready(function () {
$("#nav-link-spots").addClass("active"); $("#nav-link-spots").addClass("active");
}); <!-- highlight active page in nav --></script> }); <!-- highlight active page in nav --></script>
+1 -1
View File
@@ -86,7 +86,7 @@
</div> </div>
</div> </div>
<script src="/static/js/status.js?v=1787950046"></script> <script src="/static/js/status.js?v=1787988844"></script>
<script> <script>
$(document).ready(function () { $(document).ready(function () {
$("#nav-link-status").addClass("active"); $("#nav-link-status").addClass("active");