Update VM and DHCP management pages, optimize code
- Modified VM queries in `SYN-VMList.php` to remove unnecessary cluster filtering. - Adjusted page titles for better context in `SYN-VMList.php`. - Updated `dhcp_servers.php` with enhanced table export and added new JavaScript (`switch.js`). - Extended French translations in `fr.php` with new VM-related terms. - Enhanced KPI calculations in `Crossover-KPI.js` with improved checks and parameter handling. - Refactored and streamlined `GlobalCrossover.php` for cleaner and more efficient code, improving readability and maintainability.
This commit is contained in:
@@ -40,7 +40,7 @@ $serversData = Invoke_Entry01("SELECT Server,TS FROM dump_dhcp where ts ='$ts' o
|
||||
<h1><span class="badge text-bg-secondary w-100"><?php echo count($serversData); ?> DHCP <?php echo $w_server; ?></span></h1>
|
||||
|
||||
<div class="container mt-4">
|
||||
<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">
|
||||
<table class='table table-bordered table-hover table-sm' id='t1' data-toggle="table" data-search="true" data-show-columns="true" data-export-types="['xlsx','csv','json']" data-show-export="true" data-sortable="true">
|
||||
<thead class="table-light">
|
||||
<tr>
|
||||
<th data-field="Server" data-sortable="true"><?php echo $w_server; ?></th>
|
||||
@@ -66,4 +66,5 @@ $serversData = Invoke_Entry01("SELECT Server,TS FROM dump_dhcp where ts ='$ts' o
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<script src="/js/switch.js"></script>
|
||||
</html>
|
||||
Reference in New Issue
Block a user