Add dedicated Bans page (bans.html) with active IP bans table, unban and refresh; nav item for admins; settings card kept

This commit is contained in:
dev
2026-09-12 00:53:35 +03:00
parent 19b0c855a9
commit 7dd816cfce
3 changed files with 99 additions and 0 deletions
+1
View File
@@ -60,6 +60,7 @@ function buildSidebar(active) {
{ page: 'users', label: 'Пользователи', icon: 'user-cog' },
{ page: 'worker', label: 'Воркер ИИ', icon: 'bot' },
{ page: 'audit', label: 'Аудит', icon: 'scroll-text' },
{ page: 'bans', label: 'Блокировки', icon: 'shield-off' },
{ page: 'settings', label: 'Настройки', icon: 'settings' },
];
const nav = [...base, ...(isAdmin() ? adminNav : [])];