package ui const jobsTabHTML = `{{ define "jobsTab" }}
All ingested postings · AI-scored · sortable
| Job Title & Company | Link | Analysis | Score & Qualification | Reason / Tags | Crawled | Actions |
|---|---|---|---|---|---|---|
|
{{ .Company }}
•
📍 {{ .Location }}
|
🔗 | {{ if .Analysis }} {{ if eq .Analysis.Status "PARSED" }} PARSED {{ else if eq .Analysis.Status "PENDING" }} PENDING {{ else if eq .Analysis.Status "DONE" }} DONE {{ else }} {{ .Analysis.Status }} {{ end }} {{ else }} UNANALYZED {{ end }} | {{ if .Analysis }} {{ if .Analysis.IsQualified }} ★ {{ printf "%.0f" .Analysis.Score }} {{ else }} ✗ Not Qualified {{ end }} {{ else }} – {{ end }} |
{{ if .App }}{{ if eq .App.Status "OPTED_OUT" }}
Opted out
{{ end }}{{ end }}
{{ if .Analysis }}
{{ if .Analysis.IsQualified }}
{{ range parseJSON .Analysis.MatchedHighlights }}
{{ . }}
{{ else }}
No tags
{{ end }}
{{ else }}
{{ $missing := parseJSON .Analysis.MissingHighlights }}
{{ if $missing }}
{{ index $missing 0 }}
{{ end }}
{{ end }}
{{ end }}
|
{{ formatDate .CrawledAt }} |
{{ if .App }}
{{ if eq .App.Status "OPTED_OUT" }}
{{ else }}
{{ .App.Status }}
{{ end }}
{{ else }}
|
|
📭 No job postings found. Click 🔍 Discover in the bottom bar to start crawling. |
||||||
📍 {{ .Location }} • Ingested {{ formatDate .CrawledAt }}