Do not display the 'BMC last reboot' time
The 'BMC last reboot' time is incorrect. The time shown is the
last refresh time instead of the last BMC reboot time. We need to
implement a REST call to get the real last reboot time from uptime.
Change-Id: I4d0f609f4350563a1809ae119f12727ebd0bf1b1
Signed-off-by: CamVan Nguyen <ctnguyen@us.ibm.com>
diff --git a/app/server-control/controllers/bmc-reboot-controller.html b/app/server-control/controllers/bmc-reboot-controller.html
index 0468a8f..0d89a6c 100644
--- a/app/server-control/controllers/bmc-reboot-controller.html
+++ b/app/server-control/controllers/bmc-reboot-controller.html
@@ -3,6 +3,10 @@
<h1>Reboot BMC</h1>
</div>
+
+ <!-- TODO: openbmc/openbmc#2956 display correct BMC last reboot time,
+ need REST call.
+
<div class="row column">
<div class="page-header">
<p class="inline h4">Current BMC boot status</p>
@@ -10,6 +14,7 @@
<span class="courier-bold">{{dataService.last_updated |date:'h:mm:ss on MMM dd yyyy'}}</span></div>
</div>
</div>
+ -->
<div class="row column">
<div class="bmc-reboot-option" ng-class="{disabled: dataService.server_unreachable || dataService.loading, transitionAll: confirm}">
<p>When you reboot the BMC, your web browser loses contact with the BMC for several minutes. When the BMC is back online, you must log in again. If the Log In button is not available when the BMC is brought back online, close your web browser. Then, reopen the web browser and enter your BMC IP address.</p>