alpes-maritimes-2018: fix FC blocks rendering (#76657) #236

Merged
smihai merged 1 commits from wip/76657-alpes-maritimes-2018-fix-fc-blocks-rendering into main 2023-04-25 09:43:12 +02:00
3 changed files with 18 additions and 4 deletions

View File

@ -838,6 +838,9 @@ div#login-page {
a {
color: #fff;
}
&.block-fc {
margin-top: 1em;
}
}
}
}

View File

@ -1,10 +1,13 @@
{% load static %}
{% extends "authentic2_auth_fc/login.html" %}
{% load i18n %}
<link rel="stylesheet" type="text/css" href="{% static 'authentic2_auth_fc/css/fc.css' %}">
<div id="fc-button-wrapper">
{% block login-block-title %}
<h2>OU IDENTIFIEZ-VOUS</h2>
<h2>AVEC FRANCE CONNECT</h2>
{% endblock %}{
{% block content %}
<div id="fc-button-wrapper">
<div id="fc-button">
<a href="{{ login_url }}"
title="{% trans 'Log in with FranceConnect' %}"
@ -12,4 +15,5 @@
</a>
</div>
</div>
{% if popup %}<script src="{% static 'authentic2_auth_fc/js/fc.js' %}" type="text/javascript"></script>{% endif %}
{% endblock %}

View File

@ -0,0 +1,7 @@
{% extends "authentic2_auth_fc/registration.html" %}
{% block registration-block-title %}
<h2>OU IDENTIFIEZ-VOUS</h2>
<h2>AVEC FRANCE CONNECT</h2>
{% endblock %}