From 1cf3181f22de97979697295adee6f629433a6516 Mon Sep 17 00:00:00 2001 From: Sarani Date: Sun, 28 Apr 2024 12:10:36 +0530 Subject: [PATCH 1/4] guide-controller --- app/controllers/Complaints.php | 3 +-- app/controllers/{myBookings.php => MyBookings.php} | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) rename app/controllers/{myBookings.php => MyBookings.php} (89%) diff --git a/app/controllers/Complaints.php b/app/controllers/Complaints.php index 862f9f5..e090641 100644 --- a/app/controllers/Complaints.php +++ b/app/controllers/Complaints.php @@ -10,8 +10,7 @@ public function index(){ $this->view('rental/complaints'); }elseif (UserMiddleware::getUser()['role']=='customer') { $this->view('customer/complaints'); - } - elseif(UserMiddleware::getUser()['role']=='guide'){ + }elseif(UserMiddleware::getUser()['role']=='guide'){ $this->view('guide/complaints'); } diff --git a/app/controllers/myBookings.php b/app/controllers/MyBookings.php similarity index 89% rename from app/controllers/myBookings.php rename to app/controllers/MyBookings.php index 862fd68..3e83189 100644 --- a/app/controllers/myBookings.php +++ b/app/controllers/MyBookings.php @@ -1,6 +1,6 @@ view('customer/myBookings'); From b77320d43bd703554a3c02a2cdb6f72df8104cbe Mon Sep 17 00:00:00 2001 From: Sarani Date: Sun, 28 Apr 2024 14:01:22 +0530 Subject: [PATCH 2/4] buttons-changed --- app/views/customer/profile.view.php | 66 ++++++++++++++++------------- 1 file changed, 37 insertions(+), 29 deletions(-) diff --git a/app/views/customer/profile.view.php b/app/views/customer/profile.view.php index 90fa493..6526182 100755 --- a/app/views/customer/profile.view.php +++ b/app/views/customer/profile.view.php @@ -7,18 +7,18 @@
-
+
customer-bg-image
-
-
+
+
Image
-

Hello name?>!

+

Hello name?>!

email ?>

@@ -32,12 +32,12 @@

nic ?>

- +
-
-
+
+

Recent Booking

@@ -68,34 +68,42 @@
-
+

Usage

-
-
-

Equipment Booking

-
-
-

11

-
+ -
-
-

Guide Booking

-
-
-

02

-
+ -
-
-

Complaints

-
-
-

00

-
+
From 5bddf47c7fb53e5976b8d9a52d8e2a2a16bacf34 Mon Sep 17 00:00:00 2001 From: Sarani Date: Sun, 28 Apr 2024 14:04:31 +0530 Subject: [PATCH 3/4] login-signup-bg --- app/views/login.view.php | 3 +++ app/views/signup.view.php | 3 +++ 2 files changed, 6 insertions(+) diff --git a/app/views/login.view.php b/app/views/login.view.php index 6edf712..b25a5a9 100755 --- a/app/views/login.view.php +++ b/app/views/login.view.php @@ -4,6 +4,9 @@ ?>