feat: add job maintenance dashboard and automated stale job expiration system
This commit is contained in:
@@ -19,6 +19,8 @@ const applyTabHTML = `{{ define "applyTab" }}
|
||||
<option value="INTERVIEW">💬 Interview</option>
|
||||
<option value="OFFER">🎉 Offer</option>
|
||||
<option value="REJECTED">❌ Rejected</option>
|
||||
<option value="EXPIRED">⚠️ Expired / Closed</option>
|
||||
<option value="OPTED_OUT">🚫 Opted Out</option>
|
||||
<option value="all">All</option>
|
||||
</select>
|
||||
<button hx-get="/applications" hx-target="#apply-container" hx-swap="innerHTML"
|
||||
@@ -69,6 +71,15 @@ const applyTableHTML = `{{ define "applyTable" }}
|
||||
|
||||
<!-- Pipeline Stage (arrow indicator) -->
|
||||
<td class="px-4 py-3">
|
||||
{{ if eq .App.Status "EXPIRED" }}
|
||||
<span class="px-2.5 py-0.5 rounded-full bg-amber-500/15 border border-amber-500/30 text-amber-300 text-[10px] font-bold">
|
||||
⚠️ Expired / Closed
|
||||
</span>
|
||||
{{ else if eq .App.Status "OPTED_OUT" }}
|
||||
<span class="px-2.5 py-0.5 rounded-full bg-slate-800 border border-slate-700 text-slate-400 text-[10px] font-medium">
|
||||
🚫 Opted Out
|
||||
</span>
|
||||
{{ else }}
|
||||
<div class="flex items-center gap-0.5 text-[10px] font-semibold">
|
||||
<span class="px-2 py-0.5 rounded-l-full {{ if eq .App.Status "SAVED" }}bg-slate-500 text-white{{ else }}bg-slate-800/60 text-slate-600{{ end }}">Saved</span>
|
||||
<span class="text-slate-700">▶</span>
|
||||
@@ -84,6 +95,7 @@ const applyTableHTML = `{{ define "applyTable" }}
|
||||
<span class="px-2 py-0.5 rounded-r-full bg-slate-800/60 text-slate-600">Offer</span>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</td>
|
||||
|
||||
<!-- Score -->
|
||||
@@ -122,6 +134,8 @@ const applyTableHTML = `{{ define "applyTable" }}
|
||||
<option value="INTERVIEW" {{ if eq .App.Status "INTERVIEW" }}selected{{ end }}>💬 Interview</option>
|
||||
<option value="OFFER" {{ if eq .App.Status "OFFER" }}selected{{ end }}>🎉 Offer</option>
|
||||
<option value="REJECTED" {{ if eq .App.Status "REJECTED" }}selected{{ end }}>❌ Rejected</option>
|
||||
<option value="EXPIRED" {{ if eq .App.Status "EXPIRED" }}selected{{ end }}>⚠️ Expired</option>
|
||||
<option value="OPTED_OUT" {{ if eq .App.Status "OPTED_OUT" }}selected{{ end }}>🚫 Opted Out</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user