From 68808a388a61c7a778494739fe0150651a09ea66 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 3 Apr 2021 09:58:18 +0300 Subject: Implemented a simple login page for (admin) dashboard and skeleton of dashboard controller and view --- src/controllers/DashboardController.php | 8 ++++++++ src/controllers/DashboardLoginController.php | 24 ++++++++++++++++++++++++ src/index.php | 5 +++++ src/views/dashboard-login.php | 12 ++++++++++++ src/views/dashboard.php | 1 + 5 files changed, 50 insertions(+) create mode 100644 src/controllers/DashboardController.php create mode 100644 src/controllers/DashboardLoginController.php create mode 100644 src/views/dashboard-login.php create mode 100644 src/views/dashboard.php (limited to 'src') diff --git a/src/controllers/DashboardController.php b/src/controllers/DashboardController.php new file mode 100644 index 0000000..84beb14 --- /dev/null +++ b/src/controllers/DashboardController.php @@ -0,0 +1,8 @@ + + + +
+ + +
+ + + diff --git a/src/views/dashboard.php b/src/views/dashboard.php new file mode 100644 index 0000000..86c393a --- /dev/null +++ b/src/views/dashboard.php @@ -0,0 +1 @@ +

Dashboard works!

-- cgit v1.3.1-26-gb76a