Projet

Général

Profil

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

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        |  11 +++++++++++
 .../img/btn-connexion-agent-cd06.png            | Bin 0 -> 14469 bytes
 .../authentic2_auth_saml/login_cd06-adfs.html   |  12 ++++++++++++
 3 files changed, 23 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
788 788
			color: #fff;
789 789
			background: $primary-color;
790 790
		}
791
		button.cd06-adfs {
792
			width: 310px;
793
			height: 92px;
794
			border: 0;
795
			background: url('img/btn-connexion-agent-cd06.png') center no-repeat;
796
			box-shadow: none;
797
		}
791 798
		a {
792 799
			font-style: italic;
793 800
		}
794 801
	}
802
	.block-saml_cd06-adfs {
803
		display: flex;
804
		justif-content: center;
805
	}
795 806
}
796 807

  
797 808
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 cd06-adfs" name="{{ submit_name }}" 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
-