Separate guest and panel navigation and add account flyout

This commit is contained in:
SantaSpeen committed 2026-12-01 16:04:40 +03:00
1 parent 60b584b7c1
commit 5852bf1897
42 files changed
+1024 -55

No files matched your search

+1
View File
@@ -3,5 +3,6 @@
"name": "Anna Volkova",
"email": "anna@example.test",
"status": "active",
"panel": "admin",
"banReason": null
}
@@ -0,0 +1,9 @@
{
"title": "Безопасность",
"description": "Способы входа в аккаунт. Тестовые данные; изменение факторов входа в примере не выполняется.",
"rows": [
{ "label": "Пароль", "value": "Установлен" },
{ "label": "TOTP", "value": "Подключён" },
{ "label": "Passkey", "value": "Windows Hello" }
]
}
@@ -0,0 +1,11 @@
{
"title": "Устройства и сеансы",
"description": "Пример активных сеансов аккаунта.",
"rows": [
{ "label": "Windows · Edge", "value": "Текущий сеанс" },
{
"label": "Android · Chrome",
"value": "Последняя активность: сегодня, 09:30"
}
]
}
+43 -10
View File
@@ -1,13 +1,46 @@
{
"defaultPage": "overview",
"items": [
{ "id": "overview", "label": "Обзор", "icon": "dashboard" },
{ "id": "projects", "label": "Проекты", "icon": "applications" },
{
"id": "administration",
"label": "Администрирование",
"icon": "server",
"children": [{ "id": "logs", "label": "Логи", "icon": "document" }]
"panels": {
"user": {
"defaultPage": "overview",
"items": [
{
"id": "overview",
"label": "Обзор",
"icon": "dashboard"
},
{
"id": "projects",
"label": "Проекты",
"icon": "applications"
}
]
},
"admin": {
"defaultPage": "overview",
"items": [
{
"id": "overview",
"label": "Обзор",
"icon": "dashboard"
},
{
"id": "projects",
"label": "Проекты",
"icon": "applications"
},
{
"id": "administration",
"label": "Администрирование",
"icon": "server",
"children": [
{
"id": "logs",
"label": "Логи",
"icon": "document"
}
]
}
]
}
]
}
}