From e6c9f4a1f7e02c5ab4dc22d4e1aee2364ca87321 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Thu, 24 Oct 2024 10:17:00 +0200 Subject: [PATCH] no longer use the icons as they are not part of PF (#33575) fixes: #33282 Signed-off-by: Erik Jan de Wit --- .../keycloak.v2/login/social-providers.ftl | 173 +++++++++--------- .../theme/keycloak.v2/login/theme.properties | 15 +- 2 files changed, 101 insertions(+), 87 deletions(-) diff --git a/themes/src/main/resources/theme/keycloak.v2/login/social-providers.ftl b/themes/src/main/resources/theme/keycloak.v2/login/social-providers.ftl index 5bdd04ba75..093c859ed5 100644 --- a/themes/src/main/resources/theme/keycloak.v2/login/social-providers.ftl +++ b/themes/src/main/resources/theme/keycloak.v2/login/social-providers.ftl @@ -10,92 +10,93 @@
  • - <#if p.iconClasses?has_content> - <#switch p.alias> - <#case "google"> - - <#break> - <#case "github"> - - <#break> - <#case "facebook"> - - <#break> - <#case "gitlab"> - - <#break> - <#case "linkedin"> - <#case "linkedin-openid-connect"> - - <#break> - <#case "openshift-v3"> - <#case "openshift-v4"> - - <#break> - <#case "stackoverflow"> - - <#break> - <#case "twitter"> - - <#break> - <#case "microsoft"> - - <#break> - <#case "bitbucket"> - - <#break> - <#case "instagram"> - - <#break> - <#case "paypal"> - - <#break> - <#default> - - - <#else> - ${p.displayName!} - + <#if p.iconClasses?has_content> + ${p.displayName!} + <#else> + <#switch p.alias> + <#case "google"> + + <#break> + <#case "github"> + + <#break> + <#case "facebook"> + + <#break> + <#case "gitlab"> + + <#break> + <#case "linkedin"> + <#case "linkedin-openid-connect"> + + <#break> + <#case "openshift-v3"> + <#case "openshift-v4"> + + <#break> + <#case "stackoverflow"> + + <#break> + <#case "twitter"> + + <#break> + <#case "microsoft"> + + <#break> + <#case "bitbucket"> + + <#break> + <#case "instagram"> + + <#break> + <#case "paypal"> + + <#break> + <#default> + + +
  • diff --git a/themes/src/main/resources/theme/keycloak.v2/login/theme.properties b/themes/src/main/resources/theme/keycloak.v2/login/theme.properties index a6fd6ab737..fd9ef2848f 100644 --- a/themes/src/main/resources/theme/keycloak.v2/login/theme.properties +++ b/themes/src/main/resources/theme/keycloak.v2/login/theme.properties @@ -95,4 +95,17 @@ kcLoginOTPListSelectedClass=pf-m-selected kcDarkModeClass=pf-v5-theme-dark -kcHtmlClass=login-pf \ No newline at end of file +kcHtmlClass=login-pf +kcLogoIdP-facebook= +kcLogoIdP-google= +kcLogoIdP-github= +kcLogoIdP-linkedin= +kcLogoIdP-instagram= +kcLogoIdP-microsoft= +kcLogoIdP-bitbucket= +kcLogoIdP-gitlab= +kcLogoIdP-paypal= +kcLogoIdP-stackoverflow= +kcLogoIdP-twitter= +kcLogoIdP-openshift-v4= +kcLogoIdP-openshift-v3= \ No newline at end of file