General refactor to remove stuff being passed around the Tornado handlers when it doesn't need to be. Conditions provider presence is how handled on the JS side without needing special booleans sent to every page handler.

This commit is contained in:
Ian Renton
2026-06-09 11:06:48 +01:00
parent cd30fc765b
commit b725c34f7c
14 changed files with 281 additions and 281 deletions

View File

@@ -94,9 +94,9 @@
<script>
let spotProvidersEnabledByDefault = {% raw json_encode(web_ui_options["spot-providers-enabled-by-default"]) %};
</script>
<script src="/js/common.js?v=1780997896"></script>
<script src="/js/spotsbandsandmap.js?v=1780997896"></script>
<script src="/js/map.js?v=1780997896"></script>
<script src="/js/common.js?v=1780999608"></script>
<script src="/js/spotsbandsandmap.js?v=1780999608"></script>
<script src="/js/map.js?v=1780999608"></script>
<script>$(document).ready(function() { $("#nav-link-map").addClass("active"); }); <!-- highlight active page in nav --></script>
{% end %}