Add horde-map template

master
Nikola Forró 6 years ago
parent 2e2317022a
commit 531f8f8f78

@ -0,0 +1,34 @@
{% extends 'partials/base.html.twig' %}
{% block javascripts %}
{% do assets.addJs('https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList') %}
{% do assets.addJs('https://cdn.rawgit.com/openlayers/openlayers.github.io/master/en/v5.3.0/build/ol.js') %}
{% do assets.addJs('https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js') %}
{{ parent() }}
{% endblock %}
{% block stylesheets %}
{% do assets.addCss('https://cdn.rawgit.com/openlayers/openlayers.github.io/master/en/v5.3.0/css/ol.css') %}
{% do assets.addCss('/horde-map/assets/map.css') %}
{{ parent() }}
{% endblock %}
{% block bottom %}
{{ parent() }}
{% do assets.addJs('/horde-map/assets/map.js') %}
{{ assets.js() }}
{% endblock %}
{% block content %}
{{ page.content }}
<div id="map" class="map"></div>
{% endblock %}
Loading…
Cancel
Save