diff --git a/code/web/www/pages/requires/functions.php b/code/web/www/pages/requires/functions.php index b1326f6..256f20d 100755 --- a/code/web/www/pages/requires/functions.php +++ b/code/web/www/pages/requires/functions.php @@ -217,11 +217,16 @@ class API_Gen_HTML '.$qemu->cluster.' - '.$qemu->node.' - - - ExternalProxmoxLink - '.$qemu->name.' + + '.$qemu->node.' + + ExternalProxmoxLink + + + '.$qemu->name.' + + ExternalProxmoxLink + '.$qemu->type.' '.$qemu->vmid.' '.formatBytes(round($qemu->maxmem)).' @@ -309,16 +314,19 @@ class API_Gen_HTML $eligibility = eligibility($ram_use_percent, $ram_alloc_percent, $cpu_alloc_percent, $disk_use_percent, $disk_alloc_percent, $load_percent); - + if (in_array($node->node, $row_non_grata)) { - $grata = ' Nongrataimg'; + //$grata = ' Nongrataimg'; $eligibility = round($eligibility + $non_grata_weight); } + /* else{ $grata = ' Nongrataimg'; } - - + */ + + $grata = ""; + $html = $html.' @@ -412,7 +420,10 @@ class API_Gen_HTML $html = $html.' - '.$sto->node.' ExternalProxmoxLink + + '.$sto->node.' + + ExternalProxmoxLink '.$sto->storage.' '.formatBytes($sto->total).' '.formatBytes($sto->totalallocdisk).' ('.$disk_alloc_percent.'%)