IA update: Add resource management section
This is the sixth commit for information architecture changes and has
the following changes:
- Resource management section has been added
- Carbon icon used for resource management section is data--base--alt
- Manage power usage page from operations has been moved to
resource management
- Manage power usage page has been updated to power page
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com>
Change-Id: If3feb994dbad19dd6cfb1507d976d09643c8e4d6
diff --git a/src/components/AppNavigation/AppNavigationMixin.js b/src/components/AppNavigation/AppNavigationMixin.js
index da8a59c..edeabc5 100644
--- a/src/components/AppNavigation/AppNavigationMixin.js
+++ b/src/components/AppNavigation/AppNavigationMixin.js
@@ -5,6 +5,7 @@
import IconSettings from '@carbon/icons-vue/es/settings/16';
import IconSecurity from '@carbon/icons-vue/es/security/16';
import IconChevronUp from '@carbon/icons-vue/es/chevron--up/16';
+import IconDataBase from '@carbon/icons-vue/es/data--base--alt/16';
const AppNavigationMixin = {
components: {
@@ -15,6 +16,7 @@
iconSettings: IconSettings,
iconSecurityAndAccess: IconSecurity,
iconExpand: IconChevronUp,
+ iconResourceManagement: IconDataBase,
},
data() {
return {
@@ -80,11 +82,6 @@
route: '/operations/firmware',
},
{
- id: 'manage-power-usage',
- label: this.$t('appNavigation.managePowerUsage'),
- route: '/operations/manage-power-usage',
- },
- {
id: 'reboot-bmc',
label: this.$t('appNavigation.rebootBmc'),
route: '/operations/reboot-bmc',
@@ -160,6 +157,18 @@
},
],
},
+ {
+ id: 'resource-management',
+ label: this.$t('appNavigation.resourceManagement'),
+ icon: 'iconResourceManagement',
+ children: [
+ {
+ id: 'power',
+ label: this.$t('appNavigation.power'),
+ route: '/resource-management/power',
+ },
+ ],
+ },
],
};
},