summaryrefslogtreecommitdiffstats
path: root/app/configuration/controllers/date-time-controller.html
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2018-07-18 13:01:48 -0500
committerGunnar Mills <gmills@us.ibm.com>2018-09-05 15:33:02 -0500
commit7de38662b1bcc24a3d2c597430952ff091cd2c21 (patch)
tree13cea4b07027e268cff95b91deefc9ee0a5026db /app/configuration/controllers/date-time-controller.html
parentd089e0016bb4bc89e84ce7bad779bb90a65eaef8 (diff)
downloadphosphor-webui-7de38662b1bcc24a3d2c597430952ff091cd2c21.tar.gz
phosphor-webui-7de38662b1bcc24a3d2c597430952ff091cd2c21.zip
Create "Date and time settings" page
There was a Date and time page in the GUI. Enhanced it to display the BMC time and added it to the menu so users could navigate to it. Future things planned for this page: Setting the time, time mode, and time owner. Adding a NTP server. More information can be found in the time manager README: https://github.com/openbmc/phosphor-time-manager/blob/master/README.md Tested: See the BMC time. Change-Id: Ia3ac2385cb45ec8009ed6df0899c3410fe18ef64 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'app/configuration/controllers/date-time-controller.html')
-rw-r--r--app/configuration/controllers/date-time-controller.html22
1 files changed, 18 insertions, 4 deletions
diff --git a/app/configuration/controllers/date-time-controller.html b/app/configuration/controllers/date-time-controller.html
index cd760b4..33fc953 100644
--- a/app/configuration/controllers/date-time-controller.html
+++ b/app/configuration/controllers/date-time-controller.html
@@ -1,5 +1,19 @@
+<loader loading="loading"></loader>
<div id="configuration-date-time">
- <div class="row column">
- <h1>Date time</h1>
- </div>
-</div> \ No newline at end of file
+ <div class="row column">
+ <h1>Date time settings</h1>
+ </div>
+ <div class="page-header">
+ <h2 class="bold h4">Time information</h2>
+ </div>
+ <fieldset>
+ <div class="column large-8">
+ <ul class="date-time__metadata-wrapper">
+ <li class="date-time__metadata-block">
+ <p class="content-label">BMC Time</p>
+ <p class="courier-bold">{{bmc_time | date:'medium'}}</p>
+ </li>
+ </ul>
+ </div>
+ </fieldset>
+</div>
OpenPOWER on IntegriCloud