From 89776db8c01ecd66ac64e29c3403ae92fdd4af9b Mon Sep 17 00:00:00 2001 From: Dita Aji Pratama Date: Thu, 26 Sep 2024 12:18:14 +0700 Subject: [PATCH] Dashboard pages --- app/pages/dashboard/dashboard.html | 25 ++++++++++++++++++ app/pages/dashboard/roles.html | 42 ++++++++++++++++++++++++++++++ app/pages/dashboard/users.html | 31 ++++++++++++++++++++++ 3 files changed, 98 insertions(+) create mode 100644 app/pages/dashboard/dashboard.html create mode 100644 app/pages/dashboard/roles.html create mode 100644 app/pages/dashboard/users.html diff --git a/app/pages/dashboard/dashboard.html b/app/pages/dashboard/dashboard.html new file mode 100644 index 0000000..da8301c --- /dev/null +++ b/app/pages/dashboard/dashboard.html @@ -0,0 +1,25 @@ +

Here is Dashboard!

+ +% if 4 in user['profile']['roles']: + + +
+
+
+
+
+

Debug Section

+

Only tester that can see this section

+

+ Username: ${user['profile']['username']}
+ Email: ${user['profile']['email']}
+ Phone: ${user['profile']['phone']}
+ Roles: ${str(user['profile']['roles'])}
+

+
+
+
+
+
+ +% endif diff --git a/app/pages/dashboard/roles.html b/app/pages/dashboard/roles.html new file mode 100644 index 0000000..12db0ad --- /dev/null +++ b/app/pages/dashboard/roles.html @@ -0,0 +1,42 @@ +
+
+

Roles

+ +
+ + + + + + + + + + + + + + + + +
IDNameUsersAction
+ + + + + +
+
+ + + + + + + +
+ +
+ diff --git a/app/pages/dashboard/users.html b/app/pages/dashboard/users.html new file mode 100644 index 0000000..ab18912 --- /dev/null +++ b/app/pages/dashboard/users.html @@ -0,0 +1,31 @@ +
+
+

Users

+ +
+ + + + + + + + + + + + + +
IDUsernameEmailPhoneRolesVerificationAction
+
+ + + + + + + +
+ +
+