summaryrefslogtreecommitdiff
path: root/src/components/AppNavigation/AppNavigationMixin.js
diff options
context:
space:
mode:
authorMaksim Zakharov <m.zakharov@IBS.RU>2022-05-24 10:04:19 +0300
committerMaksim Zakharov <m.zakharov@IBS.RU>2022-05-24 10:04:19 +0300
commitc4d70da69a3c86f8c07ccdb0f09b755dd99b2155 (patch)
treefb8579325d609699395e9550eaa803222a321fd6 /src/components/AppNavigation/AppNavigationMixin.js
parent6facd12596ec8b55bab4be04b473de65e1f22018 (diff)
downloadwebui-vue-c4d70da69a3c86f8c07ccdb0f09b755dd99b2155.tar.xz
Add global popovers. Add pages: pci, adapters, raid, drivers, virtual drivers. Fix: analytical pannel, bmc-settings popovers. fix global styles
Diffstat (limited to 'src/components/AppNavigation/AppNavigationMixin.js')
-rw-r--r--src/components/AppNavigation/AppNavigationMixin.js173
1 files changed, 78 insertions, 95 deletions
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'),
@@ -169,6 +152,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'),
icon: 'iconChevronUp',
@@ -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',
},
{