package ui const jobsTabHTML = `{{ define "jobsTab" }}
All ingested postings · AI-scored · sortable
| Job Title & Company | Link | Status | Score & Qualification | Reason / Tags | Last Updated | Actions |
|---|---|---|---|---|---|---|
|
{{ .Company }}
•
📍 {{ .Location }}
|
🔗 | {{ if .Analysis }} {{ if eq .Analysis.Status "PARSED" }} AI PARSED {{ else if eq .Analysis.Status "PENDING" }} QUEUED {{ else if eq .Analysis.Status "FILTERED_OUT" }} LOW FIT {{ else if eq .Analysis.Status "REJECTED" }} REJECTED {{ else if eq .Analysis.Status "DONE" }} DONE {{ else }} {{ .Analysis.Status }} {{ end }} {{ else }} UNANALYZED {{ end }} | {{ if .Analysis }} {{ if eq .Analysis.Status "PARSED" }} {{ if .Analysis.IsQualified }} 🤖 {{ printf "%.0f" .Analysis.Score }} {{ else }} ✗ {{ printf "%.0f" .Analysis.Score }} Not Qual {{ end }} {{ else if eq .Analysis.Status "PENDING" }} ⚡ {{ printf "%.0f" .Analysis.FilterScore }} {{ else if eq .Analysis.Status "FILTERED_OUT" }} ⚡ {{ printf "%.0f" .Analysis.FilterScore }} {{ else if eq .Analysis.Status "REJECTED" }} 🚫 Disqualified {{ else }} {{ printf "%.0f" .Analysis.Score }} {{ end }} {{ else }} – {{ end }} |
{{ if .App }}
{{ if eq .App.Status "OPTED_OUT" }}
Opted out
{{ else if eq .App.Status "EXPIRED" }}
⚠️ No longer active
{{ 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 }}
{{ else if .Analysis.Summary }}
{{ .Analysis.Summary }}
{{ end }}
{{ end }}
{{ end }}
|
{{ formatDate .LastSeenAt }} |
{{ if .App }}
{{ if eq .App.Status "OPTED_OUT" }}
Opted-out
{{ else if eq .App.Status "EXPIRED" }}
⚠️ EXPIRED
{{ else }}
{{ .App.Status }}
{{ end }}
{{ else }}
|
|
📭 No job postings found. Click 🔍 Discover in the bottom bar to start crawling. |
||||||
📍 {{ .Location }} • Last Updated {{ formatDate .LastSeenAt }}
{{ .Analysis.Summary }}