From 54286d231f09844eb386781210f2701539c0d13a Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Tue, 1 May 2012 04:40:50 +0200 Subject: [PATCH] Small changes --- frontend/classes/class.container.php | 2 ++ frontend/css/cvm.css | 8 +++++++- frontend/test.php | 4 ++++ 3 files changed, 13 insertions(+), 1 deletion(-) 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);