From f421d7ba1755518f1478ede61d3f850a907ad841 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Thu, 20 May 2021 15:03:34 +0200 Subject: [PATCH] fixes layout issues in email templates --- .../portal/manage/{ => auth}/_layout.svelte | 0 .../portal/manage/email/[template].svelte | 30 ++++- .../builder/portal/manage/email/index.svelte | 123 +++++++++--------- .../portal/manage/users/_layout.svelte | 7 + 4 files changed, 94 insertions(+), 66 deletions(-) rename packages/builder/src/pages/builder/portal/manage/{ => auth}/_layout.svelte (100%) create mode 100644 packages/builder/src/pages/builder/portal/manage/users/_layout.svelte diff --git a/packages/builder/src/pages/builder/portal/manage/_layout.svelte b/packages/builder/src/pages/builder/portal/manage/auth/_layout.svelte similarity index 100% rename from packages/builder/src/pages/builder/portal/manage/_layout.svelte rename to packages/builder/src/pages/builder/portal/manage/auth/_layout.svelte diff --git a/packages/builder/src/pages/builder/portal/manage/email/[template].svelte b/packages/builder/src/pages/builder/portal/manage/email/[template].svelte index ff5b2d4737..1f2fcb6119 100644 --- a/packages/builder/src/pages/builder/portal/manage/email/[template].svelte +++ b/packages/builder/src/pages/builder/portal/manage/email/[template].svelte @@ -1,11 +1,12 @@ - -
$goto("./")}> + + + +
+ $goto("./")} + quiet + size="S" + icon="BackAndroid" + > + Back to email settings + +
+ Email Template: {template} + Change the email template here. you can insert bindings (email, logo url, + etc.) from the list on the right +
diff --git a/packages/builder/src/pages/builder/portal/manage/email/index.svelte b/packages/builder/src/pages/builder/portal/manage/email/index.svelte index 37d8af1bdd..6b1036486b 100644 --- a/packages/builder/src/pages/builder/portal/manage/email/index.svelte +++ b/packages/builder/src/pages/builder/portal/manage/email/index.svelte @@ -5,6 +5,7 @@ Heading, Divider, Label, + Page, notifications, Layout, Input, @@ -91,69 +92,71 @@ }) - - - Email - - Sending email is not required, but highly recommended for processes such - as password recovery. To setup automated auth emails, simply add the - values below and click activate. - - - - {#if smtpConfig} - - SMTP - - To allow your app to benefit from automated auth emails, add your SMTP - details below. + + + + Email + + Sending email is not required, but highly recommended for processes such + as password recovery. To setup automated auth emails, simply add the + values below and click activate. - -
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
-
- -
- - Templates - - Budibase comes out of the box with ready-made email templates to help - with user onboarding. Please refrain from changing the links. - - - $goto(`./${detail.purpose}`)} - allowEditRows={false} - allowSelectRows={false} - allowEditColumns={false} - /> - {/if} - + {#if smtpConfig} + + SMTP + + To allow your app to benefit from automated auth emails, add your SMTP + details below. + + + +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ +
+ + + Templates + + Budibase comes out of the box with ready-made email templates to help + with user onboarding. Please refrain from changing the links. + + +
$goto(`./${detail.purpose}`)} + allowEditRows={false} + allowSelectRows={false} + allowEditColumns={false} + /> + {/if} + +