From fb1b673dee11fa50b245772f14cbf83b9bc79c9b Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Sat, 29 Nov 2025 15:43:06 +0000 Subject: [PATCH] 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. --- html/admin.html | 34 +++++++++++++------- lang/admin/en-us.json | 6 +++- models.go | 10 ++++++ router.go | 1 + tasks.go | 29 +++++++++++++++++ ts/admin.ts | 2 ++ ts/modules/settings.ts | 71 ++++++++++++++++++++++++++++++++++++++++-- ts/typings/d.ts | 1 + 8 files changed, 138 insertions(+), 16 deletions(-) diff --git a/html/admin.html b/html/admin.html index 83d1082..28d7f28 100644 --- a/html/admin.html +++ b/html/admin.html @@ -69,11 +69,18 @@