bmc-reboot: add template page
Change-Id: I01f6e87e4c171de21d82b2b8b32184ce65822a99
Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/bmc-reboot.html b/src/bmc-reboot.html
index fa323c5..61427eb 100644
--- a/src/bmc-reboot.html
+++ b/src/bmc-reboot.html
@@ -1,4 +1,17 @@
-<div class="row column">
- <h1>BMC Reboot</h1>
- <p>BMC Reboot will be here.</p>
+<div id="bmc-reboot">
+ <div class="row column">
+ <h1>Reboot BMC</h1>
+ </div>
+
+ <div class="row column">
+ <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">
+
+ <div class="row column btm-border-grey bmc-reboot-option" ng-class="{disabled: confirm && !bmcreboot_confirm, transitionAll: confirm && bmcreboot_confirm}">
+ <button id="bmc__reboot" class="btn-secondary" ng-click="bmcrebootConfirm()" role="button">Reboot BMC</button>
+ <confirm title="Reboot BMC" message="perform an orderly shutdown" confirm="bmcreboot_confirm" callback="bmcReboot"></confirm>
+ </div>
+ </div>
</div>
\ No newline at end of file