Reduce danger and warning windows:
Danger: 14 days Warning: 30 days
This commit is contained in:
parent
1da2754bbf
commit
6345e42721
@ -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';
|
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';
|
parsed.info.background_class = 'warning';
|
||||||
} else {
|
} else {
|
||||||
parsed.info.background_class = 'success';
|
parsed.info.background_class = 'success';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user