diff options
author | MichalX Szopinski <michalx.szopinski@intel.com> | 2021-03-16 22:25:35 +0300 |
---|---|---|
committer | MichalX Szopinski <michalx.szopinski@intel.com> | 2021-03-16 22:25:35 +0300 |
commit | 0beb0f98cf738ce0c9697c53d607719167546b2c (patch) | |
tree | df2fddad5d1ae59e51d4469777c7cdbc2e0e18ae /src/env | |
parent | 7006806d21cf8d13666524a8124b8395f2f1e156 (diff) | |
download | webui-vue-0beb0f98cf738ce0c9697c53d607719167546b2c.tar.xz |
Show Security settings tab on Intel environment
According to Intel requirements we should add tab which allows user to enable and disable IPMI and SSH.
Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com>
Change-Id: I60cb6009665861258aa70d5061f5bae042d95abc
Diffstat (limited to 'src/env')
-rw-r--r-- | src/env/components/AppNavigation/intel.js | 5 | ||||
-rw-r--r-- | src/env/router/intel.js | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/src/env/components/AppNavigation/intel.js b/src/env/components/AppNavigation/intel.js index 7b758506..7144487b 100644 --- a/src/env/components/AppNavigation/intel.js +++ b/src/env/components/AppNavigation/intel.js @@ -107,6 +107,11 @@ const AppNavigationMixin = { label: this.$t('appNavigation.networkSettings'), route: '/configuration/network-settings', }, + { + id: 'security-settings', + label: this.$t('appNavigation.securitySettings'), + route: '/configuration/security-settings', + }, ], }, { diff --git a/src/env/router/intel.js b/src/env/router/intel.js index cc84e50d..53f6154e 100644 --- a/src/env/router/intel.js +++ b/src/env/router/intel.js @@ -17,6 +17,7 @@ import Overview from '@/views/Overview'; 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 SerialOverLan from '@/views/Control/SerialOverLan'; import SerialOverLanConsole from '@/views/Control/SerialOverLan/SerialOverLanConsole'; @@ -187,6 +188,14 @@ const routes = [ }, }, { + path: '/configuration/security-settings', + name: 'security-settings', + component: SecuritySettings, + meta: { + title: i18n.t('appPageTitle.securitySettings'), + }, + }, + { path: '/control/reboot-bmc', name: 'reboot-bmc', component: RebootBmc, |