From 1905b90698b8171880b812bec1fcafaf0e35dc6a Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Sat, 20 Sep 2025 21:12:47 -0700 Subject: Ditch HTMX --- templates/login.html.template | 17 ++++++++--------- templates/note.html.template | 30 ++++++++++-------------------- 2 files changed, 18 insertions(+), 29 deletions(-) (limited to 'templates') diff --git a/templates/login.html.template b/templates/login.html.template index 658d477..53ab905 100644 --- a/templates/login.html.template +++ b/templates/login.html.template @@ -1,13 +1,12 @@ {{define "head"}}Login{{end}} -

{{.Error}}

-
-
-
- - - -
-
+ {{if .Error}} + + {{end}} +
+ + + +
diff --git a/templates/note.html.template b/templates/note.html.template index eac0e02..0a88fd6 100644 --- a/templates/note.html.template +++ b/templates/note.html.template @@ -1,31 +1,21 @@ {{define "head"}} - -Notepad + + Notepad - + {{end}} -
+
- {{block "saveIndicator" ""}} - {{.}} - {{end}} +
+ {{block "saveIndicator" ""}} + {{.}} + {{end}} +
-
-- cgit v1.3.1