diff --git a/internal/server/web/static/app.css b/internal/server/web/static/app.css index efade99..3a37dc7 100644 --- a/internal/server/web/static/app.css +++ b/internal/server/web/static/app.css @@ -67,6 +67,10 @@ button:hover, .btn:hover { background: var(--accent-hover); text-decoration: non table { width: 100%; border-collapse: collapse; } th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); font-size: 14px; } th { color: var(--muted); font-weight: 500; } +.nowrap { white-space: nowrap; } +/* Row buttons stay on one line; the column is only as wide as they need. */ +td.actions { width: 1%; white-space: nowrap; } +td.actions .row { flex-wrap: nowrap; justify-content: flex-end; } .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; } .dot.on { background: var(--ok); } .dot.off { background: #555d6a; } diff --git a/internal/server/web/templates/dashboard.html b/internal/server/web/templates/dashboard.html index cb2d9a9..b8af8b9 100644 --- a/internal/server/web/templates/dashboard.html +++ b/internal/server/web/templates/dashboard.html @@ -26,12 +26,12 @@ {{range .Agents}} - {{if .Online}}online{{else}}offline{{end}} + {{if .Online}}online{{else}}offline{{end}} {{.Name}} {{.Hostname}} - {{.OS}}/{{.Arch}} - {{.Seen}} - + {{.OS}}/{{.Arch}} + {{.Seen}} +
Терминал Файлы