From 7affc529b7fba41193c4d48764707e9961cdd22d Mon Sep 17 00:00:00 2001 From: Sandeepa Singh Date: Tue, 6 Jul 2021 16:29:10 +0530 Subject: IA update: Update health section This is the second update to information architecture changes and has the following changes: - Health section is updated to hardware status section - Hardware status page is updated to inventory and LEDs page - Route for sensors page has been updated Signed-off-by: Sandeepa Singh Change-Id: Ia1ba3a15a243a00f59a2ec646132436eb355a999 --- src/env/components/AppNavigation/ibm.js | 22 +++++++++++----------- src/env/components/AppNavigation/intel.js | 12 ++++++------ src/env/router/ibm.js | 24 ++++++++++++------------ src/env/router/intel.js | 14 +++++++------- 4 files changed, 36 insertions(+), 36 deletions(-) (limited to 'src/env') diff --git a/src/env/components/AppNavigation/ibm.js b/src/env/components/AppNavigation/ibm.js index 8792ccc8..0128d749 100644 --- a/src/env/components/AppNavigation/ibm.js +++ b/src/env/components/AppNavigation/ibm.js @@ -40,27 +40,27 @@ const AppNavigationMixin = { label: this.$t('appNavigation.eventLogs'), route: '/logs/event-logs', }, + { + id: 'post-code-logs', + label: this.$t('appNavigation.postCodeLogs'), + route: '/logs/post-code-logs', + }, ], }, { - id: 'health', - label: this.$t('appNavigation.health'), + id: 'hardware-status', + label: this.$t('appNavigation.hardwareStatus'), icon: 'iconHealth', children: [ { - id: 'hardware-status', - label: this.$t('appNavigation.hardwareStatus'), - route: '/health/hardware-status', - }, - { - id: 'post-code-logs', - label: this.$t('appNavigation.postCodeLogs'), - route: '/health/post-code-logs', + id: 'inventory', + label: this.$t('appNavigation.inventory'), + route: '/hardware-status/inventory', }, { id: 'sensors', label: this.$t('appNavigation.sensors'), - route: '/health/sensors', + route: '/hardware-status/sensors', }, ], }, diff --git a/src/env/components/AppNavigation/intel.js b/src/env/components/AppNavigation/intel.js index 9c3591f5..68557c1b 100644 --- a/src/env/components/AppNavigation/intel.js +++ b/src/env/components/AppNavigation/intel.js @@ -38,19 +38,19 @@ const AppNavigationMixin = { ], }, { - id: 'health', - label: this.$t('appNavigation.health'), + id: 'hardware-status', + label: this.$t('appNavigation.hardwareStatus'), icon: 'iconHealth', children: [ { - id: 'hardware-status', - label: this.$t('appNavigation.hardwareStatus'), - route: '/health/hardware-status', + id: 'inventory', + label: this.$t('appNavigation.inventory'), + route: '/hardware-status/inventory', }, { id: 'sensors', label: this.$t('appNavigation.sensors'), - route: '/health/sensors', + route: '/hardware-status/sensors', }, ], }, diff --git a/src/env/router/ibm.js b/src/env/router/ibm.js index 8b94cf78..208cd976 100644 --- a/src/env/router/ibm.js +++ b/src/env/router/ibm.js @@ -6,7 +6,7 @@ import DateTimeSettings from '@/views/Configuration/DateTimeSettings'; import EventLogs from '@/views/Logs/EventLogs'; import FactoryReset from '@/views/Control/FactoryReset'; import Firmware from '@/views/Configuration/Firmware'; -import HardwareStatus from '@/views/Health/HardwareStatus'; +import Inventory from '@/views/HardwareStatus/Inventory'; import Ldap from '@/views/AccessControl/Ldap'; import LocalUserManagement from '@/views/AccessControl/LocalUserManagement'; import Login from '@/views/Login'; @@ -15,12 +15,12 @@ import ManagePowerUsage from '@/views/Control/ManagePowerUsage'; import NetworkSettings from '@/views/Configuration/NetworkSettings'; import Overview from '@/views/Overview'; import PageNotFound from '@/views/PageNotFound'; -import PostCodeLogs from '@/views/Health/PostCodeLogs'; +import PostCodeLogs from '@/views/Logs/PostCodeLogs'; import PowerRestorePolicy from '@/views/Control/PowerRestorePolicy'; import ProfileSettings from '@/views/ProfileSettings'; import RebootBmc from '@/views/Control/RebootBmc'; import SecuritySettings from '@/views/Configuration/SecuritySettings'; -import Sensors from '@/views/Health/Sensors'; +import Sensors from '@/views/HardwareStatus/Sensors'; import SerialOverLan from '@/views/Control/SerialOverLan'; import SerialOverLanConsole from '@/views/Control/SerialOverLan/SerialOverLanConsole'; import ServerLed from '@/views/Control/ServerLed'; @@ -112,23 +112,23 @@ const routes = [ }, }, { - path: '/health/hardware-status', - name: 'hardware-status', - component: HardwareStatus, + path: '/logs/post-code-logs', + name: 'post-code-logs', + component: PostCodeLogs, meta: { - title: i18n.t('appPageTitle.hardwareStatus'), + title: i18n.t('appPageTitle.postCodeLogs'), }, }, { - path: '/health/post-code-logs', - name: 'post-code-logs', - component: PostCodeLogs, + path: '/hardware-status/inventory', + name: 'inventory', + component: Inventory, meta: { - title: i18n.t('appPageTitle.postCodeLogs'), + title: i18n.t('appPageTitle.inventory'), }, }, { - path: '/health/sensors', + path: '/hardware-status/sensors', name: 'sensors', component: Sensors, meta: { diff --git a/src/env/router/intel.js b/src/env/router/intel.js index 3e3349d0..53ae5d44 100644 --- a/src/env/router/intel.js +++ b/src/env/router/intel.js @@ -5,7 +5,7 @@ import ConsoleLayout from '@/layouts/ConsoleLayout.vue'; import DateTimeSettings from '@/views/Configuration/DateTimeSettings'; import EventLogs from '@/views/Logs/EventLogs'; import Firmware from '@/views/Configuration/Firmware'; -import HardwareStatus from '@/views/Health/HardwareStatus'; +import Inventory from '@/views/HardwareStatus/Inventory'; import Kvm from '@/views/Control/Kvm'; import KvmConsole from '@/views/Control/Kvm/KvmConsole'; import LocalUserManagement from '@/views/AccessControl/LocalUserManagement'; @@ -18,7 +18,7 @@ import PageNotFound from '@/views/PageNotFound'; import ProfileSettings from '@/views/ProfileSettings'; import RebootBmc from '@/views/Control/RebootBmc'; import SecuritySettings from '@/views/Configuration/SecuritySettings'; -import Sensors from '@/views/Health/Sensors'; +import Sensors from '@/views/HardwareStatus/Sensors'; import SerialOverLan from '@/views/Control/SerialOverLan'; import SerialOverLanConsole from '@/views/Control/SerialOverLan/SerialOverLanConsole'; import ServerLed from '@/views/Control/ServerLed'; @@ -108,15 +108,15 @@ const routes = [ }, }, { - path: '/health/hardware-status', - name: 'hardware-status', - component: HardwareStatus, + path: '/hardware-status/inventory', + name: 'inventory', + component: Inventory, meta: { - title: i18n.t('appPageTitle.hardwareStatus'), + title: i18n.t('appPageTitle.Inventory'), }, }, { - path: '/health/sensors', + path: '/hardware-status/sensors', name: 'sensors', component: Sensors, meta: { -- cgit v1.2.3