commit 0249cf75e69178bc50d9edae7f880c81d28cda16 Author: Julian Noble Date: Thu Sep 8 01:07:05 2022 +1000 Initial intx theme diff --git a/README.md b/README.md new file mode 100644 index 0000000..a5e7657 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +Keycloak Theme for email domain whitelisting plugin diff --git a/intx/login/register.ftl b/intx/login/register.ftl new file mode 100644 index 0000000..11e0cc2 --- /dev/null +++ b/intx/login/register.ftl @@ -0,0 +1,141 @@ +<#import "template.ftl" as layout> +<@layout.registrationLayout displayMessage=!messagesPerField.existsError('firstName','lastName','email','username','password','password-confirm'); section> + <#if section = "header"> + ${msg("registerTitle")} + <#elseif section = "form"> +
+
+
+ +
+
+ + + <#if messagesPerField.existsError('firstName')> + + ${kcSanitize(messagesPerField.get('firstName'))?no_esc} + + +
+
+ +
+
+ +
+
+ + + <#if messagesPerField.existsError('lastName')> + + ${kcSanitize(messagesPerField.get('lastName'))?no_esc} + + +
+
+ +
+
+ +
+
+ + + <#if messagesPerField.existsError('email')> + + ${kcSanitize(messagesPerField.get('email'))?no_esc} + + +
+
+ + <#if !realm.registrationEmailAsUsername> +
+
+ +
+
+ + + <#if messagesPerField.existsError('username')> + + ${kcSanitize(messagesPerField.get('username'))?no_esc} + + +
+
+ + + <#if passwordRequired??> +
+
+ +
+
+ + + <#if messagesPerField.existsError('password')> + + ${kcSanitize(messagesPerField.get('password'))?no_esc} + + +
+
+ +
+
+ +
+
+ + + <#if messagesPerField.existsError('password-confirm')> + + ${kcSanitize(messagesPerField.get('password-confirm'))?no_esc} + + +
+
+ + + <#if recaptchaRequired??> +
+
+
+
+
+ + + +
+ + \ No newline at end of file diff --git a/intx/login/theme.properties b/intx/login/theme.properties new file mode 100644 index 0000000..ca5bcb8 --- /dev/null +++ b/intx/login/theme.properties @@ -0,0 +1,2 @@ +parent=base +import=common/keycloak