From bb7cff0016a1bb95bd987b69b586c505418c1aeb Mon Sep 17 00:00:00 2001 From: curly Date: Thu, 18 Jul 2024 11:09:47 -0600 Subject: move delete to update info --- src/main.js | 2 +- src/user/delete/index.html | 50 -------------------------------------------- src/user/index.html | 3 --- src/user/transfer/index.html | 3 --- src/user/update/index.html | 22 ++++++++++++++++--- 5 files changed, 20 insertions(+), 60 deletions(-) delete mode 100644 src/user/delete/index.html (limited to 'src') diff --git a/src/main.js b/src/main.js index c7f42bc..5dc8244 100644 --- a/src/main.js +++ b/src/main.js @@ -430,7 +430,7 @@ async function delete_form() { const id = get_id(); const session = get_session(); const is_sure = document.getElementById("is_sure").value; - const password = document.getElementById("password").value; + const password = document.getElementById("del_password").value; if (is_sure == "YES") { const url = server + "/user/delete" diff --git a/src/user/delete/index.html b/src/user/delete/index.html deleted file mode 100644 index 1b083c3..0000000 --- a/src/user/delete/index.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - DELETE - - -
- - - - - - - - - - - - - - - -
-
-
-

DELETE

-
-
-
-
- - - - - -
-
-
- - - \ No newline at end of file diff --git a/src/user/index.html b/src/user/index.html index 87cedc0..476f697 100644 --- a/src/user/index.html +++ b/src/user/index.html @@ -16,9 +16,6 @@ - - - diff --git a/src/user/transfer/index.html b/src/user/transfer/index.html index 479ff13..618b0a0 100644 --- a/src/user/transfer/index.html +++ b/src/user/transfer/index.html @@ -16,9 +16,6 @@ - - - diff --git a/src/user/update/index.html b/src/user/update/index.html index b63448f..f7a5e02 100644 --- a/src/user/update/index.html +++ b/src/user/update/index.html @@ -16,9 +16,6 @@ - - - @@ -51,6 +48,25 @@ +
+
+

DELETE

+
+
+
+
+ + + + + +
+
+
+