From 575f1892abe2411ed6002d0d0516d25eb6674b8a Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 7 Feb 2017 18:19:16 +0000 Subject: Ajout du patron de carte principale --- templates/chimere/blocks/main_map.html | 133 +++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 templates/chimere/blocks/main_map.html diff --git a/templates/chimere/blocks/main_map.html b/templates/chimere/blocks/main_map.html new file mode 100644 index 0000000..2488bf9 --- /dev/null +++ b/templates/chimere/blocks/main_map.html @@ -0,0 +1,133 @@ +{% extends "chimere/base.html" %} +{% load i18n unlocalize_point chimere_tags %} +{% block extra_head %} +{% head_jquery %} +{% head_chimere %} +{% head_jme %} +{% head_form %} + + + +{% if has_search %} + +{% endif %} + + + +{{ block.super }} +{% endblock %} +{% block message_edit %}{% endblock %} +{% block sidebar %} + +
+ + +
+
+
+
+
{# dynamic content #} +
+
+ + {% routing %} +
+
+
{# dynamic content #} +
+
{# dynamic content #} +
+
{# dynamic content #} +
+
+
+ +{% endblock %} +{% block content %} +
+
+ + +
+ {% if not itinerary_form %}
+ + {% trans "Move on the map" %} + + + {% trans "Draw" %} + +
{% endif %} + + {% if not MOBILE %} + {% if simple %} + {% display_welcome 0 %} + {%else%} + {% display_welcome news_visible %} + {% endif %} + {% display_news news_visible %} + {% endif %} + {{ block.super }} +
+
+ + {% map_menu %} + {% map 'main-map' %} +
+ +{% endblock %} +{% block footer %} + +{% endblock %} -- cgit v1.2.3