alpes-maritimes-2022: add saml login template (#73211)

This commit is contained in:
Thomas Jund 2023-01-23 17:21:12 +01:00
parent d90cbc6e4c
commit b0644e9385
3 changed files with 31 additions and 0 deletions

View File

@ -978,6 +978,24 @@ span.required {
}
//
// a2
//
.block-saml button.cd06-adfs {
&, &:hover {
border: 0;
padding: 3px;
padding-bottom: 0;
background-color: transparent;
box-shadow: inset 0 0 10px $gray !important;
border-radius: 15px;
&:hover {
box-shadow: inset 0 0 10px $cyan-dark !important;
}
}
}
//
// PWA NAV

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -0,0 +1,13 @@
{% extends "authentic2_auth_saml/login.html" %}
{% load i18n static %}
{% block login %}
<form method="post">
<button class="submit-button cd06-adfs" name="{{ submit_name }}" title="{% trans "Login" %}">
<img src="{{site_base}}/static/{{css_variant}}/img/btn-connexion-agent-cd06.png" alt="Je suis agent, je m'identifie ici">
</button>
{% if cancel %}
<button class="cancel-button" name="cancel" formnovalidate>{% trans 'Cancel' %}</button>
{% endif %}
</form>
{% endblock %}