diff options
| author | CamVan Nguyen <ctnguyen@us.ibm.com> | 2018-04-11 19:37:27 -0500 |
|---|---|---|
| committer | Gunnar Mills <gmills@us.ibm.com> | 2018-04-13 14:09:32 +0000 |
| commit | b028b4c200a8865e1cd166015640a6356aa7078c (patch) | |
| tree | 6429e2433738f443c553d3794b3d03ca71407540 /app/server-control | |
| parent | 0838260889ed23acd5a02052450e0f87645e327f (diff) | |
| download | phosphor-webui-b028b4c200a8865e1cd166015640a6356aa7078c.tar.gz phosphor-webui-b028b4c200a8865e1cd166015640a6356aa7078c.zip | |
Do not display the 'Last power operation' time
The 'Last power operation' time is incorrect. The time shown is
the last refresh time instead of the last time a power operation
was performed. We need to implement a REST call and back-end
support to get the correct time of the last power operation.
Change-Id: Ic81edf22bd3450b2558b66b7f911634122f86da0
Signed-off-by: CamVan Nguyen <ctnguyen@us.ibm.com>
Diffstat (limited to 'app/server-control')
| -rw-r--r-- | app/server-control/controllers/power-operations-controller.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/server-control/controllers/power-operations-controller.html b/app/server-control/controllers/power-operations-controller.html index 660330e..f0de309 100644 --- a/app/server-control/controllers/power-operations-controller.html +++ b/app/server-control/controllers/power-operations-controller.html @@ -4,7 +4,11 @@ <h1>Server power operations</h1> <div class="power__current-status page-header"> <h2 class="inline h4">Current status</h2> + <!-- TODO: openbmc/openbmc#2957 display correct last power + operation time, need REST call. + <div class="power__status-log inline float-right">Last power operation at <span class="courier-bold">{{dataService.last_updated |date:'h:mm:ss on MMM dd yyyy'}}</span></div> + --> </div> </div> <div class="row column"> |

