settings: add "tasks" button (advanced)
added a GET /tasks route to list tasks with a description (untranslated, but this is mostly a dev feature anyway). Loaded in a modal by enabling advanced settings and pressing the Tasks button at the top (where logs, backups, restart are). Also added some icons in settings, and removed some redundant "flex flex-row"s on buttons and reduced the spacing in those with icons to gap-1.
This commit is contained in:
@@ -244,6 +244,7 @@ func (app *appContext) loadRoutes(router *gin.Engine) {
|
||||
api.POST(p+"/config", app.ModifyConfig)
|
||||
api.POST(p+"/restart", app.restart)
|
||||
api.GET(p+"/logs", app.GetLog)
|
||||
api.GET(p+"/tasks", app.TaskList)
|
||||
api.POST(p+"/tasks/housekeeping", app.TaskHousekeeping)
|
||||
api.POST(p+"/tasks/users", app.TaskUserCleanup)
|
||||
if app.config.Section("jellyseerr").Key("enabled").MustBool(false) {
|
||||
|
||||
Reference in New Issue
Block a user