From 9337bd26b0fc7ab0d39d4e0c0020747c6acf45ec Mon Sep 17 00:00:00 2001 From: iRedTea Date: Fri, 16 Oct 2026 11:58:33 +0300 Subject: [PATCH] =?UTF-8?q?feat:=20=D0=9C=D0=B0=D1=88=D0=B8=D0=BD=D1=8B=20?= =?UTF-8?q?-=20column=20names=20centred=20over=20their=20values?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/server/web/static/app.css | 6 ++++++ internal/server/web/templates/dashboard.html | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/internal/server/web/static/app.css b/internal/server/web/static/app.css index 0e6e216..b28dcb1 100644 --- a/internal/server/web/static/app.css +++ b/internal/server/web/static/app.css @@ -1055,3 +1055,9 @@ body.no-motion *, body.no-motion *::before, body.no-motion *::after, body.no-mot .btn.close.x { flex:none; aspect-ratio:1; min-width:0; } .ai-head .ai-close { width:32px; height:32px; } .addmenu .ico .dot { display:inline-block; vertical-align:middle; } +/* Машины: each column's name over the middle of its values (on a computer; + a phone lays the rows out as blocks). */ +@media (min-width: 641px) { + table.machines th, table.machines td { text-align:center; } + table.machines td.actions .row { justify-content:center; } +} diff --git a/internal/server/web/templates/dashboard.html b/internal/server/web/templates/dashboard.html index 97e182f..db4825a 100644 --- a/internal/server/web/templates/dashboard.html +++ b/internal/server/web/templates/dashboard.html @@ -3,7 +3,7 @@

Машины-клиенты

{{if .Agents}} - +
{{range .Agents}}
СтатусИмяHostnameОС / АрхАктивностьДействия