Certificates page and sidebar - Only show yellow on certificates 7 days (blanket, not just for LE)

This commit is contained in:
wrongecho
2025-03-27 12:27:08 +00:00
parent 63b8804e2d
commit ae1a0dcc73
2 changed files with 5 additions and 5 deletions

View File

@@ -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 = '';