From 8881ea2a05b0d35a201d144959c4b974d2bdfd0f Mon Sep 17 00:00:00 2001 From: Lennart <18233294+lennart-k@users.noreply.github.com> Date: Sat, 19 Jul 2025 17:50:14 +0200 Subject: [PATCH] frontend: Fix some HTML syntax errors --- .../public/templates/icons/calendar.svg | 1 - .../frontend/public/templates/icons/group.svg | 1 - crates/frontend/public/templates/icons/user.svg | 1 - .../public/templates/layouts/default.html | 8 ++++---- crates/frontend/src/lib.rs | 17 ++++++++--------- 5 files changed, 12 insertions(+), 16 deletions(-) diff --git a/crates/frontend/public/templates/icons/calendar.svg b/crates/frontend/public/templates/icons/calendar.svg index 85723fa..43da728 100644 --- a/crates/frontend/public/templates/icons/calendar.svg +++ b/crates/frontend/public/templates/icons/calendar.svg @@ -1,5 +1,4 @@ - diff --git a/crates/frontend/public/templates/icons/group.svg b/crates/frontend/public/templates/icons/group.svg index 4798833..e309e6d 100644 --- a/crates/frontend/public/templates/icons/group.svg +++ b/crates/frontend/public/templates/icons/group.svg @@ -1,5 +1,4 @@ - diff --git a/crates/frontend/public/templates/icons/user.svg b/crates/frontend/public/templates/icons/user.svg index ceff411..7c7ca74 100644 --- a/crates/frontend/public/templates/icons/user.svg +++ b/crates/frontend/public/templates/icons/user.svg @@ -1,5 +1,4 @@ - diff --git a/crates/frontend/public/templates/layouts/default.html b/crates/frontend/public/templates/layouts/default.html index 17774ad..46a1388 100644 --- a/crates/frontend/public/templates/layouts/default.html +++ b/crates/frontend/public/templates/layouts/default.html @@ -22,9 +22,9 @@
{% block content %}

Placeholder

{% endblock %}
+ - diff --git a/crates/frontend/src/lib.rs b/crates/frontend/src/lib.rs index 5f94fca..c70bc93 100644 --- a/crates/frontend/src/lib.rs +++ b/crates/frontend/src/lib.rs @@ -141,15 +141,14 @@ async fn unauthorized_handler(mut request: Request, next: Next) -> Response { return resp .body(Body::new(format!( r#" - - - - - - Unauthorized, redirecting to login page - - - "#, + + + + + + Unauthorized, redirecting to login page + +"#, ))) .unwrap(); }