From c4d70da69a3c86f8c07ccdb0f09b755dd99b2155 Mon Sep 17 00:00:00 2001 From: Maksim Zakharov Date: Tue, 24 May 2022 10:04:19 +0300 Subject: Add global popovers. Add pages: pci, adapters, raid, drivers, virtual drivers. Fix: analytical pannel, bmc-settings popovers. fix global styles --- src/components/AppNavigation/AppNavigation.vue | 2 +- src/components/AppNavigation/AppNavigationMixin.js | 173 ++++++++++----------- 2 files changed, 79 insertions(+), 96 deletions(-) (limited to 'src/components/AppNavigation') diff --git a/src/components/AppNavigation/AppNavigation.vue b/src/components/AppNavigation/AppNavigation.vue index 84b81ac6..1cdb7120 100644 --- a/src/components/AppNavigation/AppNavigation.vue +++ b/src/components/AppNavigation/AppNavigation.vue @@ -268,7 +268,7 @@ svg { top: $header-height; bottom: 0; left: 0; - z-index: $zindex-fixed; + z-index: 10; overflow-y: overlay; background-color: theme-color('light'); transform: translateX(-$navigation-width); diff --git a/src/components/AppNavigation/AppNavigationMixin.js b/src/components/AppNavigation/AppNavigationMixin.js index 7c981ec6..c58553a2 100644 --- a/src/components/AppNavigation/AppNavigationMixin.js +++ b/src/components/AppNavigation/AppNavigationMixin.js @@ -56,50 +56,33 @@ export const AppNavigationMixin = { }, ], }, - // { - // id: 'analytical-panel', - // label: this.$t('appNavigation.analyticalPanel'), - // route: '/', - // }, - // { - // id: 'RAID', - // label: this.$t('appNavigation.raidControllers'), - // icon: 'iconChevronUp', - // children: [ - // { - // id: 'overview-info', - // label: this.$t('appNavigation.specifications'), - // route: '/logs/event-logs', - // }, - // { - // id: 'post-code-logs', - // label: this.$t('appNavigation.settings'), - // route: '/logs/post-code-logs', - // }, - // { - // id: 'post-code-logs', - // label: this.$t('appNavigation.cachRaid'), - // route: '/logs/post-code-logs', - // }, - // ], - // }, - // { - // id: 'power-supplies', - // label: this.$t('appNavigation.powerSupplies'), - // icon: 'iconChevronUp', - // children: [ - // { - // id: 'overview-info', - // label: this.$t('appNavigation.specifications'), - // route: '/logs/event-logs', - // }, - // { - // id: 'post-code-logs', - // label: this.$t('appNavigation.analyticalPanel'), - // route: '/logs/post-code-logs', - // }, - // ], - // }, + { + id: 'analytical-panel', + label: this.$t('appNavigation.analyticalPanel'), + route: '/analytical-panel', + }, + { + id: 'RAID', + label: this.$t('appNavigation.raidControllers'), + icon: 'iconChevronUp', + children: [ + { + id: 'raid-specification', + label: this.$t('appNavigation.specification'), + route: '/raid-specification', + }, + { + id: 'raid-settings', + label: this.$t('appNavigation.settings'), + route: '/raid-settings', + }, + { + id: 'raid-cache', + label: this.$t('RAID.cache'), + route: '/raid-cache', + }, + ], + }, { id: 'processors', label: this.$t('appNavigation.processors'), @@ -168,6 +151,28 @@ export const AppNavigationMixin = { }, ], }, + { + id: 'physical-drives', + label: this.$t('appNavigation.physicalDrives'), + icon: 'iconChevronUp', + children: [ + { + id: 'drivers-static', + label: this.$t('appNavigation.statisticInformation'), + route: '/drivers-static', + }, + { + id: 'drivers', + label: this.$t('appNavigation.analyticalPanel'), + route: '/drivers', + }, + ], + }, + { + id: 'virtual-drivers', + label: this.$t('appNavigation.virtualDrivers'), + route: '/virtual-drivers', + }, { id: 'motherboard', label: this.$t('appNavigation.motherboard'), @@ -185,59 +190,37 @@ export const AppNavigationMixin = { }, ], }, - // { - // id: 'physical-drives', - // label: this.$t('appNavigation.physicalDrives'), - // icon: 'iconChevronUp', - // children: [ - // { - // id: 'overview-info', - // label: this.$t('appNavigation.specifications'), - // route: '/logs/event-logs', - // }, - // { - // id: 'post-code-logs', - // label: this.$t('appNavigation.analyticalPanel'), - // route: '/logs/post-code-logs', - // }, - // ], - // }, - // { - // id: 'virtual-drives', - // label: this.$t('appNavigation.virtualDrives'), - // route: '/', - // }, - // { - // id: 'network-adapters', - // label: this.$t('appNavigation.networkAdapters'), - // icon: 'iconChevronUp', - // children: [ - // { - // id: 'overview-info', - // label: this.$t('appNavigation.ethernetAdapters'), - // route: '/logs/event-logs', - // }, - // { - // id: 'post-code-logs', - // label: this.$t('appNavigation.fcHbaAdapters'), - // route: '/logs/post-code-logs', - // }, - // { - // id: 'post-code-logs', - // label: this.$t('appNavigation.analyticalPanel'), - // route: '/logs/post-code-logs', - // }, - // ], - // }, - // { - // id: 'pci-devises', - // label: this.$t('appNavigation.pciDevises'), - // route: '/', - // }, - //old tabs + { + id: 'network-adapters', + label: this.$t('appNavigation.networkAdapters'), + icon: 'iconChevronUp', + children: [ + { + id: 'network-adapters-ethernet', + label: this.$t('appNavigation.ethernetAdapters'), + route: '/network-adapters-ethernet', + }, + { + id: 'network-adapters-fc-hba', + label: this.$t('appNavigation.fcHbaAdapters'), + route: '/network-adapters-fc-hba', + }, + { + id: 'network-adapters-pannel', + label: this.$t('appNavigation.analyticalPanel'), + route: '/network-adapters-pannel', + }, + ], + }, + { + id: 'pci-devices', + label: this.$t('appNavigation.pciDevices'), + route: '/pci-devices', + }, + ///////////////////////////old tabs { id: 'overview', - label: 'Страницы BMC webui-vue', + label: 'Обзор', route: '/Info', }, { -- cgit v1.2.3