feat: Машины - column names centred over their values

This commit is contained in:
redtea committed 2026-10-16 11:58:33 +03:00
1 parent 8bbb2b0ccb
commit 9337bd26b0
2 files changed
+7 -1

No files matched your search

+6
View File
@@ -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; }
}
+1 -1
View File
@@ -3,7 +3,7 @@
<h1>Машины-клиенты</h1>
<div class="card">
{{if .Agents}}
<table class="stack">
<table class="stack machines">
<thead><tr><th>Статус</th><th>Имя</th><th>Hostname</th><th>ОС / Арх</th><th>Активность</th><th>Действия</th></tr></thead>
<tbody>
{{range .Agents}}