From 57e75e3614a4626285ae812d143dce1dfc0d70b9 Mon Sep 17 00:00:00 2001 From: Alex Inkin Date: Mon, 30 Dec 2024 20:07:44 +0400 Subject: [PATCH] feat: implement top navigation (#2805) * feat: implement top navigation * chore: fix order --- .../src/components/menu/menu.component.html | 15 +- .../components/menu/menu.component.module.ts | 2 + .../store-icon/store-icon.component.ts | 1 + .../list/categories/categories.component.ts | 10 +- web/projects/ui/src/app/app.component.scss | 1 - .../components/header/breadcrumb.component.ts | 93 ---------- .../components/header/connection.component.ts | 95 ---------- .../components/header/corner.component.ts | 80 -------- .../components/header/header.component.ts | 174 +++++++---------- .../components/header/home.component.ts | 46 ----- .../components/header/menu.component.ts | 121 ++++++------ .../components/header/mobile.component.ts | 32 +--- .../components/header/navigation.component.ts | 175 ++++++++++++++++++ .../components/header/status.component.ts | 55 ++++++ .../portal/components/tabs.component.ts | 8 +- .../src/app/routes/portal/portal.component.ts | 2 +- .../ui/src/app/routes/portal/portal.routes.ts | 11 +- .../components/health-check.component.ts | 20 +- .../dashboard/controls.component.ts | 2 +- .../dashboard/dashboard.component.ts | 45 +---- .../dashboard/service.component.ts | 6 +- .../dashboard/services.service.ts | 0 .../dashboard/status.component.ts | 4 +- .../{ => service}/dashboard/ui.component.ts | 0 .../routes/service/routes/outlet.component.ts | 2 +- .../portal/routes/service/service.module.ts | 5 +- .../backups/components/physical.component.ts | 5 +- .../backups/components/targets.component.ts | 6 +- .../backups/components/upcoming.component.ts | 5 +- .../backups/modals/history.component.ts | 7 +- .../system/backups/modals/jobs.component.ts | 7 +- .../backups/services/restore.service.ts | 2 +- .../components/controls.component.ts | 2 +- .../system/notifications/table.component.ts | 12 +- .../routes/proxies/table.component.ts | 6 +- .../routes/sessions/table.component.ts | 5 +- .../settings/routes/ssh/table.component.ts | 11 +- .../system/sideload/package.component.ts | 2 +- .../ui/src/app/services/status.service.ts | 61 ++++++ .../ui/src/app/utils/system-utilities.ts | 30 +-- .../ui/src/app/utils/to-router-link.ts | 2 +- web/projects/ui/src/styles.scss | 4 - 42 files changed, 535 insertions(+), 637 deletions(-) delete mode 100644 web/projects/ui/src/app/routes/portal/components/header/breadcrumb.component.ts delete mode 100644 web/projects/ui/src/app/routes/portal/components/header/connection.component.ts delete mode 100644 web/projects/ui/src/app/routes/portal/components/header/corner.component.ts delete mode 100644 web/projects/ui/src/app/routes/portal/components/header/home.component.ts create mode 100644 web/projects/ui/src/app/routes/portal/components/header/navigation.component.ts create mode 100644 web/projects/ui/src/app/routes/portal/components/header/status.component.ts rename web/projects/ui/src/app/routes/portal/routes/{ => service}/dashboard/controls.component.ts (96%) rename web/projects/ui/src/app/routes/portal/routes/{ => service}/dashboard/dashboard.component.ts (68%) rename web/projects/ui/src/app/routes/portal/routes/{ => service}/dashboard/service.component.ts (92%) rename web/projects/ui/src/app/routes/portal/routes/{ => service}/dashboard/services.service.ts (100%) rename web/projects/ui/src/app/routes/portal/routes/{ => service}/dashboard/status.component.ts (95%) rename web/projects/ui/src/app/routes/portal/routes/{ => service}/dashboard/ui.component.ts (100%) create mode 100644 web/projects/ui/src/app/services/status.service.ts diff --git a/web/projects/marketplace/src/components/menu/menu.component.html b/web/projects/marketplace/src/components/menu/menu.component.html index 964551a85..2964329e3 100644 --- a/web/projects/marketplace/src/components/menu/menu.component.html +++ b/web/projects/marketplace/src/components/menu/menu.component.html @@ -1,13 +1,13 @@
-

+

{{ registry?.info?.name || 'Unnamed Registry' }}

@@ -31,19 +31,18 @@

>