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
diff --git a/src/locales/en.json b/src/locales/en.json
index db3a87b..2b6fa07 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -4,7 +4,10 @@
"validator": "Field required"
},
"on": "on",
- "off": "off"
+ "off": "off",
+ "actions": {
+ "confirm": "Confirm"
+ }
},
"ariaLabels": {
"showPassword": "Show password as plain text. Note: this will visually expose your password on the screen."
@@ -68,6 +71,19 @@
"localUserMgmt": "Local user management",
"login": "Login",
"overview": "Overview",
- "unauthorized": "Unauthorized"
+ "unauthorized": "Unauthorized",
+ "rebootBmc": "Reboot BMC"
+ },
+ "pageRebootBmc": {
+ "rebootInformation": "When you reboot the BMC, your web browser loses contact with the BMC for several minutes. When the BMC is back online, you may need to log in again.",
+ "rebootBmc": "Reboot BMC",
+ "modal": {
+ "confirmTitle": "Confirm BMC reboot",
+ "confirmMessage": "Are you sure you want to reboot the BMC?"
+ },
+ "toastMessages": {
+ "successRebootStart": "Rebooting BMC.",
+ "errorRebootStart": "Error rebooting BMC."
+ }
}
}
\ No newline at end of file