From d678d3e31a2ee31b1c8e66fdc831b4c29e70e422 Mon Sep 17 00:00:00 2001 From: Edouard Vanbelle Date: Wed, 3 Jun 2026 15:58:09 +0200 Subject: [PATCH] feat(ui): use same Oxicloud theme for magic-link page --- .../page_cross_browser_confirm.html | 48 ++++++++++++++----- .../magic_link/page_expired_or_used.html | 46 ++++++++++-------- templates/magic_link/page_generic_error.html | 30 ++++++++---- .../magic_link/page_resend_confirmation.html | 30 ++++++++---- 4 files changed, 104 insertions(+), 50 deletions(-) diff --git a/templates/magic_link/page_cross_browser_confirm.html b/templates/magic_link/page_cross_browser_confirm.html index a5f22bf3..1a2742fc 100644 --- a/templates/magic_link/page_cross_browser_confirm.html +++ b/templates/magic_link/page_cross_browser_confirm.html @@ -2,22 +2,46 @@ + + OxiCloud + + + + -

{{ title }}

-

{{ body }}

-

{{ warning }}

-

{{ continue_label }}

+
+
+ +

{{ title }}

+

{{ body }}

+

{{ warning }}

+ {{ continue_label }} +
+
diff --git a/templates/magic_link/page_expired_or_used.html b/templates/magic_link/page_expired_or_used.html index 8dd60553..11094ffc 100644 --- a/templates/magic_link/page_expired_or_used.html +++ b/templates/magic_link/page_expired_or_used.html @@ -2,28 +2,34 @@ + + OxiCloud - + + + + -

{{ title }}

- {%- if let Some(offer) = resend %} -

{{ body }}

-
- -
- {%- else %} -

{{ body }}

- {%- endif %} -

{{ return_link }}

+
+
+ +

{{ title }}

+

{{ body }}

+ {%- if let Some(offer) = resend %} +
+ +
+ {%- endif %} +

{{ return_link }}

+
+
diff --git a/templates/magic_link/page_generic_error.html b/templates/magic_link/page_generic_error.html index 48d21986..55599d66 100644 --- a/templates/magic_link/page_generic_error.html +++ b/templates/magic_link/page_generic_error.html @@ -2,17 +2,29 @@ + + OxiCloud - + + + + -

{{ title }}

-

{{ body }}

-

{{ return_link }}

+
+
+ +

{{ title }}

+

{{ body }}

+

{{ return_link }}

+
+
diff --git a/templates/magic_link/page_resend_confirmation.html b/templates/magic_link/page_resend_confirmation.html index b3ceeb29..55599d66 100644 --- a/templates/magic_link/page_resend_confirmation.html +++ b/templates/magic_link/page_resend_confirmation.html @@ -2,17 +2,29 @@ + + OxiCloud - + + + + -

{{ title }}

-

{{ body }}

-

{{ return_link }}

+
+
+ +

{{ title }}

+

{{ body }}

+

{{ return_link }}

+
+