diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-23 20:46:17 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-23 20:46:17 +0200 |
| commit | 0b47572bc0addc5f59ebac3e70278ea435097565 (patch) | |
| tree | a04a3a3afb2c074b2f714f396506dc5bb4f5cbca /internal/web/templates/index.html | |
| parent | 734eb4f3aec4e3c10064c7af4bd8e33c64ad07a7 (diff) | |
| download | lectio-0b47572bc0addc5f59ebac3e70278ea435097565.tar.gz lectio-0b47572bc0addc5f59ebac3e70278ea435097565.zip | |
web: theme control boxes, one default version, drop search bar; traditional drops pl + all=readings-only
Diffstat (limited to 'internal/web/templates/index.html')
| -rw-r--r-- | internal/web/templates/index.html | 9 |
1 files changed, 1 insertions, 8 deletions
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 @@ <label class="mono-toggle"><input type="checkbox" {{if .Mono}}checked{{end}} onchange="document.body.classList.toggle('mono', this.checked)"> mono</label> - <form id="lookup-form" class="controls" hx-get="/lookup" hx-target="#lookup-results" hx-include="#controls"> - <input type="text" name="ref" placeholder="np. J 20:1" value="{{.Ref}}"> - <button type="submit">szukaj</button> - </form> - <div id="lookup-results">{{.Lookup}}</div> - <div id="pane">{{.Reading}}</div> </div> |
