mirror of
https://github.com/newnius/YAO-portal.git
synced 2025-06-07 07:31:56 +00:00
update
This commit is contained in:
parent
0fa136bb3b
commit
bca2c854ab
@ -186,6 +186,12 @@ function load_jobs(scope) {
|
|||||||
valign: 'middle',
|
valign: 'middle',
|
||||||
formatter: statusFormatter,
|
formatter: statusFormatter,
|
||||||
visible: true
|
visible: true
|
||||||
|
}, {
|
||||||
|
field: 'base_priority',
|
||||||
|
title: 'BasePriority',
|
||||||
|
align: 'center',
|
||||||
|
valign: 'middle',
|
||||||
|
visible: false
|
||||||
}, {
|
}, {
|
||||||
field: 'operate',
|
field: 'operate',
|
||||||
title: 'Operate',
|
title: 'Operate',
|
||||||
|
@ -71,6 +71,7 @@ function resourceResponseHandler(res) {
|
|||||||
tmp["rows"] = [];
|
tmp["rows"] = [];
|
||||||
$.each(res["resources"], function (i, node) {
|
$.each(res["resources"], function (i, node) {
|
||||||
var item = {
|
var item = {
|
||||||
|
'id': node.id,
|
||||||
'host': node.host,
|
'host': node.host,
|
||||||
'CPU': node.cpu_num,
|
'CPU': node.cpu_num,
|
||||||
'MEM': node.mem_available + ' / ' + node.mem_total + ' (GB)',
|
'MEM': node.mem_available + ' / ' + node.mem_total + ' (GB)',
|
||||||
|
Loading…
Reference in New Issue
Block a user