Skip to content
Snippets Groups Projects
Unverified Commit 78881236 authored by BITARD Michaël's avatar BITARD Michaël Committed by GitHub
Browse files

chore(otp): les pages keycloak pour OTP sont compatibles avec le DSFR (#936)

parent f234081c
Branches
Tags
No related merge requests found
<#import "template.ftl" as layout>
<@layout.registrationLayout displayInfo=true; section>
<#if section = "form">
<div class="fr-container">
<div class="fr-alert fr-alert--info fr-mt-3w">
<h3 class="fr-alert__title">${msg("emailVerifyInstruction1",user.email)}</h3>
</div>
</div>
</#if>
</@layout.registrationLayout>
\ No newline at end of file
......@@ -3,12 +3,10 @@
<@layout.registrationLayout displayMessage=!messagesPerField.existsError('firstName','lastName','email','password','password-confirm'); section>
<#if section = "form">
<#if messagesPerField.existsError('email')>
<div class="fr-container">
<div class="fr-alert fr-alert--info fr-mt-3w">
<h3 class="fr-alert__title">${msg("emailVerifyInstruction1",(register.formData.email!''))}</h3>
<p>Si vous pensez avoir déjà créé votre compte sur Camino, utilisez la fonctionnalité "Mot de passe oublié"</p>
</div>
</div>
<#else>
<main class="fr-pt-md-14v" role="main" id="content">
......
......@@ -59,20 +59,17 @@
</div>
</header>
<div id="kc-content">
<div id="kc-content-wrapper">
<div id="kc-content-wrapper" class="fr-container">
<#-- App-initiated actions should not see warning messages about the need to complete the action -->
<#-- during login. -->
<#if displayMessage && message?has_content && (message.type != 'warning' || !isAppInitiatedAction??)>
<div class="fr-container">
<div class="fr-alert fr-alert--${message.type} fr-mt-3w">
<h3 class="fr-alert__title">${kcSanitize(message.summary)?no_esc}</h3>
</div>
</div>
</#if>
<#nested "form">
<#nested "form">
</div>
</div>
......
......@@ -2,3 +2,9 @@ parent=base
import=common/keycloak
locales=fr
styles=css/dsfr.min.css css/utility/utility.min.css
kcInputClass=fr-input
kcButtonDefaultClass=fr-btn fr-btn--secondary
kcButtonPrimaryClass=fr-btn
kcButtonLargeClass=fr-btn--lg
kcFormClass=fr-mb-4v
kcFormGroupClass=fr-mb-2v
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment