diff --git a/src/assets/views/auth/account/account.svelte b/src/assets/views/auth/account/account.svelte index dcb0329..9de4924 100644 --- a/src/assets/views/auth/account/account.svelte +++ b/src/assets/views/auth/account/account.svelte @@ -15,81 +15,87 @@ -
-
-

Personal information

+
+

+ + Personal information +

- {#if $locals.display_email_warning && $locals.emails.length <= 0} - - {/if} + {#if $locals.display_email_warning && $locals.emails.length <= 0} + + {/if} - {#each personalInfoFields as field} -

{field.name}: {field.value}

- {/each} + {#each personalInfoFields as field} +

{field.name}: {field.value}

+ {/each} - {#if mainEmail} -

Contact email: {mainEmail} More...

- {/if} + {#if mainEmail} +

Contact email: {mainEmail} More...

+ {/if} +
+ + {#if $locals.has_name_component} + + {/if} + + {#if $locals.has_password_component} + + {/if} + +
+

+ + Email addresses +

+ +
+ + + + + + + + + + + {#each emails as email} + {#if email.id === $locals.user.main_email_id} + + + + + + {/if} + {/each} + + {#each emails as email} + {#if email.id !== $locals.user.main_email_id} + + + + + + {/if} + {/each} + +
TypeAddressActions
Main{email.email}
Secondary{email.email} +
+ + + +
+ + +
- {#if $locals.has_name_component} - - {/if} - - {#if $locals.has_password_component} - - {/if} - -
-

Email addresses

- -
- - - - - - - - - - - {#each emails as email} - {#if email.id === $locals.user.main_email_id} - - - - - - {/if} - {/each} - - {#each emails as email} - {#if email.id !== $locals.user.main_email_id} - - - - - - {/if} - {/each} - -
TypeAddressActions
Main{email.email}
Secondary{email.email} -
- - - -
- - -
-
- - {#if hasRoute('add-email')} + {#if hasRoute('add-email')}

Add an email address:

@@ -98,7 +104,6 @@ hint="An email address we can use to identify you in case you lose access to your account" required/>
- {/if} -
-
+ {/if} + diff --git a/src/assets/views/auth/auth.svelte b/src/assets/views/auth/auth.svelte index 331acc4..909c7ce 100644 --- a/src/assets/views/auth/auth.svelte +++ b/src/assets/views/auth/auth.svelte @@ -22,10 +22,12 @@ description="Join {$locals.app.name} and share your files!" h1="Authentication and registration"> -
- {#if hasRoute('login')} + {#if hasRoute('login')}
-

Log in

+

+ + Log in +

- + {:else} - + {/if} - +
- {/if} + {/if} - {#if hasRoute('register')} + {#if hasRoute('register')}
-

Register

+

+ + Register +

@@ -60,11 +72,18 @@ - + {:else} - - + + {/if} @@ -72,6 +91,5 @@
- {/if} -
+ {/if} diff --git a/src/assets/views/backend/index.svelte b/src/assets/views/backend/index.svelte index 6ad2f95..3e6f476 100644 --- a/src/assets/views/backend/index.svelte +++ b/src/assets/views/backend/index.svelte @@ -8,26 +8,24 @@ -
- + -

App administration

+

App administration

-
- -
+ diff --git a/src/assets/views/home.svelte b/src/assets/views/home.svelte index 4dc7521..50affd5 100644 --- a/src/assets/views/home.svelte +++ b/src/assets/views/home.svelte @@ -18,16 +18,16 @@

Welcome to {$locals.app.name}!

{#if hasAnyRoute('tests', 'design')} - + {/if}
diff --git a/src/assets/views/magic_link.svelte b/src/assets/views/magic_link.svelte index fc3346b..4b2f0f7 100644 --- a/src/assets/views/magic_link.svelte +++ b/src/assets/views/magic_link.svelte @@ -8,14 +8,12 @@ -
-
- {#if $locals.err} - - {:else} - -

You can now close this page.

- {/if} -
+
+ {#if $locals.err} + + {:else} + +

You can now close this page.

+ {/if}
diff --git a/src/assets/views/magic_link_lobby.svelte b/src/assets/views/magic_link_lobby.svelte index 2999794..e60d86a 100644 --- a/src/assets/views/magic_link_lobby.svelte +++ b/src/assets/views/magic_link_lobby.svelte @@ -38,14 +38,12 @@ -
-
- - +
+ + -

Waiting for you to open the link...

-
+

Waiting for you to open the link...