feat: add job maintenance dashboard and automated stale job expiration system
This commit is contained in:
@@ -72,6 +72,7 @@ type PageData struct {
|
||||
Targets []db.SearchTarget
|
||||
Jobs []db.JobWithAnalysis
|
||||
Applications []db.JobWithAnalysis
|
||||
MaintenanceStats map[string]int
|
||||
ActiveTab string
|
||||
LLMProvider string
|
||||
ToReviewCount int
|
||||
@@ -92,6 +93,7 @@ func init() {
|
||||
jobDetailHTML,
|
||||
targetsTabHTML,
|
||||
targetListHTML,
|
||||
preferencesTabHTML,
|
||||
applyTabHTML,
|
||||
applyTableHTML,
|
||||
kanbanBoardHTML,
|
||||
@@ -131,3 +133,8 @@ func RenderKanbanBoard(w io.Writer, apps []db.JobWithAnalysis) error {
|
||||
func RenderApplyTable(w io.Writer, apps []db.JobWithAnalysis) error {
|
||||
return rootTemplate.ExecuteTemplate(w, "applyTable", apps)
|
||||
}
|
||||
|
||||
func RenderPreferencesTab(w io.Writer, data PageData) error {
|
||||
return rootTemplate.ExecuteTemplate(w, "preferencesTab", data)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user