Summary Files Commits Branches @commit @diff @stats
path: root / src / views
diff options
context:
space:
mode:
Commit68808a388a61c7a778494739fe0150651a09ea66 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-04-03 09:58:18 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-04-03 09:58:18 +0300
Files4109cb4b55ee11efd94563acb5e06bffee3ccbfd /src/views
devrix-job-board-68808a388a61c7a778494739fe0150651a09ea66.tar
devrix-job-board-68808a388a61c7a778494739fe0150651a09ea66.tar.gz
devrix-job-board-68808a388a61c7a778494739fe0150651a09ea66.zip
Parent56a5223e14f798e2c875c4347faecc4e2e9730fc (diff)
Implemented a simple login page for (admin) dashboard and skeleton of dashboard controller and view
2 files changed, 13 insertions, 0 deletions
-rw-r--r--src/views/dashboard-login.php12
-rw-r--r--src/views/dashboard.php1
diff --git a/src/views/dashboard-login.php b/src/views/dashboard-login.php
new file mode 100644
index 0000000..1431b4f
--- /dev/null
+++ b/src/views/dashboard-login.php
@@ -0,0 +1,12 @@
+<form method="post">
+ <label for="username">Username: </label>
+ <input type="text" name="username">
+ <br>
+ <label for="password">Password</label>
+ <input type="password" name="password">
+ <br>
+ <input type="submit" value="Login">
+</form>
+<?php
+ echo self::$message;
+?>
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 @@
+<p>Dashboard works!</p>