From f58c55a1ff7e0a87415b32ab6ba82cce622f1b5f Mon Sep 17 00:00:00 2001 From: Francisco Penedo Alvarez Date: Sat, 21 Mar 2026 21:38:29 +0100 Subject: [PATCH] Make user selector html only --- src/hxbooks/templates/base.html.j2 | 33 ++++++++----- .../templates/components/header.html.j2 | 46 ++++++------------- 2 files changed, 35 insertions(+), 44 deletions(-) diff --git a/src/hxbooks/templates/base.html.j2 b/src/hxbooks/templates/base.html.j2 index 2c5aa19..e810be4 100644 --- a/src/hxbooks/templates/base.html.j2 +++ b/src/hxbooks/templates/base.html.j2 @@ -17,19 +17,20 @@ {# - #} - {# - #} + < script src="{{ url_for('static', filename='alpine.min.js') }}" defer> + #} + {# + #} - + @@ -90,6 +91,14 @@ + + \ No newline at end of file diff --git a/src/hxbooks/templates/components/header.html.j2 b/src/hxbooks/templates/components/header.html.j2 index 405251b..c01dc6a 100644 --- a/src/hxbooks/templates/components/header.html.j2 +++ b/src/hxbooks/templates/components/header.html.j2 @@ -14,40 +14,22 @@ \ No newline at end of file