From 8e534c1b21633fa7f2ca9dfc4528cfd2680f46db Mon Sep 17 00:00:00 2001 From: fastlorenzo Date: Sat, 30 Nov 2024 15:05:09 +0100 Subject: [PATCH 1/3] Make login page responsive Signed-off-by: fastlorenzo --- .../(authentication)/login/+page.svelte | 21 +++++++++++++------ .../(authentication)/login/FormCard.svelte | 2 +- .../(authentication)/login/Greetings.svelte | 5 ++++- 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/frontend/src/routes/(authentication)/login/+page.svelte b/frontend/src/routes/(authentication)/login/+page.svelte index d7fcc0f30..2726cba53 100644 --- a/frontend/src/routes/(authentication)/login/+page.svelte +++ b/frontend/src/routes/(authentication)/login/+page.svelte @@ -8,16 +8,25 @@ export let form: ActionData; -
-
-
+
+ -
-
+
+
+ +
+
+
+
-
+
diff --git a/frontend/src/routes/(authentication)/login/FormCard.svelte b/frontend/src/routes/(authentication)/login/FormCard.svelte index 2baaa8ef5..fbe008c82 100644 --- a/frontend/src/routes/(authentication)/login/FormCard.svelte +++ b/frontend/src/routes/(authentication)/login/FormCard.svelte @@ -42,7 +42,7 @@ $: form && form.mfaFlow ? modalMFAAuthenticate() : null; -
+
diff --git a/frontend/src/routes/(authentication)/login/Greetings.svelte b/frontend/src/routes/(authentication)/login/Greetings.svelte index d21c67ca3..83390118a 100644 --- a/frontend/src/routes/(authentication)/login/Greetings.svelte +++ b/frontend/src/routes/(authentication)/login/Greetings.svelte @@ -3,7 +3,10 @@ import Typewriter from 'svelte-typewriter'; -
+
{m.helloThere()} From c318d5473133a5125158a73532846d4ab768633e Mon Sep 17 00:00:00 2001 From: fastlorenzo Date: Sat, 30 Nov 2024 15:08:43 +0100 Subject: [PATCH 2/3] Make password reset page responsive Signed-off-by: fastlorenzo --- .../src/routes/(authentication)/password-reset/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/routes/(authentication)/password-reset/+page.svelte b/frontend/src/routes/(authentication)/password-reset/+page.svelte index f78f314b4..cf4b04955 100644 --- a/frontend/src/routes/(authentication)/password-reset/+page.svelte +++ b/frontend/src/routes/(authentication)/password-reset/+page.svelte @@ -18,7 +18,7 @@
-
+
From 1d8167b1eb99180c9f25bb3ca12a582bec281211 Mon Sep 17 00:00:00 2001 From: fastlorenzo Date: Sat, 30 Nov 2024 15:29:08 +0100 Subject: [PATCH 3/3] Make enterprise login page responsive Signed-off-by: fastlorenzo --- .../(authentication)/login/+page.svelte | 23 ++++++++++++++----- .../(authentication)/login/Greetings.svelte | 5 +++- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/enterprise/frontend/src/routes/(authentication)/login/+page.svelte b/enterprise/frontend/src/routes/(authentication)/login/+page.svelte index f34fdac3d..b5269596d 100644 --- a/enterprise/frontend/src/routes/(authentication)/login/+page.svelte +++ b/enterprise/frontend/src/routes/(authentication)/login/+page.svelte @@ -8,18 +8,29 @@ export let form: ActionData; -
-
-
+
+ -
-
+
+
+ {#if !data.clientSettings.settings.name} + + {/if} +
+
+
+
-
+
diff --git a/enterprise/frontend/src/routes/(authentication)/login/Greetings.svelte b/enterprise/frontend/src/routes/(authentication)/login/Greetings.svelte index 7b667197d..070dbd6ff 100644 --- a/enterprise/frontend/src/routes/(authentication)/login/Greetings.svelte +++ b/enterprise/frontend/src/routes/(authentication)/login/Greetings.svelte @@ -7,7 +7,10 @@ const clientSettings = $page.data.clientSettings; -
+
{#if !clientSettings?.settings.name}