fix(admin): add matching syntax help to the Discovery Interval field

The update-check interval field just got an info-toggle explaining Go
duration syntax; Discovery Interval takes the exact same syntax and
had no such help, which would read as inconsistent on the same
Settings page. Pre-existing gap, unrelated to #591 itself, but small
enough to fix alongside it while the pattern is fresh.
This commit is contained in:
Tobias Gesellchen
2026-08-10 23:17:36 +02:00
parent b138892c2a
commit df5eb1af01
+6
View File
@@ -308,6 +308,12 @@
<div style="margin-left: 20px">
<label for="discovery-interval">Discovery Interval:</label>
<input type="text" id="discovery-interval" placeholder="5m" style="width: 100px"/>
<span class="info-toggle" onclick="toggleInfo('discovery-interval-info')"></span>
<div id="discovery-interval-info" class="info-details">
Go duration syntax: a number followed by a unit, optionally combined
(e.g. <code>5m</code>, <code>90s</code>, <code>1h30m</code>).<br/>
Units: <code>h</code> (hours), <code>m</code> (minutes), <code>s</code> (seconds).
</div>
</div>
</div>
</div>