From 476a2a32d9f5c31c2f2f81d154e8b94336575e97 Mon Sep 17 00:00:00 2001 From: Andrei Pohilko Date: Thu, 8 Sep 2022 13:00:29 +0100 Subject: [PATCH] Cosmetics around poweroff --- pkg/dashboard/static/scripts.js | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/dashboard/static/scripts.js b/pkg/dashboard/static/scripts.js index 85a6d1bc..9cabfabf 100644 --- a/pkg/dashboard/static/scripts.js +++ b/pkg/dashboard/static/scripts.js @@ -349,6 +349,7 @@ function showResources(namespace, chart, revision) { } $(".fa-power-off").click(function () { + $(".fa-power-off").attr("disabled", "disabled").removeClass(".fa-power-off").addClass("fa-spin fa-spinner") $.ajax({ url: "/", type: 'DELETE',