From 463483f7695315ac0e573911d7bccaed11cc87a8 Mon Sep 17 00:00:00 2001 From: Leopere Date: Tue, 3 Mar 2026 17:00:58 -0500 Subject: [PATCH] Unify stack action button behaviour via single event listener Replace per-form onsubmit handlers with a single script that handles all data-stack-action forms identically: confirm if needed, then disable the button and show a contextual loading label. Made-with: Cursor --- .../ss-atlas/templates/pages/dashboard.html | 26 +++++++++++++------ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/docker/ss-atlas/templates/pages/dashboard.html b/docker/ss-atlas/templates/pages/dashboard.html index 6b99d1f..e0c2668 100644 --- a/docker/ss-atlas/templates/pages/dashboard.html +++ b/docker/ss-atlas/templates/pages/dashboard.html @@ -180,26 +180,23 @@
{{if .StackRunning}} -
+
-
+
{{else}} -
+
{{end}} {{if .StackDeployed}} -
+
@@ -247,5 +244,18 @@ {{end}}
{{.Commit}}
+