Reduce danger and warning windows:

Danger: 14 days
Warning: 30 days
This commit is contained in:
Matt Baer 2022-11-05 23:08:51 -05:00 committed by John R. Dennison
parent 1da2754bbf
commit 6345e42721

View File

@ -55,9 +55,9 @@ function get_cert_parameters(element, index, array) {
}
};
if (parsed.info.days_left <= 30 ){
if (parsed.info.days_left <= 14 ){
parsed.info.background_class = 'danger';
} else if (parsed.info.days_left > 30 && parsed.info.days_left <= 60 ) {
} else if (parsed.info.days_left <= 30 ) {
parsed.info.background_class = 'warning';
} else {
parsed.info.background_class = 'success';