diff --git a/server/handlers/api/options.py b/server/handlers/api/options.py index 4529e53..9e581dd 100644 --- a/server/handlers/api/options.py +++ b/server/handlers/api/options.py @@ -42,7 +42,7 @@ class APIOptionsHandler(tornado.web.RequestHandler): "alert_sources": list( map(lambda p: p["name"], filter(lambda p: p["enabled"], self._status_data["alert_providers"]))), "continents": CONTINENTS, - "propagation_modes": PROPAGATION_MODES.values(), + "propagation_modes": list(PROPAGATION_MODES.values()), "max_spot_age": MAX_SPOT_AGE, "spot_allowed": ALLOW_SPOTTING} # If spotting to this server is enabled, "API" is another valid spot source even though it does not come from diff --git a/templates/add_spot.html b/templates/add_spot.html index f037c23..c7005e1 100644 --- a/templates/add_spot.html +++ b/templates/add_spot.html @@ -76,7 +76,7 @@ - + diff --git a/templates/alerts.html b/templates/alerts.html index 1b0cfa5..18b0dfd 100644 --- a/templates/alerts.html +++ b/templates/alerts.html @@ -75,7 +75,7 @@ - + diff --git a/templates/bands.html b/templates/bands.html index 21577d0..3de0646 100644 --- a/templates/bands.html +++ b/templates/bands.html @@ -77,8 +77,8 @@ - - + + diff --git a/templates/base.html b/templates/base.html index 4537825..d70aacc 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,6 +1,6 @@ {% extends "skeleton.html" %} {% block head_extra %} - + @@ -10,10 +10,10 @@ - - - - + + + + {% end %} {% block body %}
diff --git a/templates/conditions.html b/templates/conditions.html index bc4edc2..739cc90 100644 --- a/templates/conditions.html +++ b/templates/conditions.html @@ -284,7 +284,7 @@
- + diff --git a/templates/map.html b/templates/map.html index 4dd5c21..3c165f8 100644 --- a/templates/map.html +++ b/templates/map.html @@ -95,8 +95,8 @@ - - + + diff --git a/templates/spots.html b/templates/spots.html index 645d1ee..8ebc625 100644 --- a/templates/spots.html +++ b/templates/spots.html @@ -116,8 +116,8 @@ - - + + diff --git a/templates/status.html b/templates/status.html index 8326fc0..b293fe9 100644 --- a/templates/status.html +++ b/templates/status.html @@ -59,7 +59,7 @@ - +