summaryrefslogtreecommitdiffstats
path: root/app/server-control/controllers/bmc-reboot-controller.html
diff options
context:
space:
mode:
authorIftekharul Islam <iislam@us.ibm.com>2017-04-19 14:37:55 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-09-20 12:41:34 -0500
commitcd78950815d9b230f0eaa41a947fcae6d4cbbcb7 (patch)
tree3bad52ea935ec87f7fd7da424f5b959f2e4c4c29 /app/server-control/controllers/bmc-reboot-controller.html
parent994a93b29ddbae647f2cb1aae6ec94e8a26db88c (diff)
downloadphosphor-webui-cd78950815d9b230f0eaa41a947fcae6d4cbbcb7.tar.gz
phosphor-webui-cd78950815d9b230f0eaa41a947fcae6d4cbbcb7.zip
Change navigation structure
Change-Id: I12c819293ce1eda188dc9f257ae9370f1b73cb18 Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
Diffstat (limited to 'app/server-control/controllers/bmc-reboot-controller.html')
-rw-r--r--app/server-control/controllers/bmc-reboot-controller.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/app/server-control/controllers/bmc-reboot-controller.html b/app/server-control/controllers/bmc-reboot-controller.html
new file mode 100644
index 0000000..50fca7f
--- /dev/null
+++ b/app/server-control/controllers/bmc-reboot-controller.html
@@ -0,0 +1,27 @@
+<div id="bmc-reboot">
+ <div class="row column">
+ <h1>Reboot BMC</h1>
+ </div>
+
+ <div class="row column btm-border-grey">
+ <span class="bmc-reboot__status-log inline">BMC last reboot at {{dataService.last_updated |date:'h:mm:ss on MM/dd/yyyy'}}</span>
+ </div>
+
+ <div class="row column btm-border-grey bmc-reboot-option"
+ ng-class="{disabled: dataService.server_unreachable || dataService.loading, transitionAll: confirm}">
+ <ul>
+ <li>Rebooting the BMC causes your browser to lose contact with the BMC for several minutes.</li>
+ <li>When the BMC software has started, you can then log in again.</li>
+ <li>If the Log In button is not enabled after several minutes, you may need to point your browser to the
+ BMC’s address and log in again.
+ </li>
+ </ul>
+ <button id="bmc__reboot" class="btn-secondary" ng-click="rebootConfirm()" ng-disabled="dataService.server_unreachable"><i>&#x21BB</i> Reboot BMC
+ </button>
+ <confirm title="Reboot the BMC"
+ message="Rebooting the BMC causes your browser to lose contact with the BMC for several minutes."
+ confirm="confirm"
+ ng-show="confirm"
+ callback="reboot"></confirm>
+ </div>
+</div>
OpenPOWER on IntegriCloud