diff options
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> |
