<?php


namespace ModulesGarden\Servers\ProxmoxCloudVps\App\UI\Vm\Pages;


use ModulesGarden\ProxmoxAddon\App\Services\Cloud\ProductService;
use ModulesGarden\Servers\ProxmoxCloudVps\App\UI\Backup\Pages\BackupDataTable;
use ModulesGarden\Servers\ProxmoxCloudVps\App\UI\Backup\Pages\BackupRawDataTable;
use ModulesGarden\Servers\ProxmoxCloudVps\App\UI\BackupJob\Pages\BackupJobDataTable;
use ModulesGarden\Servers\ProxmoxCloudVps\Core\UI\Interfaces\ClientArea;
use ModulesGarden\Servers\ProxmoxCloudVps\Core\UI\Widget\TabsWidget\TabsWidget;

class BackupTab extends TabsWidget implements ClientArea
{
    use ProductService;

    protected $id   = 'backupTab';
    protected $name = 'backupTabName';
    protected $title = 'backupTabTitle';


    public function initContent()
    {
        $this->unsetShowTitle();
        $this->addElement(new BackupDataTable());
        $this->addElement(new BackupJobDataTable);

    }
}