From 3424ebde9147ab5838c0433d6723c0d8b0d66c8c Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Fri, 21 Sep 2018 01:21:55 -0400 Subject: deleteaccount: Add view --- app/index.php | 5 ++++ app/view/deleteaccount.php | 59 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 app/view/deleteaccount.php (limited to 'app') diff --git a/app/index.php b/app/index.php index a40f8c1..1b9b15a 100644 --- a/app/index.php +++ b/app/index.php @@ -60,6 +60,11 @@ function main(array $argv) : void location("/"); break; + case "deleteaccount": + setPageName("Leaving Scrott"); + require "view/deleteaccount.php"; + break; + case "groups": setPageName("Groups"); require "view/groups.php"; diff --git a/app/view/deleteaccount.php b/app/view/deleteaccount.php new file mode 100644 index 0000000..857799e --- /dev/null +++ b/app/view/deleteaccount.php @@ -0,0 +1,59 @@ + + + + + + + + + + + + + +
+
+
+ Warning: Deleting your user account! +
+ +
+
+ + +

Are you sure?!

+

Please confirm you want to delete your Scrott account. Type your current password in the box below and click the confirm button.

+
This can not be undone
+
+ + + + +
+
+
+
+ + + + -- cgit v1.2.3