From 2c473272050ae3a0b4f68c8954606c98d84718e8 Mon Sep 17 00:00:00 2001 From: knoflook Date: Fri, 14 Apr 2023 15:22:52 +0200 Subject: [PATCH] add logo, change orientation --- coco-3.11/login/resources/css/login.css | 14 ++ coco-3.11/login/template.ftl | 194 ++++++++++++------------ 2 files changed, 115 insertions(+), 93 deletions(-) diff --git a/coco-3.11/login/resources/css/login.css b/coco-3.11/login/resources/css/login.css index 720da8e..631fc8b 100644 --- a/coco-3.11/login/resources/css/login.css +++ b/coco-3.11/login/resources/css/login.css @@ -6,6 +6,20 @@ src: url("../fonts/perfect_dos_vga_437_win-webfont.woff"); } +.flex-container { + display: flex; + flex-direction: row; +} + + +.logo { + padding: 20px 50px 50px 30px; +} + +.input { + padding: 20px 30px 10px 0px; +} + .topbar { width: 100%; background-color: #0000a8; diff --git a/coco-3.11/login/template.ftl b/coco-3.11/login/template.ftl index 288a486..29da0a2 100644 --- a/coco-3.11/login/template.ftl +++ b/coco-3.11/login/template.ftl @@ -39,114 +39,122 @@
-
${kcSanitize(msg("loginTitleHtml",(realm.displayNameHtml!'')))?no_esc}
+
${msg("welcomeTo")}
-
- <#if realm.internationalizationEnabled && locale.supported?size gt 1> -
-
-
- ${locale.current} -
    - <#list locale.supported as l> -
  • - ${l.label} -
  • - -
-
-
-
- - <#if !(auth?has_content && auth.showUsername() && !auth.showResetCredentials())> - <#if displayRequiredFields> -
-
- * ${msg("requiredFields")} -
-
-

<#nested "header">

-
-
- <#else> - <#nested "header"> - - <#else> - <#if displayRequiredFields> -
-
- * ${msg("requiredFields")} -
-
- <#nested "show-username"> -
- - -
-
-
+ +
+
- <#-- App-initiated actions should not see warning messages about the need to complete the action --> - <#-- during login. --> - <#if displayMessage && message?has_content && (message.type != 'warning' || !isAppInitiatedAction??)> -
-
- <#if message.type = 'success'> - <#if message.type = 'warning'> - <#if message.type = 'error'> - <#if message.type = 'info'> + <#-- App-initiated actions should not see warning messages about the need to complete the action --> + <#-- during login. --> + <#if displayMessage && message?has_content && (message.type != 'warning' || !isAppInitiatedAction??)> +
+
+ <#if message.type = 'success'> + <#if message.type = 'warning'> + <#if message.type = 'error'> + <#if message.type = 'info'> +
+ ${kcSanitize(message.summary)?no_esc}
- ${kcSanitize(message.summary)?no_esc} -
- + - <#nested "form"> + <#nested "form"> - <#if auth?has_content && auth.showTryAnotherWayLink()> -
-
- - ${msg("doTryAnotherWay")} + <#if auth?has_content && auth.showTryAnotherWayLink()> + + + + + + <#nested "socialProviders"> + + <#if displayInfo> +
+
+ <#nested "info"> +
- - + +
+
- <#nested "socialProviders"> - - <#if displayInfo> -
-
- <#nested "info"> -
-
- -
-
+