Projet

Général

Profil

0001-alpes-maritimes-2018-add-template-and-image-for-the-.patch

Benjamin Dauvergne, 01 juin 2022 11:18

Télécharger (20,3 ko)

Voir les différences:

Subject: [PATCH] alpes-maritimes-2018: add template and image for the CD06
 ADFS button (#64671)

 static/alpes-maritimes-2018/_custom.scss        |   9 +++++++++
 .../img/btn-connexion-agent-cd06.png            | Bin 0 -> 14469 bytes
 .../authentic2_auth_saml/login_cd06-adfs.html   |  12 ++++++++++++
 3 files changed, 21 insertions(+)
 create mode 100644 static/alpes-maritimes-2018/img/btn-connexion-agent-cd06.png
 create mode 100644 templates/variants/alpes-maritimes-2018/authentic2_auth_saml/login_cd06-adfs.html
static/alpes-maritimes-2018/_custom.scss
792 792
			font-style: italic;
793 793
		}
794 794
	}
795
	.block-saml_cd06-adfs {
796
		text-align: center;
797
	}
798
	.block-saml_cd06-adfs button {
799
		border: none !important;
800
		background: transparent !important;
801
		box-shadow: none !important;
802
		margin-right: 0em !important;
803
	}
795 804
}
796 805

  
797 806
div#fc-button-wrapper div#fc-button {
templates/variants/alpes-maritimes-2018/authentic2_auth_saml/login_cd06-adfs.html
1
{% extends "authentic2_auth_saml/login.html" %}
2
{% load i18n static %}
3

  
4
{% block login %}
5
<!-- <p>Vous êtes agent et disposez d'un compte dans l'annuaire du département des Bouches-du-Rhône.</p> -->
6
<form method="post">
7
    <button class="submit-button" name="{{ submit_name }}"><img src="{% static "alpes-maritimes-2018/img/btn-connexion-agent-cd06.png" %}" title="{% trans "Login" %}"/></button>
8
    {% if cancel %}
9
        <button class="cancel-button" name="cancel" formnovalidate>{% trans 'Cancel' %}</button>
10
    {% endif %}
11
</form>
12
{% endblock %}
0
-