From fc82b38c1faf63967994a2443f06f780665911d1 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 19 May 2026 20:09:02 +0300 Subject: [PATCH] =?UTF-8?q?feat:=20add=20=D0=A2=D0=B8=D0=BF=20column=20to?= =?UTF-8?q?=20allEquipment=20table;=20compress=20=D0=92=D0=BB=D0=B0=D0=B4?= =?UTF-8?q?=D0=B5=D0=BB=D0=B5=D1=86=20on=20mobile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add Тип (equipment type) column between Кол-во and Владелец - allequip-table: table-layout fixed with explicit column widths - Владелец: 60px (compressed), Название gets remaining space Co-Authored-By: Claude Sonnet 4.6 --- frontend/index.html | 6 ++++-- frontend/styles.css | 28 ++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index 9393dac..bc7ff20 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -5,7 +5,7 @@ АСУ Инвентаризация - +
@@ -226,7 +226,7 @@
{{ status }}
- +
@@ -235,6 +235,7 @@ + @@ -246,6 +247,7 @@ + diff --git a/frontend/styles.css b/frontend/styles.css index d6688b0..33263e6 100644 --- a/frontend/styles.css +++ b/frontend/styles.css @@ -217,6 +217,34 @@ td.inv-col, th.inv-col { .byaud-table th:nth-child(7), .byaud-table td:nth-child(7) { width: 88px; } + /* allEquipment table: fixed layout */ + .allequip-table { + table-layout: fixed; + width: 100%; + } + /* № */ + .allequip-table th:nth-child(1), + .allequip-table td:nth-child(1) { width: 24px; } + /* Инв. номер */ + .allequip-table th:nth-child(2), + .allequip-table td:nth-child(2) { width: 58px; } + /* Название — remaining space */ + /* Аудитория */ + .allequip-table th:nth-child(4), + .allequip-table td:nth-child(4) { width: 52px; } + /* Расположение */ + .allequip-table th:nth-child(5), + .allequip-table td:nth-child(5) { width: 72px; } + /* Кол-во */ + .allequip-table th:nth-child(6), + .allequip-table td:nth-child(6) { width: 28px; } + /* Тип */ + .allequip-table th:nth-child(7), + .allequip-table td:nth-child(7) { width: 52px; } + /* Владелец — compressed */ + .allequip-table th:nth-child(8), + .allequip-table td:nth-child(8) { width: 60px; } + .owner-td select { width: 100% !important; max-width: 100%;
Аудитория Расположение Кол-воТип Владелец
{{ getAuditoryName(it.aud_id) }} {{ it.raspologenie ?? '' }} {{ it.kolichestvo ?? '' }}{{ it.type?.name ?? '' }} {{ it.owner?.name ?? '' }}