{# Reusable time-range selector. Requires `current_range` to be in template context. Places a hidden input #time-range (name="range") that HTMX hx-include picks up, plus a visible button group that calls setTimeRange() defined in base.html. #}
{% for key in ["1h", "6h", "24h", "7d", "30d"] %} {% endfor %}