From 36a565c0713a68c758768190d3d336873611775b Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Thu, 19 Jul 2018 02:45:43 -0400 Subject: Add basic dashboard page --- app/index.php | 7 +++++++ app/view/dashboard.php | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 app/view/dashboard.php (limited to 'app') diff --git a/app/index.php b/app/index.php index 8547671..177cb1b 100644 --- a/app/index.php +++ b/app/index.php @@ -42,6 +42,13 @@ function main(array $argv) : void return; } + /* no arguments? display dashboard */ + if (count($argv) == 0) + { + require "view/dashboard.php"; + return; + } + /* TODO */ echo "logged in"; } diff --git a/app/view/dashboard.php b/app/view/dashboard.php new file mode 100644 index 0000000..686eae9 --- /dev/null +++ b/app/view/dashboard.php @@ -0,0 +1,40 @@ + + + + + + + + + + + + + +
+
+ null
+ Welcome to the dashboard. There is no content yet.
+ Logout
+
+
+ + + + -- cgit v1.2.3