diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-24 13:07:37 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-24 13:07:37 +0200 |
| commit | a675a983424f1f8d103fc12d55ef4f7129a92d62 (patch) | |
| tree | b9483bf09f03cb9047a548289556c73a9343bbb0 /internal/web/templates | |
| parent | 55a5c793d04b55892fcddfc753d8526bd5748f03 (diff) | |
| download | lectio-a675a983424f1f8d103fc12d55ef4f7129a92d62.tar.gz lectio-a675a983424f1f8d103fc12d55ef4f7129a92d62.zip | |
qol: tui jump-to-date (d) + lectio --citation/--week + hide bt for traditional web; v0.10.0
Diffstat (limited to 'internal/web/templates')
| -rw-r--r-- | internal/web/templates/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/web/templates/index.html b/internal/web/templates/index.html index 26854a8..5dbe7da 100644 --- a/internal/web/templates/index.html +++ b/internal/web/templates/index.html @@ -33,14 +33,14 @@ </span> <label>{{.L.Lectionary}} - <select name="lectionary"> + <select name="lectionary" onchange="var b=document.getElementById('ver-bt');if(b)b.style.display=this.value==='traditional'?'none':'';"> <option value="new" {{if eq .Lectionary "new"}}selected{{end}}>{{.L.OptModern}}</option> <option value="traditional" {{if eq .Lectionary "traditional"}}selected{{end}}>{{.L.OptTraditional}}</option> </select> </label> {{range .VersionOpts}} - <label><input type="checkbox" name="v" value="{{.Code}}" {{if .Checked}}checked{{end}}> {{.Code}}</label> + <label id="ver-{{.Code}}"{{if and (eq .Code "bt") (eq $.Lectionary "traditional")}} style="display:none"{{end}}><input type="checkbox" name="v" value="{{.Code}}" {{if .Checked}}checked{{end}}> {{.Code}}</label> {{end}} <label>{{.L.Parts}} |
