git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13255 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
af998fbf28
commit
26e70ec83c
@ -194,11 +194,19 @@ zvmPlugin.prototype.loadServiceInventory = function(data) {
|
||||
var tabId = args[0].replace('out=', '');
|
||||
// Get node
|
||||
var node = args[1].replace('node=', '');
|
||||
// Get node inventory
|
||||
var inv = data.rsp[0].split(node + ':');
|
||||
|
||||
|
||||
// Remove loader
|
||||
$('#' + tabId).find('img').remove();
|
||||
|
||||
// Do not continue if error is found
|
||||
if (data.rsp[0].indexOf('Error') > -1) {
|
||||
var warn = createWarnBar(data.rsp[0]);
|
||||
$('#' + tabId).append(warn);
|
||||
return;
|
||||
}
|
||||
|
||||
// Get node inventory
|
||||
var inv = data.rsp[0].split(node + ':');
|
||||
|
||||
// Create array of property keys
|
||||
var keys = new Array('userId', 'host', 'os', 'arch', 'hcp', 'priv', 'memory', 'proc', 'disk', 'nic');
|
||||
@ -900,11 +908,19 @@ zvmPlugin.prototype.loadInventory = function(data) {
|
||||
var tabId = args[0].replace('out=', '');
|
||||
// Get node
|
||||
var node = args[1].replace('node=', '');
|
||||
// Get node inventory
|
||||
var inv = data.rsp[0].split(node + ':');
|
||||
|
||||
|
||||
// Remove loader
|
||||
$('#' + tabId).find('img').remove();
|
||||
|
||||
// Do not continue if error is found
|
||||
if (data.rsp[0].indexOf('Error') > -1) {
|
||||
var warn = createWarnBar(data.rsp[0]);
|
||||
$('#' + tabId).append(warn);
|
||||
return;
|
||||
}
|
||||
|
||||
// Get node inventory
|
||||
var inv = data.rsp[0].split(node + ':');
|
||||
|
||||
// Create status bar
|
||||
var statBarId = node + 'StatusBar';
|
||||
@ -979,7 +995,7 @@ zvmPlugin.prototype.loadInventory = function(data) {
|
||||
});
|
||||
|
||||
// Align toggle link to the right
|
||||
var toggleLnkDiv = $('<div class="toggle"></div>').css( {
|
||||
var toggleLnkDiv = $('<div class="toggle"></div>').css({
|
||||
'text-align' : 'right'
|
||||
});
|
||||
toggleLnkDiv.append(toggleLink);
|
||||
|
Loading…
Reference in New Issue
Block a user