added in welcome page the two realms link to account console

This commit is contained in:
Franca Debole 2026-09-25 10:07:45 +02:00
parent 6fed0fdf2f
commit 5423d330d3
2 changed files with 23 additions and 24 deletions

View File

@ -5,7 +5,7 @@
<meta name="robots" content="noindex, nofollow">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="light${(properties.darkMode)?boolean?then(' dark', '')}">
<title>Welcome to ${properties.productName}</title>
<title>Welcome to ${productName}</title>
<link rel="shortcut icon" href="${resourcesPath}/img/favicon.ico">
<#if properties.darkMode?boolean>
<script type="module" async blocking="render">
@ -43,28 +43,29 @@
<div class="pf-v5-c-login__container">
<header class="pf-v5-c-login__header">
<div class="pf-v5-c-brand">
<img src="${resourcesPath}/img/logo-ISTI.svg" alt="${properties.productName} Logo" class="kc-brand">
<img src="${resourcesPath}/img/logo-ISTI.svg" alt="ISTI logo" class="kc-brand">
</div>
</header>
<!-- NEW -->
<div class="pf-v5-l-grid__item pf-m-12-col">
<div class="welcome-header">
<h1>Welcome to <strong>ISTI-CNR authentication service</strong></h1>
<h1>Welcome to <strong>ISTI-CNR authentication service </strong></h1>
</div>
</div>
<ul class="pf-v5-l-grid pf-m-all-6-col-on-sm">
<li class="pf-v5-l-grid__item">
<div class="card-pf h-l">
<h3><a href="${properties.linkIPA}" target="_blank"><img class="doc-img" src="${resourcesPath}/img/link-toipa.png"> ISTI Account Manager </a></h3>
<div class="description">
Manage ISTI Credentials
</div>
</div>
</li>
<ul class="pf-v5-l-grid pf-m-all-6-col-on-sm">
<li class="pf-v5-l-grid__item">
<div class="card-pf h-l">
<h3><a href="${adminUrl}" target="_blank"><img class="doc-img" src="${resourcesPath}/img/user.png">Account Access</a></h3>
<h3><a href="${properties.linkAccountAREA}" target="_blank"><img class="doc-img" src="${resourcesPath}/img/user.png">Area Account Access</a></h3>
<div class="description">
Manage your sessions and your 2FA settings.
</div>
</div>
</li>
<li class="pf-v5-l-grid__item">
<div class="card-pf h-l">
<h3><a href="${properties.linkAccountISTI}" target="_blank"><img class="doc-img" src="${resourcesPath}/img/user.png">ISTI Account Access</a></h3>
<div class="description">
Manage your sessions and your 2FA settings.
</div>
@ -73,8 +74,8 @@
</ul>
</div>
</div>
<!-- <div class='footer-admin'>
<div class='footer-admin'>
<a href="${adminUrl}"><img src="${resourcesPath}/img/link-toadmin.png" alt="admin console"></a>
</div>-->
</div>
</body>
</html>

View File

@ -1,23 +1,21 @@
parent=keycloak
import=common/theme-keycloak-isti
title=Benvenuto ISTI
favIconType=image/x-icon
kcDarkModeClass=pf-v5-theme-dark
locales=en,it
favIcon=/img/favicon.ico
stylesCommon=vendor/patternfly-v5/patternfly.min.css vendor/patternfly-v5/patternfly-addons.css
styles=css/welcome.css
# When set to true, the user will be redirected to the Administration Console if an administrative users already exists.
redirectToAdmin=false
darkMode=false
kcDarkModeClass=pf-v5-theme-dark
#START ISTI - VARIABLES
title=Benvenuto ISTI
favIcon=/img/favicon.ico
favIconType=image/x-icon
linkIPA=https://ipa.isti.cnr.it
linkAccount=https://accounts.isti.cnr.it/auth/realms/CNR-ISTI/account
linkAccountISTI=https://accounts.isti.cnr.it/auth/realms/CNR-ISTI/account
linkAccountAREA=https://accounts.isti.cnr.it/auth/realms/CNR-Area-Ricerca-Pisa/account
productName=ISTI authentication service
#END ISTI - VARIABLES