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