update hyper-v part
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
foreach ($clusters as $cluster) {
|
||||
echo "<div class='col-6'>";
|
||||
$nbvm = Invoke_Infra("select count(*) as nbvm, sum(memory) as vmmem from cmdb_vms where owner ='".$cluster['node']."' and decomtime is null");
|
||||
echo '<h3><span class="badge text-bg-secondary font-weight-bold" style="width:100%;">'.$cluster['node']." - ".$nbvm[0]['nbvm']." VMs</span></h3><br>";
|
||||
echo '<h3><span class="badge text-bg-secondary font-weight-bold" style="width:100%;">'.$cluster['node']." - ".$nbvm[0]['nbvm']." VMs <small><small> <i class='bi bi-clock'></i> ".$cluster['ts']."</small></small></span></h3><br>";
|
||||
#Memory
|
||||
echo "<div class='row'>";
|
||||
echo "<div class='col'>";
|
||||
@@ -156,7 +156,7 @@
|
||||
echo "<div class='col'>";
|
||||
echo '<span class="badge rounded-pill bg-secondary text-light">'.$vm['Memory'].'GB / '.$vm['CPU'].' CPU</span> ';
|
||||
if($vm['WWPNs'] != ""){
|
||||
echo '<span class="badge rounded-pill bg-primary text-light">iSCSI</span> ';
|
||||
echo '<span class="badge rounded-pill bg-primary text-light">LUN(s)</span> ';
|
||||
}
|
||||
#echo "</div>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user