From 6b45e1ad563c3347aeb680d0b22213a7aec6c394 Mon Sep 17 00:00:00 2001 From: Simeon Keske Date: Fri, 14 Aug 2020 15:16:13 +0200 Subject: [PATCH] initial commit --- login/register.ftl | 86 ++++++++++++++++++++++++ login/theme.properties | 2 + welcome/index.ftl | 137 +++++++++++++++++++++++++++++++++++++++ welcome/theme.properties | 2 + 4 files changed, 227 insertions(+) create mode 100644 login/register.ftl create mode 100644 login/theme.properties create mode 100644 welcome/index.ftl create mode 100644 welcome/theme.properties diff --git a/login/register.ftl b/login/register.ftl new file mode 100644 index 0000000..7ab2be1 --- /dev/null +++ b/login/register.ftl @@ -0,0 +1,86 @@ +<#import "template.ftl" as layout> +<@layout.registrationLayout; section> + <#if section = "header"> + ${msg("registerTitle")} + <#elseif section = "form"> +
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ + <#if !realm.registrationEmailAsUsername> +
+
+ +
+
+ +
+
+ + + <#if passwordRequired??> +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ + + <#if recaptchaRequired??> +
+
+
+
+
+ + + +
+ + diff --git a/login/theme.properties b/login/theme.properties new file mode 100644 index 0000000..5265964 --- /dev/null +++ b/login/theme.properties @@ -0,0 +1,2 @@ +parent=keycloak +import=common/keycloak diff --git a/welcome/index.ftl b/welcome/index.ftl new file mode 100644 index 0000000..8fd1978 --- /dev/null +++ b/welcome/index.ftl @@ -0,0 +1,137 @@ + + +  + + + Welcome to ${productNameFull} + + + + + + + + <#if properties.stylesCommon?has_content> + <#list properties.stylesCommon?split(' ') as style> + + + + <#if properties.styles?has_content> + <#list properties.styles?split(' ') as style> + + + + + + +
+
+
+
+ ${productName} +

Welcome to ${productNameFull}

+
+
+
+
+ <#if successMessage?has_content> +

${successMessage}

+ <#elseif errorMessage?has_content> +

${errorMessage}

+

Administration Console

+ <#elseif bootstrap> + <#if localUser> +

Administration Console

+

Please create an initial admin user to get started.

+ <#else> +

+ You need local access to create the initial admin user.

Open http://localhost:8080/auth +
or use the add-user-keycloak script. +

+ + + + <#if bootstrap && localUser> +
+

+ + +

+ +

+ + +

+ +

+ + +

+ + + + +
+ + +
+
+
+
+

Documentation

+
+ + User Guide, Admin REST API and Javadocs + +
+
+
+
+ <#if properties.displayCommunityLinks = "true"> + + + + +
+
+ +
+
+
+ + diff --git a/welcome/theme.properties b/welcome/theme.properties new file mode 100644 index 0000000..5265964 --- /dev/null +++ b/welcome/theme.properties @@ -0,0 +1,2 @@ +parent=keycloak +import=common/keycloak