diff --git a/finallycoffee/welcome/index.ftl b/finallycoffee/welcome/index.ftl new file mode 100755 index 0000000..3bc2975 --- /dev/null +++ b/finallycoffee/welcome/index.ftl @@ -0,0 +1,135 @@ + + + + + + Welcome to ${productName} + + + + + + + + <#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 ${productName}

+
+
+ <#if adminConsoleEnabled> +
+
+ <#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 ${localAdminUrl} +
${adminUserCreationMessage}. +

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

+ + +

+ +

+ + +

+ +

+ + +

+ + + + +
+ + + +
+
+ <#-- adminConsoleEnabled --> +
+
+

Documentation

+
+ + User Guide, Admin REST API and Javadocs + +
+
+
+
+ <#if properties.displayCommunityLinks = "true"> + + + + +
+
+
+
+
+ + diff --git a/finallycoffee/welcome/resources/admin-console.png b/finallycoffee/welcome/resources/admin-console.png new file mode 100644 index 0000000..ac73497 Binary files /dev/null and b/finallycoffee/welcome/resources/admin-console.png differ diff --git a/finallycoffee/welcome/resources/alert.png b/finallycoffee/welcome/resources/alert.png new file mode 100644 index 0000000..74b4bc7 Binary files /dev/null and b/finallycoffee/welcome/resources/alert.png differ diff --git a/finallycoffee/welcome/resources/bg.jpg b/finallycoffee/welcome/resources/bg.jpg new file mode 100644 index 0000000..31bb3ef Binary files /dev/null and b/finallycoffee/welcome/resources/bg.jpg differ diff --git a/finallycoffee/welcome/resources/bug.png b/finallycoffee/welcome/resources/bug.png new file mode 100644 index 0000000..4f00775 Binary files /dev/null and b/finallycoffee/welcome/resources/bug.png differ diff --git a/finallycoffee/welcome/resources/css/welcome.css b/finallycoffee/welcome/resources/css/welcome.css new file mode 100644 index 0000000..c2097ab --- /dev/null +++ b/finallycoffee/welcome/resources/css/welcome.css @@ -0,0 +1,149 @@ +body { + background: #111 url(../bg.jpg) no-repeat center bottom fixed; + background-size: cover; + color: #ccc; +} +.welcome-header { + margin-top: 30px; + margin-bottom: 60px; + margin-left: -10px; + color: #ddd; +} +.welcome-header img { + width: 150px; + margin-bottom: 40px; +} +.welcome-header h1 { + font-weight: 500 !important; +} +.welcome-header h1 strong { + font-weight: 800 !important; +} +.welcome-message { + margin-top: 20px; +} +.h-l { + min-height: 370px; + padding: 10px 20px 10px; + overflow: hidden; +} +.h-l h3 { + margin-bottom: 10px; +} +.h-m { + height: 110px; + padding-top: 23px; +} +.card-pf img { + width: 22px; + margin-right: 10px; + vertical-align: bottom; +} +img.doc-img { + width: auto; + height: 22px; +} +.link { + font-size: 16px; + vertical-align: baseline; + margin-left: 5px; +} +h3 { + font-weight: 550; +} +h3 a:link, +h3 a:visited { + color: #ddd; + font-weight: 550; +} +h3 a:hover, +h3 a:hover .link { + text-decoration: none; + color: #00659c; +} +.h-l h3 a img { + height: 30px; + width: auto; +} + +.description { + margin-top: 30px; +} + +.card-pf { + border-top: 1px solid rgba(3, 3, 3, 0.1); + box-shadow: 0 1px 1px rgba(3, 3, 3, 0.275); + background: #222; +} + +.welcome-form label, +.welcome-form input { + display: block; + width: 100%; +} + +.welcome-form label { + color: #828486; + font-weight: normal; + margin-top: 18px; +} +.welcome-form input { + border: 0; + border-bottom: solid 1px #cbcbcb; +} +.welcome-form input:focus { + border-bottom: solid 1px #5e99c6; + outline-width: 0; +} +.welcome-form button { + margin-top: 10px; +} +.error { + color: #c00; + border-color: #c00; + padding: 5px 10px; +} +.success { + color: #3f9c35; + border-color: #3f9c35; + padding: 5px 10px; +} +.welcome-form + .welcome-primary-link, +.welcome-message + .welcome-primary-link { + display: none; +} + +.footer img { + float: right; + width: 150px; + margin-top: 30px; +} + +@media (max-width: 768px) { + .welcome-header { + margin-top: 10px; + margin-bottom: 20px; + } + .welcome-header img { + margin-bottom: 20px; + } + h3 { + margin-top: 10px; + } + .h-l, + .h-m { + height: auto; + min-height: auto; + padding: 5px 10px; + } + .h-l img { + display: inline; + margin-bottom: auto; + } + .description { + display: none; + } + .footer img { + margin-top: 10px; + } +} diff --git a/finallycoffee/welcome/resources/keycloak-project.png b/finallycoffee/welcome/resources/keycloak-project.png new file mode 100644 index 0000000..cd63e5a Binary files /dev/null and b/finallycoffee/welcome/resources/keycloak-project.png differ diff --git a/finallycoffee/welcome/resources/keycloak_log.png b/finallycoffee/welcome/resources/keycloak_log.png new file mode 100644 index 0000000..88e85d4 Binary files /dev/null and b/finallycoffee/welcome/resources/keycloak_log.png differ diff --git a/finallycoffee/welcome/resources/logo.png b/finallycoffee/welcome/resources/logo.png new file mode 100644 index 0000000..a83aa35 Binary files /dev/null and b/finallycoffee/welcome/resources/logo.png differ diff --git a/finallycoffee/welcome/resources/mail.png b/finallycoffee/welcome/resources/mail.png new file mode 100644 index 0000000..3a63e7b Binary files /dev/null and b/finallycoffee/welcome/resources/mail.png differ diff --git a/finallycoffee/welcome/resources/user.png b/finallycoffee/welcome/resources/user.png new file mode 100644 index 0000000..0d61bb4 Binary files /dev/null and b/finallycoffee/welcome/resources/user.png differ diff --git a/finallycoffee/welcome/theme.properties b/finallycoffee/welcome/theme.properties new file mode 100644 index 0000000..9b92ba9 --- /dev/null +++ b/finallycoffee/welcome/theme.properties @@ -0,0 +1,8 @@ +styles=css/welcome.css +import=common/keycloak + +stylesCommon=node_modules/patternfly/dist/css/patternfly.css node_modules/patternfly/dist/css/patternfly-additions.css + +productName=id.finally.coffee +documentationUrl=https://www.keycloak.org/documentation.html +displayCommunityLinks=true