diff --git a/frontend/classes/class.container.php b/frontend/classes/class.container.php index add7b81..064db48 100644 --- a/frontend/classes/class.container.php +++ b/frontend/classes/class.container.php @@ -308,6 +308,8 @@ class Container extends CPHPDatabaseRecordClass $result = $this->sNode->ssh->RunCommand($command, false); + pretty_dump($result); + if($result->returncode == 0) { return true; diff --git a/frontend/css/cvm.css b/frontend/css/cvm.css index 21542e7..0842726 100644 --- a/frontend/css/cvm.css +++ b/frontend/css/cvm.css @@ -269,12 +269,18 @@ table.vpsinfo td font-weight: bold; } -.suspended, .unknown +.suspended { color: #5B5F6B; font-weight: bold; } +.unknown +{ + color: black; + font-weight: bold; +} + .footer { font-size: 14px; diff --git a/frontend/test.php b/frontend/test.php index dd67f4f..9a72610 100644 --- a/frontend/test.php +++ b/frontend/test.php @@ -32,6 +32,10 @@ else { $sContainer->AddIp($_GET['ip']); } + elseif($_GET['action'] == "delip") + { + $sContainer->RemoveIp($_GET['ip']); + } elseif($_GET['action'] == "user") { $sUser = new User(1);