diff --git a/theme/keywind/login/login-idp-link-confirm.ftl b/theme/keywind/login/login-idp-link-confirm.ftl new file mode 100644 index 0000000..7e44d8f --- /dev/null +++ b/theme/keywind/login/login-idp-link-confirm.ftl @@ -0,0 +1,20 @@ +<#import "template.ftl" as layout> +<#import "components/button/primary.ftl" as buttonPrimary> +<@layout.registrationLayout; section> + <#if section = "header"> + ${msg("confirmLinkIdpTitle")} + <#elseif section = "form"> +
+
+ <@buttonPrimary.kw type="submit" name="submitAction" id="updateProfile" value="updateProfile"> + ${msg("confirmLinkIdpReviewProfile")} + +
+
+ <@buttonPrimary.kw type="submit" name="submitAction" id="linkAccount" value="linkAccount"> + ${msg("confirmLinkIdpContinue", idpDisplayName)} + +
+
+ + diff --git a/theme/keywind/login/login-update-password.ftl b/theme/keywind/login/login-update-password.ftl new file mode 100644 index 0000000..0297275 --- /dev/null +++ b/theme/keywind/login/login-update-password.ftl @@ -0,0 +1,42 @@ +<#import "template.ftl" as layout> +<#import "components/button/primary.ftl" as buttonPrimary> +<#import "components/input/primary.ftl" as inputPrimary> +<@layout.registrationLayout displayMessage=!messagesPerField.existsError('password','password-confirm'); section> + <#if section = "header"> + ${msg("updatePasswordTitle")} + <#elseif section = "form"> +
+ + + +
+ <@inputPrimary.kw + autocomplete="new-password" + invalid=["password", "password-confirm"] + message=false + autofocus=true + name="password-new" + type="password" + > + ${msg("passwordNew")} + +
+
+ <@inputPrimary.kw + autocomplete="new-password" + invalid=["password-confirm"] + name="password-confirm" + type="password" + > + ${msg("passwordConfirm")} + +
+
+ <@buttonPrimary.kw type="submit"> + ${msg("doSubmit")} + +
+
+ + \ No newline at end of file diff --git a/theme/keywind/login/login-update-profile.ftl b/theme/keywind/login/login-update-profile.ftl new file mode 100644 index 0000000..771dd26 --- /dev/null +++ b/theme/keywind/login/login-update-profile.ftl @@ -0,0 +1,64 @@ +<#import "template.ftl" as layout> +<#import "components/button/primary.ftl" as buttonPrimary> +<#import "components/input/primary.ftl" as inputPrimary> +<@layout.registrationLayout displayMessage=!messagesPerField.existsError('username','email','firstName','lastName'); section> + <#if section = "header"> + ${msg("loginProfileTitle")} + <#elseif section = "form"> +
+ <#if user.editUsernameAllowed> +
+ <@inputPrimary.kw + autocomplete="username" + autofocus=true + invalid=["username"] + name="username" + type="text" + value=(user.username)!'' + > + ${msg("username")} + +
+ +
+ <@inputPrimary.kw + autocomplete="email" + invalid=["email"] + name="email" + type="email" + value=(user.email)!'' + > + ${msg("email")} + +
+
+ <@inputPrimary.kw + autocomplete="given-name" + invalid=["firstName"] + name="firstName" + type="text" + value=(user.firstName)!'' + > + ${msg("firstName")} + +
+
+ <@inputPrimary.kw + autocomplete="family-name" + invalid=["lastName"] + name="lastName" + type="text" + value=(user.lastName)!'' + > + ${msg("lastName")} + +
+ +
+ <@buttonPrimary.kw type="submit"> + ${msg("doSubmit")} + +
+
+ +