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:
@@ -52,7 +52,7 @@
|
||||
<!-- Display -->
|
||||
<div class="col py-3">
|
||||
<!-- Page Title -->
|
||||
<h1><span class="badge text-bg-secondary font-weight-bold" style="width:100%;">Cluster Resources <small><small>(Hyper-V excluded)</small></small></span></h1>
|
||||
<h1><span class="badge text-bg-secondary font-weight-bold" style="width:100%;"><?php echo $ti_18; ?></span></h1>
|
||||
|
||||
<!-- Main content -->
|
||||
<div class="container-fluid">
|
||||
@@ -78,11 +78,11 @@
|
||||
<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="Server" data-sortable="true">Cluster</th>
|
||||
<th data-field="Folder" data-sortable="true">Resource</th>
|
||||
<th data-field="ACL" data-sortable="true">Owner Node</th>
|
||||
<th data-field="AD" data-sortable="true">State</th>
|
||||
<th data-field="Enabled" data-sortable="true">Last Checked</th>
|
||||
<th data-field="Server" data-sortable="true"><?php echo $w_cluster; ?></th>
|
||||
<th data-field="Folder" data-sortable="true"><?php echo $w_resource; ?></th>
|
||||
<th data-field="ACL" data-sortable="true"><?php echo $w_owner; ?></th>
|
||||
<th data-field="AD" data-sortable="true"><?php echo $w_state; ?></th>
|
||||
<th data-field="Enabled" data-sortable="true">Date</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user