+ @* Channel chip multi-select. *@
+
+
+
+ @foreach (var channel in Enum.GetValues
())
+ {
+ var selected = _model.Channels.Contains(channel);
+
+ }
+
+
+
+ @* Kind chip multi-select — narrowed by Channel selection. *@
+
+
+
+ @foreach (var kind in _model.VisibleKinds())
+ {
+ var selected = _model.Kinds.Contains(kind);
+
+ }
+
+
+
+ @* Status chip multi-select. *@
+
+
+
+ @foreach (var status in Enum.GetValues
())
+ {
+ var selected = _model.Statuses.Contains(status);
+
+ }
+
+
+
+ @* Site chip multi-select — populated from ISiteRepository. *@
+
+
+
+ @if (_sites.Count == 0)
+ {
+ No sites available.
+ }
+ else
+ {
+ @foreach (var site in _sites)
+ {
+ var selected = _model.SiteIdentifiers.Contains(site.SiteIdentifier);
+
+ }
+ }
+
+
+
+
+
+
+
+
+
+ @* Custom datetime range; only the pickers are conditional, the wrapper is
+ always emitted so tests can find it. *@
+
+ @if (_model.TimeRange == AuditTimeRangePreset.Custom)
+ {
+
+ }
+ else
+ {
+
Window: @TimeRangeLabel(_model.TimeRange)
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+