<@cTpl> <@cContainer class='login-wrap'> <#-- ============ LEFT — FORM ============ --> <@cSection class='login-col'> <@cBlock class='login-card'> <#assign loginCrumbItems = [{ 'title': 'Connexion', 'url': '' }]> <@cBreadCrumb home='Accueil' type='fluid' items=loginCrumbItems class='login-crumbs' /> <@cTitle level=2 >Connectez-vous à votre espace <#-- Email/password form --> <@cForm method='post' action='${url_dologin}' class='login-form' params='autocomplete="on"'> <@cInput type='hidden' name='page' value='mylutece' class='' /> <@cInput type='hidden' name='action' value='doLogin' class='' /> <@cInput type='hidden' name='token' value='${token}' class='' /> <#if error_message?? && error_message != ''><@cAlert type='warning' title='${error_message!}'><#if error_details?? && error_details !=''>${error_detail!} <#-- first display delegated authentications [oauth etc...] --> <#if list_authentications??> <#list list_authentications as authentication> <#if authentication.delegatedAuthentication> <@cBlock class='form-group'> <@cLink href='${url_dologin}?page=mylutece&action=dologin&auth_provider=${authentication.name}' label='' title='${authentication.authServiceName}'> <@cImg src='${authentication.iconUrl}' alt='${authentication.authServiceName}' /> <#-- display internal authentications [such as database] --> <#assign bHasInternalAuth = false /> <#assign lostLoginUrl='' /> <#assign lostPasswordUrl='' /> <#if list_authentications?size != 1> <#list list_authentications as authentication> <#if !authentication.externalAuthentication && !authentication.delegatedAuthentication> <#if !bHasInternalAuth><#assign bHasInternalAuth = true /> <@cRadio name='auth_provider' label='${authentication.authServiceName}' value='${authentication.name}' checked=(auth_provider?has_content && auth_provider == authentication.name) /> <#else> <#list list_authentications as authentication> <#if !authentication.externalAuthentication && !authentication.delegatedAuthentication> <#if !bHasInternalAuth><#assign bHasInternalAuth = true /> <@cInput type='hidden' name='auth_provider' value='${authentication.name}' class='' /> <#assign lostPasswordUrl=authentication.getLostPasswordPageUrl() /> <#assign lostLoginUrl=authentication.getLostLoginPageUrl() /> <#if bHasInternalAuth> <@cField label='#i18n{mylutece.xpage.login_form.labelAccessCode}' for='username' > <@cInputGroup> <@cIcon name='user' /> <@cInput name='username' id='username' placeholder='name@example.com' /> <@cInputPassword label='#i18n{mylutece.xpage.login_form.labelPassword}' name='password' icon='lock' id='password' placeholder='#i18n{mylutece.xpage.login_form.labelPassword}' helpMsg='#i18n{portal.theme.labelPasswordHelp}' /> <#if is_active_captcha>${captcha} <@cBtn class='primary' type='submit' label='#i18n{mylutece.xpage.login_form.labelButton}' nestedPos='after'> <@cIcon name='arrow-right' class='ms-2' /> <@cBlock class='lost-row'> <#if lostPasswordUrl??><@cLink href='${lostPasswordUrl!}' label='#i18n{mylutece.xpage.login_form.labelButtonLostPassword}' params='title="#i18n{mylutece.xpage.login_form.labelButtonLostPassword}"' /> <#if lostLoginUrl??><@cLink href='${lostLoginUrl!}' label='#i18n{mylutece.xpage.login_form.labelButtonLostLogin}' params='title="#i18n{mylutece.xpage.login_form.labelButtonLostLogin}"' /> <#if !bHasInternalAuth || (bHasInternalAuth && lostPasswordUrl??)> <#if url_new_account?has_content> <@cBlock class='signup-row'> <@cText class='mb-0'> <@cInline class='signup-row__txt'>Pas encore de compte ? <@cInline type='strong'>Créez-en un en 2 min. <@cLink href='${url_new_account}' label='#i18n{mylutece.xpage.login_form.labelButtonCreateAccount}' class='secondary' params='title="#i18n{mylutece.xpage.login_form.labelButtonCreateAccount}"' /> <@cBlock class='trust'> <@cInline class='trust-chip'><@cIcon name='check' /> Conforme RGPD <@cInline class='trust-chip'><@cIcon name='check' /> Hébergé en France <@cInline class='trust-chip'><@cIcon name='check' /> Chiffrement TLS 1.3 <#-- ============ RIGHT — BRAND ============ --> <@cBlock type='aside' class='brand-col' params='aria-hidden="true"'> <@cBlock class='brand-col__inner'> <@cInline class='brand-tag'>Une authentification simplifiée <@cTitle level=2>Faites bénéficier vos utilisateurs une interface de connexion moderne et accessible. <@cText class='lede'>et de nombreux connecteurs d'authentification disponibles (FranceConnect, Keycloak, OpenID, Base de données…) <#-- mock dashboard --> <@cBlock class="mock"> <@cBlock class="mock__bar"><@cInline><@cInline><@cInline> <@cBlock class="mock__inner"> <@cBlock class='brand__benefits'> <@cBlock class='brand__benefit'> <@cInline type='strong'>Multi authetification possible Vous pouvez vous connecter par votre compte FranceConnect ou votre compte local. <@cBlock class='brand__benefit'> <@cInline type='strong'>Sécurité éprouvée Vos données sont protégées et confidentielles. <@cBlock class='brand__benefit'> <@cInline type='strong'>Une seule porte d'entrée Tous les services de votre collectivité.