diff options
author | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2020-02-19 19:07:40 +0300 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2020-02-22 00:28:30 +0300 |
commit | c11d38945b8a51e4181142c2b8852ffcb30338d9 (patch) | |
tree | 5c13c0b058214e273100bacb06232f7daff2f831 /src/router | |
parent | 4ee8d290a5d45ce93419c819a6e7544d3a009b99 (diff) | |
download | webui-vue-c11d38945b8a51e4181142c2b8852ffcb30338d9.tar.xz |
Add Reboot BMC page
Created a ControlStore with the intention to consolidate actions
across multiple subnav pages under the 'Control' tab, instead of
creating a dedicated RebootBmc store with one action.
- Update PageSection component to make sectionTitle prop optional
- Changed PageTitle computed property to data since the value
doesn't change during the component lifecycle
- Change PageSection <section> element to <div> to avoid
accessibility issues
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: I2877e2a7b9bfee245c48d52c70859978b74be7f3
Diffstat (limited to 'src/router')
-rw-r--r-- | src/router/index.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/router/index.js b/src/router/index.js index bec7f548..9a30e976 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -32,6 +32,14 @@ const routes = [ } }, { + path: '/control/reboot-bmc', + name: 'reboot-bmc', + component: () => import('@/views/Control/RebootBmc'), + meta: { + title: 'pageTitle.rebootBmc' + } + }, + { path: '/unauthorized', name: 'unauthorized', component: () => import('@/views/Unauthorized'), |