diff options
| author | miramurali23 <miramurali23@gmail.com> | 2019-08-15 16:22:06 -0400 |
|---|---|---|
| committer | miramurali23 <miramurali23@gmail.com> | 2019-09-10 09:52:46 -0500 |
| commit | 219738d2a11dc89f0f259fe99626802c18e6d3a8 (patch) | |
| tree | 94805ca1badf7a8476cc4fb2593c406bef438bff /app/common/styles | |
| parent | bb45d021233a5b7311629201819e0b63b6b691c5 (diff) | |
| download | phosphor-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/common/styles')
| -rw-r--r-- | app/common/styles/elements/alerts.scss | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/common/styles/elements/alerts.scss b/app/common/styles/elements/alerts.scss index 433db6d..fe1082e 100644 --- a/app/common/styles/elements/alerts.scss +++ b/app/common/styles/elements/alerts.scss @@ -12,6 +12,9 @@ border-radius: 0; color: $primary-dark; text-align: left; + .icon { + vertical-align: bottom; + } } .message-container { @@ -55,4 +58,4 @@ background-image: url(../assets/images/icon-warning.svg); } } -}
\ No newline at end of file +} |

