From a89ccbdab75fd672d8a7e31d90b487885273fff1 Mon Sep 17 00:00:00 2001 From: siddhikhapare <81567515+siddhikhapare@users.noreply.github.com> Date: Tue, 29 Nov 2022 16:41:22 +0530 Subject: [PATCH] Overlay with explaination modified (#123) --- pkg/dashboard/static/index.html | 18 ++++++++++++++++++ pkg/dashboard/static/scripts.js | 1 + 2 files changed, 19 insertions(+) diff --git a/pkg/dashboard/static/index.html b/pkg/dashboard/static/index.html index 993702b..35b7173 100644 --- a/pkg/dashboard/static/index.html +++ b/pkg/dashboard/static/index.html @@ -75,6 +75,24 @@
+ + + diff --git a/pkg/dashboard/static/scripts.js b/pkg/dashboard/static/scripts.js index a74c3b8..a18df58 100644 --- a/pkg/dashboard/static/scripts.js +++ b/pkg/dashboard/static/scripts.js @@ -265,6 +265,7 @@ $(".bi-power").click(function () { type: 'DELETE', }).done(function () { // TODO: display explanation overlay here + $("#PowerOffModal").modal('show'); window.close(); }) })