From 7391134548bd760998b4d33f12e7300703cf2872 Mon Sep 17 00:00:00 2001 From: Sriniketh Varma Dasarraju Date: Tue, 17 Dec 2019 11:31:30 -0500 Subject: [PATCH] New "Delete Agents" button in Web UI --- web/htdocs/index.html | 27 +++++++++++++++++++++++++-- web/htdocs/js/shield.js | 22 ++++++++++++++++++++++ 2 files changed, 47 insertions(+), 2 deletions(-) diff --git a/web/htdocs/index.html b/web/htdocs/index.html index 93c457e20..0a3c76f5a 100755 --- a/web/htdocs/index.html +++ b/web/htdocs/index.html @@ -2662,7 +2662,7 @@

[[ if (_.store) { ]]Edit[[ } else { ]]New[[ } ]] Storage System

Delete The [[= h(_.store.name) ]] Cloud Storage System?

You have requested that SHIELD remove the configuration for - the cloud storage system "[[= h(_.store.name) ]]". This is a + the cloud storage system "[[= h(_.store.name) ]]". This is an irreversible action; it cannot be undone.

Are you sure you want to delete [[= h(_.store.name) ]]?

@@ -2962,7 +2962,8 @@

[[= _.heading ]]

[[ if (agent.hidden) { ]]no[[ } else { ]]yes[[ } ]] [[ if (agent.hidden) { ]]show [[ } else { ]]hide[[ } ]] - | resync + | resync + | delete [[ if (problems.length != 0 || agent.last_error != '') { ]] @@ -2981,6 +2982,28 @@

[[= _.heading ]]

[[ } ]] +