From cb8ef29cde3acfa0c3e1580193f9b748906537f5 Mon Sep 17 00:00:00 2001 From: mkelvers Date: Sat, 6 Jun 2026 16:53:24 +0200 Subject: [PATCH] refactor: replace inline scripts with module scripts block --- templates/login.gohtml | 29 ++--------------------------- templates/schedule.gohtml | 3 ++- 2 files changed, 4 insertions(+), 28 deletions(-) diff --git a/templates/login.gohtml b/templates/login.gohtml index 9967dcf..37b9203 100644 --- a/templates/login.gohtml +++ b/templates/login.gohtml @@ -1,4 +1,5 @@ {{define "title"}}Login{{end}} +{{define "scripts"}}{{end}} {{define "content"}}
@@ -20,7 +21,7 @@ placeholder="you@example.com" required value="{{.Username}}" - class="h-10 w-full bg-background-surface px-3 text-foreground outline-none transition focus:ring-1 focus:ring-accent rounded-none!" + class="h-10 w-full bg-background-surface px-3 text-foreground outline-none transition focus:ring-1 focus:ring-accent rounded-none!" />
@@ -96,30 +97,4 @@
- {{end}} diff --git a/templates/schedule.gohtml b/templates/schedule.gohtml index e8f58d2..d4c44b9 100644 --- a/templates/schedule.gohtml +++ b/templates/schedule.gohtml @@ -1,4 +1,5 @@ {{define "title"}}Schedule{{end}} +{{define "scripts"}}{{end}} {{define "content"}}
@@ -8,8 +9,8 @@