Remove test.php and enhance null safety and sorting across components
- Deleted `test.php` as it was no longer in use. - Enhanced null safety checks in `Inventory.php`, `StdOut-detail.php`, `Backups.php`, and `SwitchsSAN.php` to prevent potential warnings. - Refactored `SwitchsSAN.php` to improve sorting logic for ports based on errors, vFabric, and Port ID. - Added seasonal snow effect script in `all.php` with toggle functionality for user engagement. - Updated navigation bar (`navbar.html`) to include a new VIO page link. - Introduced a new `VIO.php` page to display VIO monitoring details with table export and sorting features.
This commit is contained in:
@@ -179,11 +179,11 @@
|
||||
|
||||
//LastBackup
|
||||
$lr = explode(".", $s['backuplast'] ?? "")[0];
|
||||
if(str_contains(strtolower($s['backuplog']), 'progress')){
|
||||
if(str_contains(strtolower($s['backuplog'] ?? ''), 'progress')){
|
||||
$size = "<span class='text-warning'>In Progress</span>";
|
||||
}elseif (str_contains(strtolower($s['backuplog']), 'waiting')){
|
||||
}elseif (str_contains(strtolower($s['backuplog'] ?? ''), 'waiting')){
|
||||
$size = "<span class='text-warning'><br>".$s['backuplog']."</span>";
|
||||
}elseif (str_contains(strtolower($s['backuplog']), 'error')){
|
||||
}elseif (str_contains(strtolower($s['backuplog'] ?? ''), 'error')){
|
||||
$size = "<span class='text-danger'><b> ERROR !!!</b></span>";
|
||||
}else {
|
||||
$size = 0;
|
||||
|
||||
Reference in New Issue
Block a user