From 55a5c793d04b55892fcddfc753d8526bd5748f03 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Fri, 24 Jul 2026 12:48:05 +0200 Subject: web reader: /reader book picker + chapter nav + version compare, reusing pane templates; v0.9.0 --- internal/web/templates/reader.html | 72 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 internal/web/templates/reader.html (limited to 'internal/web/templates/reader.html') diff --git a/internal/web/templates/reader.html b/internal/web/templates/reader.html new file mode 100644 index 0000000..c82d08e --- /dev/null +++ b/internal/web/templates/reader.html @@ -0,0 +1,72 @@ +{{/* reader.html — lectio-web Bible reader: pick a book (sigla-dialect names), + navigate chapters, compare corpus versions. The controls form re-fetches + /reader and hx-selects #reader-root (so the book/chapter/version selects + re-render in sync); the theme/mono controls live OUTSIDE #reader-root so + they persist across swaps, exactly like index.html. Reuses the same + reading-pane templates, role classes and themes as the daily view. */}} + + + + + +lectio — reader + + + + + +
+
+
+ ← {{.L.BannerReadings}} + + + + + + + + + + {{range .VersionOpts}} + + {{end}} + + + +
{{.Reading}}
+
+
+ + + + + +
+ + -- cgit v1.3