mirror of
https://github.com/andrey271192/amnezia_web-PRO.git
synced 2026-09-20 14:42:00 +00:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user