mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Certificates page and sidebar - Only show yellow on certificates 7 days (blanket, not just for LE)
This commit is contained in:
@@ -194,9 +194,9 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
||||
// Determine the class based on the number of days until expiry
|
||||
if ($days_until_expiry <= 0) {
|
||||
$tr_class = "table-secondary";
|
||||
} elseif ($days_until_expiry <= 14) {
|
||||
} elseif ($days_until_expiry <= 1) {
|
||||
$tr_class = "table-danger";
|
||||
} elseif ($days_until_expiry <= 90) {
|
||||
} elseif ($days_until_expiry <= 7) {
|
||||
$tr_class = "table-warning";
|
||||
} else {
|
||||
$tr_class = '';
|
||||
|
||||
Reference in New Issue
Block a user