Add a map

So you can check you’ve chosen the right areas, and to give you a clear
idea of where the boundaries of an area are.

The Javascript and CSS for the map is only loaded on this page because
it adds quite a few kb, and we don’t want to be sending assets to the
majority of our users who will never see them.
This commit is contained in:
Chris Hill-Scott
2020-07-06 10:53:14 +01:00
parent 18d464d4f0
commit d0d3fc6857
4 changed files with 52 additions and 8 deletions

View File

@@ -14,6 +14,8 @@
{% block head %}
<link rel="stylesheet" media="screen" href="{{ asset_url('stylesheets/main.css') }}" />
<link rel="stylesheet" media="print" href="{{ asset_url('stylesheets/print.css') }}" />
{% block extra_stylesheets %}
{% endblock %}
<style>
.govuk-header__container { border-color: {{header_colour}} }
</style>
@@ -251,6 +253,8 @@
{% endblock %}
{% block bodyEnd %}
{% block extra_javascripts %}
{% endblock %}
<!--[if gt IE 8]><!-->
<script type="text/javascript" src="{{ asset_url('javascripts/all.js') }}"></script>
<!--<![endif]-->