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:
2026-03-31 11:33:57 +02:00
parent d5b45dbc22
commit 10c228f255
47 changed files with 950 additions and 702 deletions

View File

@@ -44,7 +44,7 @@
<!-- Display -->
<div class="col py-3">
<!-- Page Title -->
<h1><span class="badge text-bg-secondary font-weight-bold" style="width:100%;">SVA & SCU Accounts Attributes </span></h1><h6>Updated every hour</h6>
<h1><span class="badge text-bg-secondary font-weight-bold" style="width:100%;"><?php echo $ti_10 ;?> </span></h1>
<!-- Main content -->
<div class="container-fluid">
@@ -70,16 +70,16 @@
<table class='table table-bordered table-hover table-sm' id='t1' data-height="620" data-toggle="table" data-search="true" data-show-columns="true" data-export-types="['xlsx','csv','json']" data-show-export="true" data-sortable="true" data-sort-name="VM">
<thead> <!-- Header -->
<tr>
<th data-field='account' data-sortable='true'>Account</th>
<th data-field='Displayname' data-sortable='true'>Displayname</th>
<th data-field='account' data-sortable='true'><?php echo $w_account;?></th>
<th data-field='Displayname' data-sortable='true'><?php echo $w_name;?></th>
<th data-field='Uid' data-sortable='true'>Uid</th>
<th data-field='UidNumber' data-sortable='true'>UidNumber</th>
<th data-field='UidNumber' data-sortable='true'>Uid #</th>
<th data-field='Gecos' data-sortable='true'>Gecos</th>
<th data-field='UnixHD' data-sortable='true'>Unix Home Directory</th>
<th data-field='Login Shell' data-sortable='true'>Login Shell</th>
<th data-field='GID Number' data-sortable='true'>GID Number</th>
<th data-field='Enabled' data-sortable='true'>Enabled</th>
<th data-field='LastLogon' data-sortable='true'>Last Logon</th>
<th data-field='UnixHD' data-sortable='true'><?php echo $w_homeDirectory;?></th>
<th data-field='Login Shell' data-sortable='true'><?php echo $w_loginShell;?></th>
<th data-field='GID Number' data-sortable='true'>GID #</th>
<th data-field='Enabled' data-sortable='true'><?php echo $w_enabled;?></th>
<th data-field='LastLogon' data-sortable='true'><?php echo $w_lastLogon;?></th>
</tr>
</thead>