ソースを参照

try to use console button

andre 4 年 前
コミット
7b445ea2b4
1 ファイル変更2 行追加2 行削除
  1. 2 2
      app/UI/Vms/Buttons/ConsoleButton.php

+ 2 - 2
app/UI/Vms/Buttons/ConsoleButton.php

@@ -27,11 +27,11 @@ use ModulesGarden\Servers\ProxmoxCloudVps\Core\UI\Widget\Buttons\ButtonDataTable
 
 class ConsoleButton extends ButtonDataTableModalAction implements ClientArea
 {
-    protected $icon           = 'lu-zmdi lu-zmdi-edit';
+    protected $icon           = 'lu-zmdi lu-zmdi-desktop-windows';
 
     public function initContent()
     {
-        $this->initIds('redirectButton');
+        $this->initIds('consoleButton');
         $this->setDisableByColumnValue("vmid", 0);
         $url ="clientarea.php?action=productdetails&id={$this->getWhmcsParamByKey('serviceid')}&modop=custom&a=management&mg-page=vm";
         $this->setRawUrl($url)