{{ define "operator_tools_pattern.html" }} {{ template "demo_doc_start" . }} {{ template "demo_masthead" (dict "label" "Pattern Demo" "title" .Title "lead" "Universal operator/admin dashboard pattern: tool queue, batch actions, safety checks, import/export shortcuts, and explicit confirmation paths." "back_url" "/" "back_text" "← Back to catalog") }}

Tool Scope Tabs

{{ .VisibleCount }} visible jobs · {{ .SelectedCount }} selected

Operations Queue

Complex dashboards may include multiple tables; standardize row actions and statuses first.
{{ if .ActionMessage }}
{{ .ActionMessage }}
{{ end }}

Selected on this view: {{ .SelectedVisible }}{{ if gt .SelectionOutside 0 }} · Selected outside current filter: {{ .SelectionOutside }}{{ end }}

Batch controls must keep scope/filter context explicit.
{{ range .Rows }} {{ else }} {{ end }}
Job ID Tool Scope Mode Status Owner Started
{{ if .Selected }}☑{{ else }}☐{{ end }} {{ .ID }} {{ .Tool }} {{ .Scope }} {{ .Mode }} {{ .Status }} {{ .Owner }} {{ .StartedAt }}
No queued items for this scope/filter combination.

Safety Checklist

Recent Operator Notes

{{ template "demo_doc_end" . }} {{ end }}