From e53aa72663d6f08c6e5b01b7905eb57b50993f17 Mon Sep 17 00:00:00 2001 From: Geekyhobo <66805063+Geekyhobo@users.noreply.github.com> Date: Sat, 16 Mar 2024 18:37:23 -0400 Subject: [PATCH] Conformation for Unbans (#60) * Conformation for Unbans * onclick handler was stupid here lmao * using let cause julian knows more than me * const is better lmaooooooooooooooooooooo --------- Co-authored-by: Geekyhobo <66805063+Ahlytlex@users.noreply.github.com> --- .idea/.idea.SS14.Admin/.idea/.name | 1 - SS14.Admin/Pages/Tables/BansTable.cshtml | 23 +++++++++++++++++--- SS14.Admin/Pages/Tables/RoleBansTable.cshtml | 20 +++++++++++++++-- 3 files changed, 38 insertions(+), 6 deletions(-) delete mode 100644 .idea/.idea.SS14.Admin/.idea/.name diff --git a/.idea/.idea.SS14.Admin/.idea/.name b/.idea/.idea.SS14.Admin/.idea/.name deleted file mode 100644 index a6ced5a..0000000 --- a/.idea/.idea.SS14.Admin/.idea/.name +++ /dev/null @@ -1 +0,0 @@ -SS14.Admin \ No newline at end of file diff --git a/SS14.Admin/Pages/Tables/BansTable.cshtml b/SS14.Admin/Pages/Tables/BansTable.cshtml index bbab314..f866768 100644 --- a/SS14.Admin/Pages/Tables/BansTable.cshtml +++ b/SS14.Admin/Pages/Tables/BansTable.cshtml @@ -7,7 +7,7 @@ } } - +
@@ -115,7 +118,21 @@
@@ -104,9 +104,12 @@ @if (ban.Active && User.IsInRole("BAN")) { -
+ - + +
}
+ + @if (b == true) { } + diff --git a/SS14.Admin/Pages/Tables/RoleBansTable.cshtml b/SS14.Admin/Pages/Tables/RoleBansTable.cshtml index b89d6aa..69b97ad 100644 --- a/SS14.Admin/Pages/Tables/RoleBansTable.cshtml +++ b/SS14.Admin/Pages/Tables/RoleBansTable.cshtml @@ -95,9 +95,12 @@ @if (ban.Active && User.IsInRole("BAN")) { -
+ - + +
} @@ -106,6 +109,19 @@ + + @if(b == true) {