diff --git a/docker/themes/maritimecloud/login/login.ftl b/docker/themes/maritimecloud/login/login.ftl index 36150be..a4bf9b6 100755 --- a/docker/themes/maritimecloud/login/login.ftl +++ b/docker/themes/maritimecloud/login/login.ftl @@ -3,49 +3,82 @@ <#if section = "header"> ${msg("loginAccountTitle")} <#elseif section = "form"> -
-
- <#if realm.password> -
-
- +
+
+ <#if realm.password> + + <#if !usernameHidden??> +
+ - <#if usernameEditDisabled??> - - <#else> - + + + <#if messagesPerField.existsError('username','password')> + + + + + + + + + <#if messagesPerField.existsError('username','password')> + + ${kcSanitize(messagesPerField.getFirstError('username','password'))?no_esc} + + - <#if messagesPerField.existsError('username','password')> +
+ + +
+ + +
+ + + + +
+ + <#if usernameHidden?? && messagesPerField.existsError('username','password')> ${kcSanitize(messagesPerField.getFirstError('username','password'))?no_esc} - -
-
- - - -
+
-
-
- <#if realm.rememberMe && !usernameEditDisabled??> -
- -
- +
+
+ <#if realm.rememberMe && !usernameHidden??> +
+ +
+
<#if realm.resetPasswordAllowed> @@ -53,14 +86,27 @@
-
+
-
- -
- - +
+ value="${auth.selectedCredential}"/> + +
+ + +
+ + <#elseif section = "info" > + <#if realm.password && realm.registrationAllowed && !registrationDisabled??> +
+
+ ${msg("noAccount")} ${msg("doRegister")} +
+
+ + <#elseif section = "socialProviders" > <#if realm.password && social.providers??>
Choose the Identity Provider you wish to use for authentication:
@@ -80,16 +126,6 @@
-
- <#elseif section = "info" > - <#if realm.password && realm.registrationAllowed && !usernameEditDisabled??> -
-
- ${msg("noAccount")} ${msg("doRegister")} -
-
- diff --git a/docker/themes/maritimecloud/login/theme.properties b/docker/themes/maritimecloud/login/theme.properties index 1cd9123..ace697e 100755 --- a/docker/themes/maritimecloud/login/theme.properties +++ b/docker/themes/maritimecloud/login/theme.properties @@ -4,8 +4,8 @@ parent=base import=common/keycloak -styles=css/login.css css/tile.css -stylesCommon=web_modules/@patternfly/react-core/dist/styles/base.css web_modules/@patternfly/react-core/dist/styles/app.css node_modules/patternfly/dist/css/patternfly.min.css node_modules/patternfly/dist/css/patternfly-additions.min.css lib/pficon/pficon.css +styles=css/login.css +stylesCommon=node_modules/@patternfly/patternfly/patternfly.min.css node_modules/patternfly/dist/css/patternfly.min.css node_modules/patternfly/dist/css/patternfly-additions.min.css lib/pficon/pficon.css meta=viewport==width=device-width,initial-scale=1 @@ -48,6 +48,7 @@ kcFeedbackSuccessIcon=fa fa-fw fa-check-circle kcFeedbackInfoIcon=fa fa-fw fa-info-circle kcResetFlowIcon=pficon pficon-arrow fa + kcWebAuthnKeyIcon=pficon pficon-key kcFormClass=form-horizontal