Projet

Général

Profil

0001-grandlyon-improve-text-and-css-of-login-page-blocks-.patch

Thomas Jund (congés, retour le 29/04), 22 avril 2021 13:28

Télécharger (2,59 ko)

Voir les différences:

Subject: [PATCH 1/2] grandlyon: improve text and css of login page blocks 
 (#52454)

 static/grandlyon/_custom.scss                     |  6 ++++++
 static/grandlyon/_vars.scss                       |  1 +
 .../grandlyon/authentic2/login_password_form.html | 11 +++++++++++
 .../grandlyon/authentic2_auth_oidc/login.html     | 15 +++++++++++++++
 4 files changed, 33 insertions(+)
 create mode 100644 templates/variants/grandlyon/authentic2/login_password_form.html
 create mode 100644 templates/variants/grandlyon/authentic2_auth_oidc/login.html
static/grandlyon/_custom.scss
66 66
div#rub_service h2 {
67 67
	text-align: left;
68 68
}
69

  
70
.pk-button-primary {
71
	@extend %button;
72
	display: inline-block;
73
	background-color: $primary-color;
74
}
static/grandlyon/_vars.scss
25 25
$title-border-bottom: 1px solid #C5C5B6;
26 26
$cell-border: 0px solid transparent;
27 27
$widget-unique-checkbox-position: left;
28
$or-separator: true;
templates/variants/grandlyon/authentic2/login_password_form.html
1
{% extends "authentic2/login_password_form.html" %}
2

  
3
{% block login %}
4

  
5
<p>
6
	Je n'ai pas de compte GrandLyon
7
</p>
8

  
9
{{ block.super }}
10

  
11
{% endblock %}
templates/variants/grandlyon/authentic2_auth_oidc/login.html
1
{% block login %}
2
<p id="oidc-p-{% firstof provider.slug provider.name|slugify %}">
3
  J'ai un compte GrandLyon (<a>exemple@grandlyon.com</a>), <br>
4
  je me connecte en cliquant ici :
5
</p>
6
<p>
7
  <a id="oidc-a-{% firstof provider.slug  provider.name|slugify %}"
8
    class="pk-button-primary"
9
    href="{{ login_url }}"
10
  >
11
    Connexion avec un compte <br>
12
    GrandLyon
13
  </a>
14
</p>
15
{% endblock %}
0
-