diff --git a/xCAT-UI/css/style.css b/xCAT-UI/css/style.css index fdfa4e283..f40a28c39 100644 --- a/xCAT-UI/css/style.css +++ b/xCAT-UI/css/style.css @@ -192,11 +192,11 @@ body { } #groups .grouplabel { - /*background-color: #A9D0F5;*/ padding: 5px 0px 5px 10px; font-weight: bold; font-size: 15px; } + #groups .groupdiv{ padding-left: 10px; } @@ -452,7 +452,7 @@ legend { /*** Table ***/ .datatable { - width: 660px; + width: 100%; border-width: 1px; border-spacing: 0px; border-style: solid; diff --git a/xCAT-UI/js/configure/discover.js b/xCAT-UI/js/configure/discover.js index 6cdd3c495..18a96f32d 100644 --- a/xCAT-UI/js/configure/discover.js +++ b/xCAT-UI/js/configure/discover.js @@ -184,7 +184,7 @@ function createBackButton(){ function getDiscoverEnv(envName){ if (discoverEnv[envName]){ return discoverEnv[envName]; - } + } else{ return ''; } @@ -331,7 +331,6 @@ function initSelectPlatform(){ temp += '

This wizard will guide you through the process of defining the naming conventions within' + 'your cluster, discovering the hardware on your network, and automatically defining it in the xCAT' + 'database.
Choose which type of hardware you want to discover, and then click Next.

'; - temp += ' System x hardware (not implemented yet)
'; temp += ' System p hardware (P7 IH)
'; temp += ' System p hardware (Non P7 IH)
'; @@ -359,9 +358,9 @@ function initSelectPlatform(){ function getPlatform(){ var radioValue = $('#discoverContentDiv :checked').attr('id'); setDiscoverEnv('machineType', radioValue); - return true; } + /** * Step 2: Cluster basic patterns * users can input the switches' name range, the number of port, start ip and port prefix @@ -413,7 +412,6 @@ function initBasicPattern(){ showString += ''; $('#discoverContentDiv').append(showString); - $('#discoverContentDiv [title]').tooltip({ position: "center right", offset: [-2, 10], @@ -640,6 +638,7 @@ function checkSupernode(operType){ cmd : 'echo -e "' + args + '" > /tmp/websupernode.txt' } }); + return true; } @@ -811,6 +810,7 @@ function calcEndIp(ipStart, num){ ipArray[0] = ipArray[0] + parseInt(sum / 255); return (ipArray.join('.')); } + /** * Step 4: check the input are all filled * @@ -936,7 +936,6 @@ function initDiscoverFrames(){ for (var i in frameArray){ $('#frameTd').append('

' + frameArray[i] + '

'); - } for (var i in mtmsArray){ @@ -1082,6 +1081,7 @@ function initConfig(operType){ createSetupFile(); } + /** * Step 7: create the xcat configure file * @@ -1175,6 +1175,7 @@ function runSetup(){ } }); } + /** * Step 7: create the dhcp configure file * @@ -1341,9 +1342,9 @@ function lsslpWriteHMC(){ tempSpan.addClass('ui-icon-check'); lsslpWriteCec(); } - }); + }); } - }); + }); } }); } diff --git a/xCAT-UI/js/custom/blade.js b/xCAT-UI/js/custom/blade.js index c55b0ce08..968126daf 100644 --- a/xCAT-UI/js/custom/blade.js +++ b/xCAT-UI/js/custom/blade.js @@ -203,20 +203,20 @@ bladePlugin.prototype.loadResources = function() { bladePlugin.prototype.addNode = function() { var nodeTypeSelectDia = $('
'); nodeTypeSelectDia.append('
'); + ''); //append the mm div var mmStr = '
' + - '

' + - '' + + '

' + + '' + '
'; //append the blade div var bladeStr = '