diff --git a/xCAT-UI/js/custom/hmc.js b/xCAT-UI/js/custom/hmc.js index 192df8f4e..32457ba0b 100644 --- a/xCAT-UI/js/custom/hmc.js +++ b/xCAT-UI/js/custom/hmc.js @@ -1439,8 +1439,8 @@ function powerInitUpdateDefinition(operType) { iconClass = 'ui-icon-gear'; } - var showStr = '
Discover ' + hmcArray.length + ' hmcs.
'); + } // Create the HMC and MTMs pair string for (var i in hmcArray) { @@ -1548,11 +1553,12 @@ function lsslpWriteHMC() { args : '-s;HMC;-w', msg : '' }, - success : function() { + success : function(data) { $('#hmcLine2 img').remove(); var tempSpan = $('#hmcLine2').find('span'); tempSpan.removeClass('ui-icon-gear'); tempSpan.addClass('ui-icon-check'); + $('#returninfo div').append('Add the discovered hmc into xCAT Database.
' + data.rsp[0] +'
Write the discovered FRAMES into xCAT Database.
' + data.rsp.join("\n") + ''); frameSetup(); } }); @@ -1604,11 +1611,12 @@ function frameSetup() { msg : '' }, - success : function() { + success : function(data) { $('#frameLine2 img').remove(); var tempSpan = $('#frameLine2').find('span'); tempSpan.removeClass('ui-icon-gear'); tempSpan.addClass('ui-icon-check'); + $('#returninfo div').append('
' + data.rsp.join("\n") + ''); frameReset(); } }); @@ -1629,11 +1637,12 @@ function frameReset(){ msg : '' }, - success : function() { + success : function(data) { $('#frameLine3 img').remove(); var tempSpan = $('#frameLine3').find('span'); tempSpan.removeClass('ui-icon-gear'); tempSpan.addClass('ui-icon-check'); + $('#returninfo div').append('
Reset network on FRAMES to get persistent IP.
' + data.rsp.join("\n") + ''); frameHwconn(); } }); @@ -1656,11 +1665,12 @@ function frameHwconn(){ msg : '' }, - success : function() { + success : function(data) { $('#frameLine4 img').remove(); var tempSpan = $('#frameLine4').find('span'); tempSpan.removeClass('ui-icon-gear'); tempSpan.addClass('ui-icon-check'); + $('#returninfo div').append('
' + data.rsp.join("\n") + ''); lsslpWriteCec(); } }); @@ -1680,11 +1690,12 @@ function lsslpWriteCec() { args : '-s;CEC;-w', msg : '' }, - success : function() { + success : function(data) { $('#cecLine img').remove(); var tempSpan = $('#cecLine').find('span'); tempSpan.removeClass('ui-icon-gear'); tempSpan.addClass('ui-icon-check'); + $('#returninfo div').append('Discover and write CECs into xCAT Database.
' + data.rsp.join("\n") + ''); cecsetup(); } }); @@ -1706,11 +1717,12 @@ function cecsetup(){ args : 'cecsetup;' + tempargs + ';1', msg : '' }, - success : function() { + success : function(data) { $('#cecLine2 img').remove(); var tempSpan = $('#cecLine2').find('span'); tempSpan.removeClass('ui-icon-gear'); tempSpan.addClass('ui-icon-check'); + $('#returninfo div').append('' + data.rsp.join("\n") + ''); cecReset(); } }); @@ -1731,11 +1743,12 @@ function cecReset(){ msg : '' }, - success : function() { + success : function(data) { $('#cecLine3 img').remove(); var tempSpan = $('#cecLine3').find('span'); tempSpan.removeClass('ui-icon-gear'); tempSpan.addClass('ui-icon-check'); + $('#returninfo div').append('Reset network on CECs to get persistent IP.
' + data.rsp.join("\n") + ''); cecHwconn(); } }); @@ -1757,11 +1770,12 @@ function cecHwconn(){ args : 'cecsetup;' + tempargs + ';2', msg : '' }, - success : function() { + success : function(data) { $('#cecLine4 img').remove(); var tempSpan = $('#cecLine4').find('span'); tempSpan.removeClass('ui-icon-gear'); tempSpan.addClass('ui-icon-check'); + $('#returninfo div').append('' + data.rsp.join("\n") + ''); createDiscoverButtons(); } }); diff --git a/xCAT-UI/js/ui.js b/xCAT-UI/js/ui.js index b1e059f86..24224666a 100644 --- a/xCAT-UI/js/ui.js +++ b/xCAT-UI/js/ui.js @@ -311,7 +311,9 @@ function createStatusBar(barId) { 'margin-bottom': '5px', 'min-height': '30px', 'background-color':'#7BBEDE', - 'color': '#FFFFFF' + 'color': '#FFFFFF', + 'max-height': '150px', + 'overflow': 'auto' }); // Create info icon