diff --git a/xCAT-UI/js/nodes/physical.js b/xCAT-UI/js/nodes/physical.js index 35170a6c5..7869a73e5 100644 --- a/xCAT-UI/js/nodes/physical.js +++ b/xCAT-UI/js/nodes/physical.js @@ -706,7 +706,8 @@ function statusMap(status){ case 'ready': case 'pbs': case 'sshd': - case 'booting':{ + case 'booting': + case 'ping':{ color = 'green'; } break; @@ -715,10 +716,6 @@ function statusMap(status){ color = 'red'; } break; - case 'ping':{ - color = 'yellow'; - } - break; default: color = 'grey'; break; @@ -748,13 +745,13 @@ function selectAllLpars(checkbox){ * @return lpars' string * */ -function getSelectNodes(){ - var ret = ''; - for (var lparName in selectNode){ - ret += lparName + ','; - } - - return ret.substring(0, ret.length-1); +function getSelectNodes() { + var ret = ''; + for ( var lparName in selectNode) { + ret += lparName + ','; + } + + return ret.substring(0, ret.length - 1); } /** diff --git a/xCAT-UI/js/provision/images.js b/xCAT-UI/js/provision/images.js index 1ccc2e9ed..b46225109 100644 --- a/xCAT-UI/js/provision/images.js +++ b/xCAT-UI/js/provision/images.js @@ -536,16 +536,200 @@ function createHpcSelect(container){ hpcFieldset.append(createInfoBar(str)); // advanced software when select the compute profile - str = '