Browse Source

test better detail combined view

andre 4 years ago
parent
commit
a1362e88b1
1 changed files with 2 additions and 4 deletions
  1. 2 4
      app/UI/VmUpdate/Forms/VmUpdateForm.php

+ 2 - 4
app/UI/VmUpdate/Forms/VmUpdateForm.php

@@ -11,8 +11,6 @@ use ModulesGarden\Servers\ProxmoxCloudVps\App\UI\VmUpdate\Sections\VirtualNetwor
 use ModulesGarden\Servers\ProxmoxCloudVps\Core\UI\Interfaces\ClientArea;
 use ModulesGarden\Servers\ProxmoxCloudVps\Core\UI\Widget\Forms\BaseStandaloneFormExtSections;
 use ModulesGarden\Servers\ProxmoxCloudVps\Core\UI\Widget\Forms\Sections\HalfPageSection;
-use ModulesGarden\Servers\ProxmoxCloudVps\App\UI\VirtualNetwork\Pages\VirtualNetworkDataTable;
-use ModulesGarden\Servers\ProxmoxCloudVps\App\UI\Disk\Pages\DiskDataTable;
 
 class VmUpdateForm extends  BaseStandaloneFormExtSections implements ClientArea
 {
@@ -39,12 +37,12 @@ class VmUpdateForm extends  BaseStandaloneFormExtSections implements ClientArea
             $rightSection = new HalfPageSection('rightSection');
             $rightSection->setMainContainer($this->mainContainer);
             //network
-            $rightSection->addSection(new VirtualNetworkDataTable());
+            $rightSection->addSection((new VirtualNetworkSection())->setMainContainer($this->mainContainer));
             //kvm
             if($this->configuration()->isQemu()){
                 $this->addSection((new Qemu\GeneralCombinedSection())->setMainContainer($this->mainContainer));
                 //disk
-                $rightSection->addSection((new DiskDataTable())->setMainContainer($this->mainContainer));
+                $rightSection->addSection((new Qemu\AdditionalDiskSection())->setMainContainer($this->mainContainer));
             }
             //lxc
             if($this->configuration()->isLxc()){