Moved additional headers to parent template.

This commit is contained in:
Marcus Scholz 2020-08-20 23:07:52 +02:00
parent 4113811c5f
commit 3caada8f08
2 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,9 @@
{% extends 'global.html'%}
{% load static %}
{% block additional_head %}
<link rel="stylesheet" href="{% static 'ol.css' %}" type="text/css">
<script src="{% static 'ol.js' %}"></script>
{% endblock additional_head %}
# {% block title %}Start{% endblock %}

View File

@ -1,12 +1,7 @@
{% load static %}
{% block additional_head %}
<link rel="stylesheet" href="{% static 'ol.css' %}" type="text/css">
{% endblock additional_head %}
<div id="map" class="map"></div>
<div id="info" class="map-popup"></div>
<script src="{% static 'ol.js' %}"></script>
<script type="text/javascript">
var map = new ol.Map({