package ui const applyTabHTML = `{{ define "applyTab" }}

Application Pipeline

Track all saved and in-progress applications

{{ template "applyTable" .Applications }}
{{ end }}` const applyTableHTML = `{{ define "applyTable" }}
{{ range . }} {{ if .App }} {{ end }} {{ else }} {{ end }}
Job & Company Pipeline Stage Score Link Last Updated Change Status
{{ .Company }} πŸ“ {{ .Location }} {{ if eq .App.Status "EXPIRED" }} ⚠️ Expired / Closed {{ else if eq .App.Status "OPTED_OUT" }} 🚫 Opted Out {{ else }}
Saved β–Ά Applied β–Ά Interview β–Ά {{ if eq .App.Status "OFFER" }} Offer πŸŽ‰ {{ else if eq .App.Status "REJECTED" }} Rejected {{ else }} Offer {{ end }}
{{ end }}
{{ if .Analysis }} {{ if eq .Analysis.Status "PARSED" }}πŸ€– {{ printf "%.0f" .Analysis.Score }}{{ else }}⚑ {{ printf "%.0f" .Analysis.FilterScore }}{{ end }} {{ else }} – {{ end }} πŸ”— {{ formatDate .App.UpdatedAt }}

πŸ“‹

No saved applications yet. Go to Jobs tab and click + Save on any job.

{{ end }}`