From 156e8d3ce2fc3386a52c0b3ace01501f1b178176 Mon Sep 17 00:00:00 2001 From: Ivo Oskamp Date: Fri, 6 Feb 2026 16:59:02 +0100 Subject: [PATCH] Reorganize Autotask settings with separate save buttons and validation Split Autotask settings into two separate forms with dedicated save buttons and field validation: 1. Autotask Settings form: - Save button inside card for better UX - Required fields: Environment, Username, Password (if not set), Tracking Identifier, Base URL - Red asterisks indicate required fields 2. Ticket Defaults form: - Separate save button inside card - Required fields: Queue, Ticket Source, Status, Priority Warning, Priority Error - Prevents saving incomplete configurations Benefits: - Clear visual separation of concerns - Prevents accidental saving of empty values - HTML5 validation ensures all required fields are filled - Better user experience with focused save actions Co-Authored-By: Claude Sonnet 4.5 --- .../src/templates/main/settings.html | 67 ++++++++++--------- 1 file changed, 37 insertions(+), 30 deletions(-) diff --git a/containers/backupchecks/src/templates/main/settings.html b/containers/backupchecks/src/templates/main/settings.html index 67c6b1e..d77d6a0 100644 --- a/containers/backupchecks/src/templates/main/settings.html +++ b/containers/backupchecks/src/templates/main/settings.html @@ -331,7 +331,7 @@ {% if section == 'integrations' %} -
+
Autotask
@@ -342,9 +342,9 @@
- - + @@ -352,44 +352,51 @@
- - + +
- +
Leave empty to keep the existing password.
- - + +
- - + +
Required later for creating stable links to Job Details pages.
+ +
+ +
+
+
Ticket defaults
- - + {% for q in autotask_queues %} {% endfor %} @@ -398,9 +405,9 @@
- - + {% for s in autotask_ticket_sources %} {% endfor %} @@ -409,9 +416,9 @@
- - + {% for st in autotask_ticket_statuses %} {% endfor %} @@ -420,9 +427,9 @@
- - + {% for p in autotask_priorities %} {% endfor %} @@ -431,9 +438,9 @@
- - + {% for p in autotask_priorities %} {% endfor %} @@ -442,11 +449,11 @@
Priorities are loaded from Autotask to avoid manual ID mistakes.
-
-
-
- +
+ +
+