From 0b47572bc0addc5f59ebac3e70278ea435097565 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Thu, 23 Jul 2026 20:46:17 +0200 Subject: web: theme control boxes, one default version, drop search bar; traditional drops pl + all=readings-only --- internal/web/templates/index.html | 9 +-------- internal/web/templates/lookup.html | 20 -------------------- 2 files changed, 1 insertion(+), 28 deletions(-) delete mode 100644 internal/web/templates/lookup.html (limited to 'internal/web/templates') diff --git a/internal/web/templates/index.html b/internal/web/templates/index.html index 8c88779..cc56a09 100644 --- a/internal/web/templates/index.html +++ b/internal/web/templates/index.html @@ -1,7 +1,6 @@ {{/* index.html renders the full lectio-web page: top-bar controls (date, lectionary, version checkboxes, all/gospel toggle, display select, - theme select), a passage-lookup form, and the pre-rendered reading pane - (#pane). + theme select) and the pre-rendered reading pane (#pane). The controls form (#controls) carries hx-get="/readings" and fires on any "change" bubbling up from its fields (htmx auto-includes an @@ -72,12 +71,6 @@ -
- - -
-
{{.Lookup}}
-
{{.Reading}}
diff --git a/internal/web/templates/lookup.html b/internal/web/templates/lookup.html deleted file mode 100644 index c8bc2a7..0000000 --- a/internal/web/templates/lookup.html +++ /dev/null @@ -1,20 +0,0 @@ -{{/* lookup.html renders the passage-lookup fragment: one .column per - requested version, each version's matched bible.Verse rows plus any - sub-refs the corpus had no entry for. Structurally mirrors - readings.html's .columns/.column/.block classes so theme CSS restyles - both panes the same way. */}} -{{if .}} -
- {{range .}} -
-

{{.Version}}

- {{range .Verses}} -

{{.Chapter}}:{{.Verse}} {{.Text}}

- {{end}} - {{if .Missing}} -

brak: {{range $i, $m := .Missing}}{{if $i}}, {{end}}{{$m}}{{end}}

- {{end}} -
- {{end}} -
-{{end}} -- cgit v1.3