mirror of
https://github.com/newnius/YAO-portal.git
synced 2025-12-15 09:36:43 +00:00
update UI, add pool status
This commit is contained in:
@@ -72,8 +72,8 @@ function resourceResponseHandler(res) {
|
||||
$.each(res["resources"], function (i, node) {
|
||||
var item = {
|
||||
'host': node.host,
|
||||
'CPU': '-',
|
||||
'MEM': '-',
|
||||
'CPU': node.cpu_num,
|
||||
'MEM': node.mem_available + ' / ' + node.mem_total + ' (GB)',
|
||||
'GPU': node.status.length,
|
||||
'status': node.status
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user