From 9de77f596c43d62f722194cc269bd95f218ebd81 Mon Sep 17 00:00:00 2001 From: Philipp Schafft Date: Fri, 9 Oct 2020 14:54:23 +0000 Subject: [PATCH] Feature: Ask for confirmation before killing a client or deleting a user --- admin/listclients.xsl | 2 +- admin/manageauth.xsl | 2 +- admin/ui/confirmdeleteuser.xsl | 24 ++++++++++++++++++++++++ admin/ui/confirmkillclient.xsl | 23 +++++++++++++++++++++++ 4 files changed, 49 insertions(+), 2 deletions(-) create mode 100644 admin/ui/confirmdeleteuser.xsl create mode 100644 admin/ui/confirmkillclient.xsl diff --git a/admin/listclients.xsl b/admin/listclients.xsl index 22a22a0f..9bdd0d68 100644 --- a/admin/listclients.xsl +++ b/admin/listclients.xsl @@ -37,7 +37,7 @@ - Kick + Kick Move diff --git a/admin/manageauth.xsl b/admin/manageauth.xsl index 137da23e..90bdfdc7 100644 --- a/admin/manageauth.xsl +++ b/admin/manageauth.xsl @@ -37,7 +37,7 @@ - Delete + Delete diff --git a/admin/ui/confirmdeleteuser.xsl b/admin/ui/confirmdeleteuser.xsl new file mode 100644 index 00000000..d8a59ae0 --- /dev/null +++ b/admin/ui/confirmdeleteuser.xsl @@ -0,0 +1,24 @@ + + + + Confirm killing source + + + + + + Please confirm deleting user . + /admin/manageauth.xsl + /admin/manageauth.xsl + + + + + + + + + + + + diff --git a/admin/ui/confirmkillclient.xsl b/admin/ui/confirmkillclient.xsl new file mode 100644 index 00000000..b4f19959 --- /dev/null +++ b/admin/ui/confirmkillclient.xsl @@ -0,0 +1,23 @@ + + + + Confirm killing source + + + + + + Please confirm killing the client on . + /admin/listclients.xsl + /admin/killclient.xsl + + + + + + + + + + +