From f83e1bca882773a2a48cfaac9d2a7e7a961f49f3 Mon Sep 17 00:00:00 2001 From: Serghei Mihai Date: Tue, 21 Jul 2015 15:15:24 +0200 Subject: [PATCH] base template with common css used by account management templates (#7896) --- .../templates/authentic2_auth_msp/base.html | 9 +++++++ .../authentic2_auth_msp/confirm_unlink.html | 24 +++++++++++-------- .../authentic2_auth_msp/link_management.html | 8 +++---- .../authentic2_auth_msp/unlink_done.html | 6 ++--- 4 files changed, 29 insertions(+), 18 deletions(-) create mode 100644 src/authentic2_auth_msp/templates/authentic2_auth_msp/base.html diff --git a/src/authentic2_auth_msp/templates/authentic2_auth_msp/base.html b/src/authentic2_auth_msp/templates/authentic2_auth_msp/base.html new file mode 100644 index 0000000..80b89eb --- /dev/null +++ b/src/authentic2_auth_msp/templates/authentic2_auth_msp/base.html @@ -0,0 +1,9 @@ +{% extends "authentic2/base-page.html"%} +{% load staticfiles %} + +{% block extra-css %} + + +{% enblock %} + +{% block bodyargs %}class="narrow-page"{% endblock %} diff --git a/src/authentic2_auth_msp/templates/authentic2_auth_msp/confirm_unlink.html b/src/authentic2_auth_msp/templates/authentic2_auth_msp/confirm_unlink.html index 45ca6d1..4b90297 100644 --- a/src/authentic2_auth_msp/templates/authentic2_auth_msp/confirm_unlink.html +++ b/src/authentic2_auth_msp/templates/authentic2_auth_msp/confirm_unlink.html @@ -1,11 +1,18 @@ -{% extends "base.html"%} -{% load staticfiles authentic2 %} +{% extends "authentic2_msp_auth/base.html"%} +{% load staticfiles %} -{% addtoblock "css" %}{% endaddtoblock %} -{% addtoblock "css" %}{% endaddtoblock %} -{% addtoblock "js" %}{% endaddtoblock %} -{% addtoblock "js" %}{% endaddtoblock %} -{% addtoblock "js-endpage" %}{% endaddtoblock %} +{% block extra-scripts %} + + +{% endblock %} + +{% block js-endpage %} + +{% endblock %} + +{% block content_header %} +
Gestion des liaisons : confirmation de suppression
+{% endblock %} {% block content %} @@ -13,7 +20,6 @@
-

Gestion des liaisons : confirmation de suppression

Retour

@@ -39,11 +45,9 @@

-
- {% endblock %} diff --git a/src/authentic2_auth_msp/templates/authentic2_auth_msp/link_management.html b/src/authentic2_auth_msp/templates/authentic2_auth_msp/link_management.html index 3c0e23f..3db93c6 100644 --- a/src/authentic2_auth_msp/templates/authentic2_auth_msp/link_management.html +++ b/src/authentic2_auth_msp/templates/authentic2_auth_msp/link_management.html @@ -1,8 +1,9 @@ -{% extends "base.html"%} +{% extends "authentic2_auth_msp/base.html"%} {% load staticfiles authentic2 %} -{% addtoblock "css" %}{% endaddtoblock %} -{% addtoblock "css" %}{% endaddtoblock %} +{% block content_header %} +
Gestion des liaisons avec mon.service-public.fr
+{% endblock %} {% block content %} @@ -10,7 +11,6 @@
-

Gestion des liaisons avec mon.service-public.fr

Retour

diff --git a/src/authentic2_auth_msp/templates/authentic2_auth_msp/unlink_done.html b/src/authentic2_auth_msp/templates/authentic2_auth_msp/unlink_done.html index 28ac9cc..19f1fde 100644 --- a/src/authentic2_auth_msp/templates/authentic2_auth_msp/unlink_done.html +++ b/src/authentic2_auth_msp/templates/authentic2_auth_msp/unlink_done.html @@ -1,7 +1,5 @@ -{% extends "base.html"%} -{% load staticfiles authentic2 %} - -{% addtoblock "css" %}{% endaddtoblock %} +{% extends "authentic2_auth_msp/base.html"%} +{% load staticfiles %} {% block content %}