From 1f3bcebdafa399d7c7c35f4d5a1904b5bfdf040a Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 21 Sep 2016 10:36:49 +0200 Subject: Reorganize templates - remove dead templates --- .../templates/chimere/base.html | 41 ------ .../templates/chimere/blocks/actions.html | 61 --------- .../templates/chimere/blocks/categories.html | 32 ----- .../templates/chimere/blocks/map.html | 120 ----------------- .../templates/chimere/blocks/news.html | 62 --------- .../templates/chimere/blocks/share_bar.html | 39 ------ .../templates/chimere/blocks/welcome.html | 62 --------- .../templates/chimere/detail.html | 150 --------------------- .../templates/chimere/main_map.html | 54 -------- 9 files changed, 621 deletions(-) delete mode 100644 chimere_example_project/templates/chimere/base.html delete mode 100644 chimere_example_project/templates/chimere/blocks/actions.html delete mode 100644 chimere_example_project/templates/chimere/blocks/categories.html delete mode 100644 chimere_example_project/templates/chimere/blocks/map.html delete mode 100644 chimere_example_project/templates/chimere/blocks/news.html delete mode 100644 chimere_example_project/templates/chimere/blocks/share_bar.html delete mode 100644 chimere_example_project/templates/chimere/blocks/welcome.html delete mode 100644 chimere_example_project/templates/chimere/detail.html delete mode 100644 chimere_example_project/templates/chimere/main_map.html (limited to 'chimere_example_project') diff --git a/chimere_example_project/templates/chimere/base.html b/chimere_example_project/templates/chimere/base.html deleted file mode 100644 index 70b5929..0000000 --- a/chimere_example_project/templates/chimere/base.html +++ /dev/null @@ -1,41 +0,0 @@ -{% extends "base.html" %} -{% load chimere_tags i18n %} -{% block extra_head %} - - -{% if css_area %} -{% endif %} -{% if MOBILE %} - -{%endif%} - - - - - - - -{% endblock %} -{% block header %} - - {% block page_title %}{% endblock %} - {% block actions %} - {% include "chimere/blocks/actions.html" %} - {% endblock %} -{% endblock %} -{% block content %} - {% block top %}{% endblock %} - {% block message_map %}{% endblock %} - {% block message_edit %}{% endblock %} - {% block bottom %}{% endblock %} -{% endblock %} -{% block footer %} - {% include "chimere/blocks/footer.html" %} -{% endblock %} - diff --git a/chimere_example_project/templates/chimere/blocks/actions.html b/chimere_example_project/templates/chimere/blocks/actions.html deleted file mode 100644 index e31e1cc..0000000 --- a/chimere_example_project/templates/chimere/blocks/actions.html +++ /dev/null @@ -1,61 +0,0 @@ -{% load i18n chimere_tags %} - diff --git a/chimere_example_project/templates/chimere/blocks/categories.html b/chimere_example_project/templates/chimere/blocks/categories.html deleted file mode 100644 index 9ef4e29..0000000 --- a/chimere_example_project/templates/chimere/blocks/categories.html +++ /dev/null @@ -1,32 +0,0 @@ -{% load i18n %} - - diff --git a/chimere_example_project/templates/chimere/blocks/map.html b/chimere_example_project/templates/chimere/blocks/map.html deleted file mode 100644 index e3fef74..0000000 --- a/chimere_example_project/templates/chimere/blocks/map.html +++ /dev/null @@ -1,120 +0,0 @@ -{% load i18n %} - - -
- -
-
- Ajax loader -
-
-
-

{% trans "Display options" %}

- -
- -
-
- diff --git a/chimere_example_project/templates/chimere/blocks/news.html b/chimere_example_project/templates/chimere/blocks/news.html deleted file mode 100644 index 3f4d9ae..0000000 --- a/chimere_example_project/templates/chimere/blocks/news.html +++ /dev/null @@ -1,62 +0,0 @@ -{% load i18n sanitize chimere_tags %} -{% if news_lst %} - - - -{% endif %} diff --git a/chimere_example_project/templates/chimere/blocks/share_bar.html b/chimere_example_project/templates/chimere/blocks/share_bar.html deleted file mode 100644 index 5367628..0000000 --- a/chimere_example_project/templates/chimere/blocks/share_bar.html +++ /dev/null @@ -1,39 +0,0 @@ -{% load i18n %} - {% if share_networks %} - {% if simple %}{% trans "Share on"%}{% for share_network in share_networks %} - {{share_network.0}} - {% endfor %}{%else%} - {% endif %} - - {% endif %} diff --git a/chimere_example_project/templates/chimere/blocks/welcome.html b/chimere_example_project/templates/chimere/blocks/welcome.html deleted file mode 100644 index a1dfb56..0000000 --- a/chimere_example_project/templates/chimere/blocks/welcome.html +++ /dev/null @@ -1,62 +0,0 @@ -{% load i18n sanitize chimere_tags %} -{% if news_lst or welcome_message %} - - - -{% endif %} diff --git a/chimere_example_project/templates/chimere/detail.html b/chimere_example_project/templates/chimere/detail.html deleted file mode 100644 index 93388b5..0000000 --- a/chimere_example_project/templates/chimere/detail.html +++ /dev/null @@ -1,150 +0,0 @@ -{% load i18n sanitize chimere_tags %} -
- -

{{ marker.name }}

-
- {% if marker.default_pictures or marker.default_pictures or marker.default_multimedia_items%} - - {%endif%} -
- {% if dated %} -

{{marker.start_date|date:"D d M Y"}} - {% if marker.end_date %} - {{marker.end_date|date:"D d M Y"}}

{% endif %} - {% endif %} - {% if marker.description %} -

{{ marker.description|sanitize:"p b i br hr strong em img:src:alt span:style a:href:target ul li ol h1 h2 h3 h4 table td tr th"|safe}}

- {% endif %} - {% for property in properties %} -

{{property.propertymodel}}{% trans ":" %} {{ property.value|sanitize:"p b i br hr strong em img:src:alt span:style a:href:target ul li ol h1 h2 h3 h4 table td tr th"|safe}}

- {% endfor %} - {% if marker.origin %}

{% trans "Source:" %} {{marker.origin}}

{% endif %} - {% if marker.license %}

{% trans "License:" %} {{marker.license}}

{% endif %} - {% if marker.multimedia_items %}

- {% trans "Show the gallery"%} -

{% endif %} -
- {% share_bar marker.name %} -

- {% trans "Submit an amendment" %} - - {% if moderator_emails %} - - {% trans "Propose amendment" %} - {%endif%} -

-
-
- - -{% if marker.multimedia_items %} - - - - - -{% endif %} - - diff --git a/chimere_example_project/templates/chimere/main_map.html b/chimere_example_project/templates/chimere/main_map.html deleted file mode 100644 index 856bcdc..0000000 --- a/chimere_example_project/templates/chimere/main_map.html +++ /dev/null @@ -1,54 +0,0 @@ -{% extends "chimere/base.html" %} -{% load i18n unlocalize_point chimere_tags %} -{% block extra_head %} -{% head_jquery %} -{% head_chimere %} -{% head_jme %} - -{% if has_search %} - -{% endif %} -{{ block.super }} -{% endblock %} -{% block message_edit %}{% endblock %} -{% block sidebar %} -{% display_news %} -
-
- -
-
- -
-{% endblock %} -{% block search_box %} {% endblock %} -{% block content %} - {{block.super}} - -
-
- - {% map_menu %} - {% map 'main-map' %} - -{% endblock %} -{% block footer %} - -{% endblock %} -- cgit v1.2.3