summaryrefslogtreecommitdiff
path: root/src/env/components
diff options
context:
space:
mode:
authorSandeepa Singh <sandeepa.singh@ibm.com>2021-07-28 12:55:14 +0300
committerDerick Montague <derick.montague@ibm.com>2021-08-10 22:20:42 +0300
commit6dba4be6125c10210bafa030ac17737d3a9b28b8 (patch)
tree5256287eacb4b4d599b38a104e44d88dfeb89ced /src/env/components
parentb440616c23b61166ae6d87839a70eec31bdca235 (diff)
downloadwebui-vue-6dba4be6125c10210bafa030ac17737d3a9b28b8.tar.xz
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
Diffstat (limited to 'src/env/components')
-rw-r--r--src/env/components/AppNavigation/ibm.js19
-rw-r--r--src/env/components/AppNavigation/intel.js19
2 files changed, 28 insertions, 10 deletions
diff --git a/src/env/components/AppNavigation/ibm.js b/src/env/components/AppNavigation/ibm.js
index cbf0db55..32f5c9f4 100644
--- a/src/env/components/AppNavigation/ibm.js
+++ b/src/env/components/AppNavigation/ibm.js
@@ -5,6 +5,7 @@ import IconSettingsAdjust from '@carbon/icons-vue/es/settings--adjust/16';
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 @@ const AppNavigationMixin = {
iconSettings: IconSettings,
iconSecurityAndAccess: IconSecurity,
iconExpand: IconChevronUp,
+ iconResourceManagement: IconDataBase,
},
data() {
return {
@@ -80,11 +82,6 @@ const AppNavigationMixin = {
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',
@@ -155,6 +152,18 @@ const AppNavigationMixin = {
},
],
},
+ {
+ id: 'resource-management',
+ label: this.$t('appNavigation.resourceManagement'),
+ icon: 'iconResourceManagement',
+ children: [
+ {
+ id: 'power',
+ label: this.$t('appNavigation.power'),
+ route: '/resource-management/power',
+ },
+ ],
+ },
],
};
},
diff --git a/src/env/components/AppNavigation/intel.js b/src/env/components/AppNavigation/intel.js
index a67828d9..a43c1ea4 100644
--- a/src/env/components/AppNavigation/intel.js
+++ b/src/env/components/AppNavigation/intel.js
@@ -5,6 +5,7 @@ import IconSettingsAdjust from '@carbon/icons-vue/es/settings--adjust/16';
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 @@ const AppNavigationMixin = {
iconSettings: IconSettings,
iconSecurityAndAccess: IconSecurity,
iconExpand: IconChevronUp,
+ iconResourceManagement: IconDataBase,
},
data() {
return {
@@ -70,11 +72,6 @@ const AppNavigationMixin = {
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',
@@ -140,6 +137,18 @@ const AppNavigationMixin = {
},
],
},
+ {
+ id: 'resource-management',
+ label: this.$t('appNavigation.resourceManagement'),
+ icon: 'iconResourceManagement',
+ children: [
+ {
+ id: 'power',
+ label: this.$t('appNavigation.power'),
+ route: '/resource-management/power',
+ },
+ ],
+ },
],
};
},