fix(ui): collapsible panels with arrow + tighter clients table

Use details/summary for WARP, cascade, users; fix broken users markup.
Fold long last_config hints; fixed table columns; widen shell max width.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Андрей Бобырев
2026-05-14 20:11:45 +03:00
parent 8f1d7a7c4a
commit 47842a4047
4 changed files with 256 additions and 65 deletions

View File

@@ -551,11 +551,17 @@ function renderRows(clients) {
);
nameWrap.append(strong, renameWrap);
if (!c.exportAvailable) {
const hintFold = document.createElement("details");
hintFold.className = "hint-mini";
const sum = document.createElement("summary");
sum.textContent = "Нет готового .conf на сервере (last_config)";
hintFold.appendChild(sum);
const exHint = document.createElement("p");
exHint.className = "muted export-missing-hint";
exHint.textContent =
"Конфиг с сервера недоступен (нет last_config). Создайте клиента с нужным Endpoint в блоке «Новый клиент под каскад» ниже или возьмите ключ из приложения Amnezia.";
nameWrap.appendChild(exHint);
hintFold.appendChild(exHint);
nameWrap.appendChild(hintFold);
}
nameTd.appendChild(nameWrap);