show the summary data first and then get the detail data
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8362 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
e993843471
commit
a454667d63
@ -226,6 +226,16 @@ function loadRmcMonShow(){
|
||||
showRmcSummary(data.rsp[0]);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function showRmcSummary(returnData){
|
||||
var attributes = returnData.split(';');
|
||||
var attr;
|
||||
var attrName;
|
||||
var attrValues;
|
||||
var attrDiv;
|
||||
var summaryTable = $('<table><tbody></tbody></table>');
|
||||
var summaryRow;
|
||||
|
||||
//load each nodes' status
|
||||
$.ajax({
|
||||
@ -242,18 +252,8 @@ function loadRmcMonShow(){
|
||||
parseRmcData(data.rsp);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function showRmcSummary(returnData){
|
||||
var attributes = returnData.split(';');
|
||||
var attr;
|
||||
var attrName;
|
||||
var attrValues;
|
||||
var attrDiv;
|
||||
var summaryTable = $('<table><tbody></tbody></table>');
|
||||
var summaryRow;
|
||||
|
||||
|
||||
//show the summary data
|
||||
$('#rmcmonSummary').empty().append('<h3>Overview</h3><hr />');
|
||||
$('#rmcmonSummary').append(summaryTable);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user