diff --git a/xCAT-UI/css/style.css b/xCAT-UI/css/style.css index 2141f9521..0de7c9cd2 100644 --- a/xCAT-UI/css/style.css +++ b/xCAT-UI/css/style.css @@ -116,10 +116,9 @@ body { #groups a { font: 12px verdana, arial, helvetica, sans-serif; color: #0000FF; - display: block; + display: inline-table; padding: 5px 15px 15px 5px; text-decoration: none; - display: block; } #groups a:hover { diff --git a/xCAT-UI/js/nodes/nodes.js b/xCAT-UI/js/nodes/nodes.js index 716b1fb54..2150d7196 100644 --- a/xCAT-UI/js/nodes/nodes.js +++ b/xCAT-UI/js/nodes/nodes.js @@ -150,6 +150,10 @@ function loadGroups(data) { } // End of onselect } // End of callback }); + + // Add nodes link + var groupsAction = $('Add node'); + $('#groups').append(groupsAction); } /** diff --git a/xCAT-UI/lib/jsonwrapper_inner.php b/xCAT-UI/lib/jsonwrapper_inner.php index c3e616835..3a8a5a08f 100644 --- a/xCAT-UI/lib/jsonwrapper_inner.php +++ b/xCAT-UI/lib/jsonwrapper_inner.php @@ -1,5 +1,5 @@ /dev/null 2>&1 &'); + exec('nohup ' . dirname(__FILE__) . '/ajaxterm/ajaxterm.py >/dev/null 2>&1 &'); } sleep(1); diff --git a/xCAT-UI/xCAT-UI.spec b/xCAT-UI/xCAT-UI.spec index 10a2e2307..21f876103 100644 --- a/xCAT-UI/xCAT-UI.spec +++ b/xCAT-UI/xCAT-UI.spec @@ -38,7 +38,7 @@ mkdir -p $RPM_BUILD_ROOT%{prefix}/ui set +x cp -r * $RPM_BUILD_ROOT%{prefix}/ui chmod 755 $RPM_BUILD_ROOT%{prefix}/ui/* -chmod 755 $RPM_BUILD_ROOT%{prefix}/ui/lib/AJAXTERM/*.py +chmod 755 $RPM_BUILD_ROOT%{prefix}/ui/lib/ajaxterm/*.py set -x %files