diff --git a/themes/ilhasoft/login/login-form.ftl b/themes/ilhasoft/login/login-form.ftl index 37fccde..b21beaa 100644 --- a/themes/ilhasoft/login/login-form.ftl +++ b/themes/ilhasoft/login/login-form.ftl @@ -7,76 +7,58 @@ ${msg("greetings")} -
+ - + label="<#if !realm.loginWithEmailAllowed>${msg('username')}<#elseif !realm.registrationEmailAsUsername>${msg('usernameOrEmail')}<#else>${msg('email')}"> + - - + + -
-
- +
-
- <#if realm.rememberMe && !usernameEditDisabled??> -
- <#if login.rememberMe??> - - <#else> - - - - - -
+
+ <#if realm.rememberMe && !usernameEditDisabled??> +
+ <#if login.rememberMe??> + + <#else> + - <#if realm.resetPasswordAllowed> - - + +
- + + + <#if realm.resetPasswordAllowed> + + +
+ \ No newline at end of file diff --git a/themes/ilhasoft/login/login.ftl b/themes/ilhasoft/login/login.ftl index 82fdd96..9c856b2 100644 --- a/themes/ilhasoft/login/login.ftl +++ b/themes/ilhasoft/login/login.ftl @@ -1,37 +1,36 @@ <#import "template.ftl" as layout> -<#import "login-form.ftl" as loginLayout> -<@layout.registrationLayout displayInfo=social.displayInfo displayLoginFormScriptsAndStyles=true; section> - <#if section = "title"> - ${msg("loginTitle",(realm.displayName!''))} - <#elseif section = "header"> - ${msg("loginTitleHtml",(realm.displayNameHtml!''))?no_esc} - <#elseif section = "form"> - <#if realm.password> - <@loginLayout.loginLayout> - - <#elseif section = "info" > - <#if realm.password && realm.registrationAllowed && !usernameEditDisabled??> -
-
- ${msg("separatorMessage")} -
-
+ <#import "login-form.ftl" as loginLayout> + <@layout.registrationLayout displayInfo=social.displayInfo displayLoginFormScriptsAndStyles=true; section> + <#if section="title"> + ${msg("loginTitle",(realm.displayName!''))} + <#elseif section="header"> + ${msg("loginTitleHtml",(realm.displayNameHtml!''))?no_esc} + <#elseif section="form"> + <#if realm.password> + <@loginLayout.loginLayout> + + <#elseif section="info"> + <#if realm.password && realm.registrationAllowed && !usernameEditDisabled??> +
+
+ ${msg("separatorMessage")} +
+
-
- <#-- --> - -
- - - - +
+ <#-- --> + +
+ + + + \ No newline at end of file diff --git a/themes/ilhasoft/login/register.ftl b/themes/ilhasoft/login/register.ftl index fa743c7..49045f6 100644 --- a/themes/ilhasoft/login/register.ftl +++ b/themes/ilhasoft/login/register.ftl @@ -1,17 +1,18 @@ <#import "template.ftl" as layout> -<@layout.registrationLayout displayMessage=false displayRegisterScriptsAndStyles=true; section> - <#if section = "header"> - ${msg("registerTitle")} - <#elseif section = "form"> -
- - - - - ${msg("register_greetings")} -
-
- -
- - - -
- -
- - - - - - <#if passwordRequired??> - - - - -
- - <#if !realm.registrationEmailAsUsername> -
-