From 239d2c07e1a9ccda8d606952f2266fd778819ab7 Mon Sep 17 00:00:00 2001 From: Leopere Date: Tue, 3 Mar 2026 16:58:56 -0500 Subject: [PATCH] Disable stack action buttons on submit to prevent spam Made-with: Cursor --- docker/ss-atlas/templates/pages/dashboard.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docker/ss-atlas/templates/pages/dashboard.html b/docker/ss-atlas/templates/pages/dashboard.html index f96cecb..6b99d1f 100644 --- a/docker/ss-atlas/templates/pages/dashboard.html +++ b/docker/ss-atlas/templates/pages/dashboard.html @@ -180,23 +180,26 @@
{{if .StackRunning}} -
+
-
+
{{else}} -
+
{{end}} {{if .StackDeployed}}
+ onsubmit="if(!confirm('Destroy your stack? All containers will be removed. Volumes are preserved.')) return false; this.querySelector('button').disabled=true; this.querySelector('button').textContent='Destroying…';">