diff --git a/Makefile b/Makefile index 63d65a4..1e9ea1b 100644 --- a/Makefile +++ b/Makefile @@ -21,12 +21,12 @@ build: clean done install: - mkdir -p $(DESTDIR)$(prefix)/share/authentic2/montpellier - mkdir -p $(DESTDIR)$(prefix)/share/portail-citoyen2/montpellier + mkdir -p $(DESTDIR)$(prefix)/share/montpellier-theme/templates mkdir -p $(DESTDIR)$(prefix)/share/wcs/themes/montpellier2 mkdir -p $(DESTDIR)$(prefix)/share/wcs/themes/montpellier-commune mkdir -p $(DESTDIR)$(prefix)/share/montpellier-theme/static cp -r static/* $(DESTDIR)$(prefix)/share/montpellier-theme/static + cp -r templates/* $(DESTDIR)$(prefix)/share/montpellier-theme/templates/ cp -r idp/* $(DESTDIR)$(prefix)/share/authentic2/montpellier cp -r portail-citoyen/* $(DESTDIR)$(prefix)/share/portail-citoyen2/montpellier cp -ar wcs/montpellier2/* $(DESTDIR)$(prefix)/share/wcs/themes/montpellier2/ diff --git a/portail-citoyen/templates/block.html b/portail-citoyen/templates/block.html deleted file mode 100644 index 68ade7f..0000000 --- a/portail-citoyen/templates/block.html +++ /dev/null @@ -1,3 +0,0 @@ -
- {{ body|safe }} -
diff --git a/portail-citoyen/templates/blurps/categories.html b/portail-citoyen/templates/blurps/categories.html deleted file mode 100644 index f55d67b..0000000 --- a/portail-citoyen/templates/blurps/categories.html +++ /dev/null @@ -1,2 +0,0 @@ -{% load i18n sekizai_tags %} -test diff --git a/portail-citoyen/templates/blurps/demarches.html b/portail-citoyen/templates/blurps/demarches.html deleted file mode 100644 index 272c714..0000000 --- a/portail-citoyen/templates/blurps/demarches.html +++ /dev/null @@ -1,151 +0,0 @@ -{% load i18n sekizai_tags static blurp_tags %} -{% with demarches=agglo.data %} -{% if demarches %} -

Démarches de Montpellier Méditerranée Métropole

- -{% endif %} -{% endwith %} - -
- -
- -
-

{% trans "Les démarches dans les autres communes" %}

-
-
-
- -{% addtoblock "js" %} - -{% endaddtoblock %} diff --git a/portail-citoyen/templates/blurps/demarches_en_cours.html b/portail-citoyen/templates/blurps/demarches_en_cours.html deleted file mode 100644 index e0bcd25..0000000 --- a/portail-citoyen/templates/blurps/demarches_en_cours.html +++ /dev/null @@ -1,12 +0,0 @@ -{% if demarches_en_cours %} - -{% endif %} diff --git a/portail-citoyen/templates/form.html b/templates/authentic2/form.html similarity index 88% rename from portail-citoyen/templates/form.html rename to templates/authentic2/form.html index c2beb48..0251ad7 100644 --- a/portail-citoyen/templates/form.html +++ b/templates/authentic2/form.html @@ -1,7 +1,7 @@ {% load i18n %}
{% csrf_token %} - {% include "form_fields.html" with form=form %} + {% include "authentic2/form_fields.html" with form=form %} diff --git a/idp/templates/form_fields.html b/templates/authentic2/form_fields.html similarity index 100% rename from idp/templates/form_fields.html rename to templates/authentic2/form_fields.html diff --git a/idp/templates/authentic2/login.html b/templates/authentic2/login.html similarity index 100% rename from idp/templates/authentic2/login.html rename to templates/authentic2/login.html diff --git a/idp/templates/authentic2/login_password_form.html b/templates/authentic2/login_password_form.html similarity index 91% rename from idp/templates/authentic2/login_password_form.html rename to templates/authentic2/login_password_form.html index 7482360..db90152 100644 --- a/idp/templates/authentic2/login_password_form.html +++ b/templates/authentic2/login_password_form.html @@ -2,7 +2,7 @@
{% csrf_token %} -{% include "form_fields.html" with form=form %} +{% include "authentic2/form_fields.html" with form=form %} {% if cancel %} diff --git a/idp/templates/base.html b/templates/base.html similarity index 91% rename from idp/templates/base.html rename to templates/base.html index 00d0499..07faf02 100644 --- a/idp/templates/base.html +++ b/templates/base.html @@ -1,5 +1,5 @@ -{% load i18n static sekizai_tags %} +{% load i18n static %} @@ -9,8 +9,9 @@ Compte Citoyen :: Montpellier Méditerranée Métropole :: {% block title %}{% endblock %} - {% render_block "css" %} + {% block extra_styles %} + {% endblock %}