Kaynağa Gözat

test better detail combined view

andre 4 yıl önce
ebeveyn
işleme
a1362e88b1
1 değiştirilmiş dosya ile 2 ekleme ve 4 silme
  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\Interfaces\ClientArea;
 use ModulesGarden\Servers\ProxmoxCloudVps\Core\UI\Widget\Forms\BaseStandaloneFormExtSections;
 use ModulesGarden\Servers\ProxmoxCloudVps\Core\UI\Widget\Forms\BaseStandaloneFormExtSections;
 use ModulesGarden\Servers\ProxmoxCloudVps\Core\UI\Widget\Forms\Sections\HalfPageSection;
 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
 class VmUpdateForm extends  BaseStandaloneFormExtSections implements ClientArea
 {
 {
@@ -39,12 +37,12 @@ class VmUpdateForm extends  BaseStandaloneFormExtSections implements ClientArea
             $rightSection = new HalfPageSection('rightSection');
             $rightSection = new HalfPageSection('rightSection');
             $rightSection->setMainContainer($this->mainContainer);
             $rightSection->setMainContainer($this->mainContainer);
             //network
             //network
-            $rightSection->addSection(new VirtualNetworkDataTable());
+            $rightSection->addSection((new VirtualNetworkSection())->setMainContainer($this->mainContainer));
             //kvm
             //kvm
             if($this->configuration()->isQemu()){
             if($this->configuration()->isQemu()){
                 $this->addSection((new Qemu\GeneralCombinedSection())->setMainContainer($this->mainContainer));
                 $this->addSection((new Qemu\GeneralCombinedSection())->setMainContainer($this->mainContainer));
                 //disk
                 //disk
-                $rightSection->addSection((new DiskDataTable())->setMainContainer($this->mainContainer));
+                $rightSection->addSection((new Qemu\AdditionalDiskSection())->setMainContainer($this->mainContainer));
             }
             }
             //lxc
             //lxc
             if($this->configuration()->isLxc()){
             if($this->configuration()->isLxc()){