From 95b78157ad7e483edaa6a44ac0d1e73ebe9e6ae3 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 39121e0..98b10e7 100644 --- a/containers/backupchecks/src/templates/main/settings.html +++ b/containers/backupchecks/src/templates/main/settings.html @@ -342,7 +342,7 @@ {% if section == 'integrations' %} -
+
Autotask
@@ -353,9 +353,9 @@
- - + @@ -363,44 +363,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 %} @@ -409,9 +416,9 @@
- - + {% for s in autotask_ticket_sources %} {% endfor %} @@ -420,9 +427,9 @@
- - + {% for st in autotask_ticket_statuses %} {% endfor %} @@ -431,9 +438,9 @@
- - + {% for p in autotask_priorities %} {% endfor %} @@ -442,9 +449,9 @@
- - + {% for p in autotask_priorities %} {% endfor %} @@ -453,11 +460,11 @@
Priorities are loaded from Autotask to avoid manual ID mistakes.
-
-
-
- +
+ +
+