Renamed directories under lib/ to not be capitalized. Added "add node" link to add new nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7533 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
3df6eebf1a
commit
7bb4215751
@ -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 {
|
||||
|
@ -150,6 +150,10 @@ function loadGroups(data) {
|
||||
} // End of onselect
|
||||
} // End of callback
|
||||
});
|
||||
|
||||
// Add nodes link
|
||||
var groupsAction = $('<a href="#">Add node</a>');
|
||||
$('#groups').append(groupsAction);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once 'JSON/JSON.php';
|
||||
require_once 'json/JSON.php';
|
||||
|
||||
function json_encode($arg) {
|
||||
global $services_json;
|
||||
|
@ -22,7 +22,7 @@
|
||||
if (isset($_POST['f'])){
|
||||
$pythonProcess = exec('ps -aef | grep -v grep | grep ajaxterm.py');
|
||||
if ('' == $pythonProcess){
|
||||
exec('nohup ' . dirname(__FILE__) . '/AJAXTERM/ajaxterm.py >/dev/null 2>&1 &');
|
||||
exec('nohup ' . dirname(__FILE__) . '/ajaxterm/ajaxterm.py >/dev/null 2>&1 &');
|
||||
}
|
||||
|
||||
sleep(1);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user