aboutsummaryrefslogtreecommitdiff
path: root/internal/web/templates
diff options
context:
space:
mode:
Diffstat (limited to 'internal/web/templates')
-rw-r--r--internal/web/templates/index.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/web/templates/index.html b/internal/web/templates/index.html
index 5dbe7da..6920fcb 100644
--- a/internal/web/templates/index.html
+++ b/internal/web/templates/index.html
@@ -24,6 +24,9 @@
<div class="page">
<form id="controls" class="controls" hx-get="/readings" hx-target="#pane" hx-trigger="change">
+ {{/* Always-present marker so the server can tell a form submit with every
+ version unchecked (show nothing) from a fresh visit (config default). */}}
+ <input type="hidden" name="vset" value="1">
<span class="date-nav">
<button type="button" hx-get="/readings" hx-target="#pane"
hx-vals='{"date":"{{.PrevDate}}"}'>&larr;</button>