Change navigation structure
Change-Id: I12c819293ce1eda188dc9f257ae9370f1b73cb18
Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
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>↻</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>