From 0674bd49e6430af2d5817acee3c97551f1882e3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=B3=D0=BE=D1=80=D1=8C=20=D0=9D=D0=B0=D0=B4=D0=B5?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Tue, 2 Sep 2025 12:33:33 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BC=D0=B5=D0=BB=D0=BA=D0=B0=D1=8F=20=D0=B4?= =?UTF-8?q?=D0=BE=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=BA=D0=B0=20=D1=88=D0=B0?= =?UTF-8?q?=D0=B1=D0=BB=D0=BE=D0=BD=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/employees/employee_detail.html | 39 ++++- .../templates/employees/employees_list.html | 160 ++++++++++++------ .../employees/test_department_head_rights.py | 35 +++- 3 files changed, 178 insertions(+), 56 deletions(-) diff --git a/backend/templates/employees/employee_detail.html b/backend/templates/employees/employee_detail.html index a6669e5e..ab99aafa 100644 --- a/backend/templates/employees/employee_detail.html +++ b/backend/templates/employees/employee_detail.html @@ -563,7 +563,7 @@
{% if can_edit %} -
+
@@ -712,6 +712,43 @@ document.addEventListener('DOMContentLoaded', () => { }); }); + + {% endblock %} diff --git a/backend/templates/employees/employees_list.html b/backend/templates/employees/employees_list.html index 1e84991d..5bc7ad13 100644 --- a/backend/templates/employees/employees_list.html +++ b/backend/templates/employees/employees_list.html @@ -31,18 +31,88 @@ } .ios-search-input:not(:placeholder-shown) ~ .ios-search-clear{ display:block; } .feed-header { gap:.6rem; flex-wrap:wrap; } - - .alpha-header{ - position:sticky; top:calc(var(--navbar-h,0px) + 6px); - z-index:1; background: color-mix(in srgb, var(--bs-body-bg) 92%, transparent); - padding:.25rem .5rem; margin:.75rem 0 .25rem; - font-weight:800; letter-spacing:.02em; border-radius:10px; width:max-content; - } - .alpha-dot{ display:inline-block; width:.4rem; height:.4rem; border-radius:50%; background:var(--bs-primary); margin-right:.4rem; } - - .feed-card.emp-row .feed-ava{ width:56px; height:56px; } - .badge-dept{ background:var(--bs-secondary-bg); color:var(--bs-body-color); border:1px solid var(--bs-border-color); } + + + + {% endblock %} {% block content %} @@ -65,7 +135,7 @@