Development

This commit is contained in:
Matthew Grotke 2026-06-10 01:23:32 -04:00
parent 37d7f1303c
commit a1a2cded14

View file

@ -22,7 +22,7 @@ def _period_selector_html(current_period):
return (
'<form method="post" action="/action/dnsserver/metrics_period_save"'
' style="display:flex;align-items:center;gap:0.75rem;margin-bottom:1rem">'
'<label class="form-label" style="margin:0;white-space:nowrap">Period</label>'
'<label class="form-label" style="margin:0;white-space:nowrap">Period:</label>'
f'<select name="metrics_period" class="form-input" style="width:auto"'
f' onchange="this.form.submit()">{opts}</select>'
f'<input type="hidden" name="config_hash" value="{factory.e(config_utils.config_hash())}"/>'