diff --git a/core/enums.py b/core/enums.py index 107c236..5ff5c0d 100644 --- a/core/enums.py +++ b/core/enums.py @@ -139,6 +139,7 @@ class ActivityName(str, Enum): COTA = "COTA" PGA = "PGA" JOTA = "JOTA" + RAILWAYS = "Railways" TOILETS = "Toilets" def __str__(self): diff --git a/data/activities.py b/data/activities.py index 2bf3056..40bcd06 100644 --- a/data/activities.py +++ b/data/activities.py @@ -466,6 +466,15 @@ ACTIVITIES: dict[ActivityName, Activity] = { comment_names=["ILLW"], icon="fa-house-flood-water", ), + ActivityName.RAILWAYS: Activity( + name=ActivityName.RAILWAYS, + description="Railways on the Air", + activity_type=ActivityType.EVENT, + has_refs=False, + refs_globally_unique=False, + comment_names=["ROTA", "Railway", "Railways"], + icon="fa-train", + ), ActivityName.MOTA: Activity( name=ActivityName.MOTA, description="Mills on the Air", diff --git a/templates/add-spot.html b/templates/add-spot.html index 71c8924..766d668 100644 --- a/templates/add-spot.html +++ b/templates/add-spot.html @@ -136,7 +136,7 @@ const ALLOW_UPSTREAM_SPOTTING = {% raw safe_json_dumps(web_ui_options["allow_upstream_spotting"]) %}; - + diff --git a/templates/alerts.html b/templates/alerts.html index f986145..5a6bf4d 100644 --- a/templates/alerts.html +++ b/templates/alerts.html @@ -87,7 +87,7 @@ - + diff --git a/templates/bands.html b/templates/bands.html index dcd7816..8a71115 100644 --- a/templates/bands.html +++ b/templates/bands.html @@ -82,8 +82,8 @@ const BANDS = {% raw safe_json_dumps(options["bands"]) %}; - - + + diff --git a/templates/base.html b/templates/base.html index 60ad271..7c4c35e 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,6 +1,6 @@ {% extends "skeleton.html" %} {% block head_extra %} - + @@ -16,10 +16,10 @@ window.fetchEventSource = fetchEventSource; - - - - + + + + {% end %} {% block body %}
diff --git a/templates/conditions.html b/templates/conditions.html index 3ddd386..14980df 100644 --- a/templates/conditions.html +++ b/templates/conditions.html @@ -284,7 +284,7 @@
- + diff --git a/templates/map.html b/templates/map.html index 7c20053..82448e3 100644 --- a/templates/map.html +++ b/templates/map.html @@ -115,8 +115,8 @@ const CARTODB_API_KEY = "{{ web_ui_options.get('cartodb_api_key', '') }}"; - - + + diff --git a/templates/spots.html b/templates/spots.html index bdbe888..2130743 100644 --- a/templates/spots.html +++ b/templates/spots.html @@ -127,8 +127,8 @@ - - + + diff --git a/templates/status.html b/templates/status.html index e34769e..4a46c9f 100644 --- a/templates/status.html +++ b/templates/status.html @@ -96,7 +96,7 @@ - +