From cead33cbfc5089c4c02a4148d13d6c9d53ebf1bd Mon Sep 17 00:00:00 2001 From: selvi Date: Tue, 29 Sep 2026 20:26:13 +0530 Subject: [PATCH] student dashboard responsive updated --- .../views/portal_exam_templates.xml | 52 +++- .../views/portal_lms_templates.xml | 87 ++++++ .../views/portal_payment_templates.xml | 12 +- .../views/portal_templates.xml | 274 ++++++++++++++---- .../views/portal_timetable_templates.xml | 92 +++++- fix_mr.py | 29 ++ 6 files changed, 471 insertions(+), 75 deletions(-) create mode 100644 fix_mr.py diff --git a/addons/education_exam/views/portal_exam_templates.xml b/addons/education_exam/views/portal_exam_templates.xml index 324735e..b904ad6 100644 --- a/addons/education_exam/views/portal_exam_templates.xml +++ b/addons/education_exam/views/portal_exam_templates.xml @@ -552,6 +552,20 @@ color: #144d4d; } + /* Footer */ + .portal-footer-area { + height: 60px; + background: #ffffff; + border-top: 1px solid rgba(31, 143, 143, 0.1); + display: flex; + align-items: center; + justify-content: space-between; + padding: 0 40px; + font-size: 0.9rem; + color: #718096; + font-weight: 600; + } + /* Responsive Design overrides */ @media (max-width: 991px) { .portal-layout-wrapper { @@ -603,10 +617,18 @@ margin: 0; width: auto; } + .portal-footer-area { + height: auto; + flex-direction: column; + justify-content: center; + gap: 8px; + padding: 16px 20px; + text-align: center; + } } @media (max-width: 575px) { .portal-header { - padding: 0 12px; + padding: 0 12px !important; height: 60px; } .portal-logo-area span { @@ -783,7 +805,7 @@
- Scheduled Exams + Scheduled Exams
@@ -821,10 +843,10 @@
-
- © 2026 Metatron EduPortal. All rights reserved. - Powered by Metatroncube -
+
@@ -917,7 +939,7 @@
- Published Results + Published Results
@@ -961,10 +983,10 @@
-
- © 2026 Metatron EduPortal. All rights reserved. - Powered by Metatroncube -
+
@@ -1143,10 +1165,10 @@
-
- © 2026 Metatron EduPortal. All rights reserved. - Powered by Metatroncube -
+ diff --git a/addons/education_lms/views/portal_lms_templates.xml b/addons/education_lms/views/portal_lms_templates.xml index e84d288..074d825 100644 --- a/addons/education_lms/views/portal_lms_templates.xml +++ b/addons/education_lms/views/portal_lms_templates.xml @@ -243,6 +243,87 @@ width: 100%; height: 100%; } + + /* Footer */ + .portal-footer-area { + height: 60px; + background: #ffffff; + border-top: 1px solid rgba(31, 143, 143, 0.1); + display: flex; + align-items: center; + justify-content: space-between; + padding: 0 40px; + font-size: 0.9rem; + color: #718096; + font-weight: 600; + } + + /* Responsive */ + @media (max-width: 991px) { + .portal-layout-wrapper { + flex-direction: column; + } + .portal-sidebar { + width: 100% !important; + border-right: none !important; + border-bottom: 1px solid rgba(31, 143, 143, 0.1); + padding: 16px 20px; + flex-direction: row; + flex-wrap: wrap; + justify-content: center; + gap: 8px; + position: static !important; + max-height: none !important; + } + .sidebar-link { + padding: 10px 16px; + } + .portal-content-area { + padding: 24px !important; + height: auto !important; + min-height: auto !important; + overflow: visible !important; + } + } + @media (max-width: 767px) { + .portal-header { + padding: 0 20px; + } + .portal-sidebar { + padding: 12px 8px; + gap: 4px; + } + .sidebar-link { + padding: 8px 12px; + font-size: 0.85rem; + gap: 8px; + } + .sidebar-link span { + display: none; + } + .sidebar-link i { + font-size: 1.3rem; + margin: 0; + width: auto; + } + .portal-footer-area { + height: auto; + flex-direction: column; + justify-content: center; + gap: 8px; + padding: 16px 20px; + text-align: center; + } + } + @media (max-width: 575px) { + .portal-header { + padding: 0 12px !important; + height: 60px; + } + .portal-logo-area span { + display: none; + } + } @@ -300,6 +381,12 @@
+ + + diff --git a/addons/education_portal/views/portal_payment_templates.xml b/addons/education_portal/views/portal_payment_templates.xml index 1ae9d5a..926905c 100644 --- a/addons/education_portal/views/portal_payment_templates.xml +++ b/addons/education_portal/views/portal_payment_templates.xml @@ -1,4 +1,4 @@ - +