{{define "job_row"}}
<div class="p-2 bg-gray-50 rounded border mb-2">
  <div class="text-sm"><strong>Job:</strong> {{.JobID}} {{if .Name}}— {{.Name}}{{end}}</div>
  <div class="text-xs text-gray-500">Status: {{.Status}}{{if .Progress}} — {{.Progress}}%{{end}}</div>
</div>
{{end}}
