From eb15d76a4dab628823fca0a0872905b63b294654 Mon Sep 17 00:00:00 2001 From: A R R R Associates Date: Sun, 5 Jul 2026 21:33:32 +0530 Subject: [PATCH] Group employee portal tabs --- .../templates/employees/portal_dashboard.html | 69 +++++++++++-------- .../portal_partials/attendance_hub.html | 19 +++++ .../employees/portal_partials/hr_hub.html | 44 ++++++++++++ .../employees/portal_partials/work_hub.html | 22 ++++++ app/modules/employees/ui.py | 10 ++- 5 files changed, 134 insertions(+), 30 deletions(-) create mode 100644 app/modules/employees/templates/employees/portal_partials/attendance_hub.html create mode 100644 app/modules/employees/templates/employees/portal_partials/hr_hub.html create mode 100644 app/modules/employees/templates/employees/portal_partials/work_hub.html diff --git a/app/modules/employees/templates/employees/portal_dashboard.html b/app/modules/employees/templates/employees/portal_dashboard.html index a1105ab..ebb3b6a 100644 --- a/app/modules/employees/templates/employees/portal_dashboard.html +++ b/app/modules/employees/templates/employees/portal_dashboard.html @@ -7,7 +7,7 @@

My Workspace

Employee Portal

-

Punch attendance, view priority work, track documents, leave, payslips and alerts from one staff workspace.

+

Punch attendance, view priority work, track HR details, documents, payslips and alerts from one staff workspace.

{% if employee %} @@ -21,30 +21,21 @@
- {% set tabs = [ + {% set main_tabs = [ ('overview','Overview'), - ('work','My Work Board'), - ('due-today','Due Today'), - ('overdue','Overdue'), - ('client-pending','Client Pending'), - ('returned','Returned / Blocked'), - ('attendance','My Attendance'), - ('profile','My Profile'), - ('leave','My Leave'), - ('documents','My Documents'), - ('payslips','My Payslips'), - ('offboarding','My Offboarding'), - ('alerts','My Alert'), - ('reports','My Reports') + ('work','Work'), + ('attendance','Attendance'), + ('hr','HR & Profile'), + ('reports','Reports') ] %}
-
My Workspace
+
Employee Workspace
- {% for code, label in tabs %} - {% endfor %}
@@ -59,12 +50,35 @@