From 5e47d9617b9be3cdf3aa28e753edcfc65ea56844 Mon Sep 17 00:00:00 2001 From: Kiran Biradar Date: Mon, 12 Aug 2024 12:16:00 +0530 Subject: [PATCH 1/4] removed header and footer from login page --- public/assets/css/login.css | 5 +++++ public/login.php | 4 ---- public/register.php | 4 ---- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/public/assets/css/login.css b/public/assets/css/login.css index c41a897..600e77b 100644 --- a/public/assets/css/login.css +++ b/public/assets/css/login.css @@ -6,6 +6,11 @@ body { font-family: Arial, sans-serif; margin: 0; padding: 0; + width: 100vw; + height: 100vh; + display: flex; + justify-content: center; + align-items: center; } /* Center content and set max width */ diff --git a/public/login.php b/public/login.php index c32d18c..2a41f57 100644 --- a/public/login.php +++ b/public/login.php @@ -17,9 +17,6 @@ exit(); } } - -// Include the header -include('../src/templates/header.php'); ?> @@ -48,6 +45,5 @@ - diff --git a/public/register.php b/public/register.php index 0929856..9dfd802 100644 --- a/public/register.php +++ b/public/register.php @@ -17,9 +17,6 @@ exit(); } } - -// Include the header -include('../src/templates/header.php'); ?> @@ -60,6 +57,5 @@ - From f73d0f836fc124dd829b91e242d7e7f29e4a9857 Mon Sep 17 00:00:00 2001 From: Kiran Biradar Date: Mon, 12 Aug 2024 13:30:08 +0530 Subject: [PATCH 2/4] Update admin-d.css --- public/assets/css/admin-d.css | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/public/assets/css/admin-d.css b/public/assets/css/admin-d.css index 16bcf59..3043eb4 100644 --- a/public/assets/css/admin-d.css +++ b/public/assets/css/admin-d.css @@ -12,13 +12,16 @@ body { /* Left Sidebar */ .sidebar-left { - width: 25%; - background-color: #333; - color: #fff; + width: 20%; + background-color: #f2f2f2; + color: black; padding: 20px; - position: fixed; + position: sticky; + top: 70px; height: 100%; overflow-y: auto; + border-radius: 20px; + margin: 10px; } .sidebar-left .profile { @@ -39,6 +42,8 @@ body { .sidebar-left nav ul { list-style: none; padding: 0; + display: flex; + flex-direction: column !important; } .sidebar-left nav ul li { @@ -46,7 +51,7 @@ body { } .sidebar-left nav ul li a { - color: #fff; + color: black; text-decoration: none; font-size: 18px; } @@ -57,7 +62,6 @@ body { /* Main Content Section */ .main-content { - margin-left: 25%; width: 75%; padding: 20px; } @@ -73,11 +77,10 @@ body { .dashboard-overview { display: flex; justify-content: space-between; - flex-wrap: wrap; } .overview-card { - width: 23%; + width: 20%; background-color: #007bff; color: #fff; padding: 20px; From 39ca90b810a7198f89a7b603d417a49db6bbf9cc Mon Sep 17 00:00:00 2001 From: Kiran Biradar <122156052+Kiran-Biradar@users.noreply.github.com> Date: Mon, 12 Aug 2024 13:41:26 +0530 Subject: [PATCH 3/4] Update login.php --- public/login.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/login.php b/public/login.php index 2a41f57..44497fe 100644 --- a/public/login.php +++ b/public/login.php @@ -17,6 +17,9 @@ exit(); } } + +// Include the header +include('../src/templates/header.php'); ?> @@ -45,5 +48,6 @@ + From 9daaaf504b9a6b12e936d86f29735a2168c23610 Mon Sep 17 00:00:00 2001 From: Kiran Biradar <122156052+Kiran-Biradar@users.noreply.github.com> Date: Mon, 12 Aug 2024 13:42:09 +0530 Subject: [PATCH 4/4] Update register.php --- public/register.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/register.php b/public/register.php index 9dfd802..bc43361 100644 --- a/public/register.php +++ b/public/register.php @@ -17,6 +17,9 @@ exit(); } } + +// Include the header +include('../src/templates/header.php'); ?> @@ -57,5 +60,6 @@ +