|
|
@@ -53,12 +53,12 @@ class VirtualNetworkDataTable extends DataTable implements ClientArea
|
|
|
$createButton->addClass("disabled");
|
|
|
}
|
|
|
//deaktivate createVM Button in case of lack of ressources
|
|
|
- if($resurceManager->disk()->free() < $resurceManager->disk()->getMin() || $resurceManager->vcpus()->free() < $resurceManager->vcpus()->getMin() || $resurceManager->memory()->free() < $resurceManager->memory()->getMin()) {
|
|
|
+/* if($resurceManager->disk()->free() < $resurceManager->disk()->getMin() || $resurceManager->vcpus()->free() < $resurceManager->vcpus()->getMin() || $resurceManager->memory()->free() < $resurceManager->memory()->getMin()) {
|
|
|
//delete sidebar button
|
|
|
if(sl("sidebar")->getSidebar("Service Details Overview")->isChild("vmcreate")) {
|
|
|
sl("sidebar")->getSidebar("Service Details Overview")->getChild("vmcreate")->delete();
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
//Create
|
|
|
$this->addButton($createButton);
|
|
|
//Update
|