summaryrefslogtreecommitdiffstats
path: root/app/configuration/styles
diff options
context:
space:
mode:
authormiramurali23 <miramurali23@gmail.com>2019-08-15 16:22:06 -0400
committermiramurali23 <miramurali23@gmail.com>2019-09-10 09:52:46 -0500
commit219738d2a11dc89f0f259fe99626802c18e6d3a8 (patch)
tree94805ca1badf7a8476cc4fb2593c406bef438bff /app/configuration/styles
parentbb45d021233a5b7311629201819e0b63b6b691c5 (diff)
downloadphosphor-webui-219738d2a11dc89f0f259fe99626802c18e6d3a8.tar.gz
phosphor-webui-219738d2a11dc89f0f259fe99626802c18e6d3a8.zip
Fix missing expiring/expired icons and warnning messages in certificate table
- Confirmed with backend developer that we should be checking certificate expiration date with bmc date/time set - Converted both certificate expiration date and bmc date/time to EPOCH time to fix the bug Tested: Go to Date and Time settings and change BMC time to be after or 30 days before a certificate expiration date. Then either a warning or expiration icon and message will be displayed next to the date and message on top of the table. To remove the expiration or warning date, upload a certificate that has an expiration date greater than 30 days after bmc time set. The icon and warning message should now disappear. Signed-off-by: Mira Murali <miramurali23@gmail.com> Change-Id: I9389fe3cce5a555945adf9c56180897a6be047bf
Diffstat (limited to 'app/configuration/styles')
-rw-r--r--app/configuration/styles/certificate.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/configuration/styles/certificate.scss b/app/configuration/styles/certificate.scss
index 650465f..0eaa7c0 100644
--- a/app/configuration/styles/certificate.scss
+++ b/app/configuration/styles/certificate.scss
@@ -115,6 +115,10 @@
bottom: 1rem;
left: 2rem;
}
+.certificate__table__icon {
+ margin-left: 1.5em;
+ margin-bottom: .4em;
+}
.add__certificate__modal {
select {
OpenPOWER on IntegriCloud