Revert "Add virtio gu(2d) as an option of template."

This reverts commit 9a502776a1.
This commit is contained in:
SimonFair
2024-10-06 11:26:34 +01:00
parent 9a502776a1
commit 082d7d842b
3 changed files with 2 additions and 11 deletions
@@ -273,8 +273,7 @@ foreach ($vms as $vm) {
if ($snap['parent'] == "" || $snap['parent'] == "Base") $j++;
$steps[$j] .= $snap['name'].';';
}
echo "<table class='tablesorter snap'>";
echo "<thead class='child' child-id='$i'><tr><th><i class='fa fa-clone'></i> <b>",_('Snapshots'),"</b></th><th>",_('Description'),"</th><th>",_('Date/Time'),"</th><th>",_('Type (Method)'),"</th><th>",_('Parent'),"</th><th>",_('Memory'),"</th></tr></thead>";
echo "<thead class='child' child-id='$i'><tr><th><i class='fa fa-clone'></i> <b>",_('Snapshots'),"</b></th><th></th><th>",_('Date/Time'),"</th><th>",_('Type (Method)'),"</th><th>",_('Parent'),"</th><th>",_('Memory'),"</th></tr></thead>";
echo "<tbody class='child'child-id='$i'>";
foreach ($steps as $stepsline) {
$snapshotlist = explode(";",$stepsline);
@@ -1115,8 +1115,7 @@ private static $encoding = 'UTF-8';
$arrValidVNCModels = [
'cirrus' => 'Cirrus',
'qxl' => 'QXL (best)',
'vmvga' => 'vmvga',
'virtio' => 'Virtio(2d)'
'vmvga' => 'vmvga'
];
return $arrValidVNCModels;
@@ -13,13 +13,6 @@ table.domdisk thead tr th:nth-child(1){padding-left:72px}
table.domdisk tbody tr td:nth-child(1){padding-left:72px}
table.domdisk tbody tr:nth-child(even){background-color:transparent!important}
table.domdisk tbody tr:nth-child(4n-1){background-color:transparent!important}
table.snap thead tr th:nth-child(1){width:56%!important}
table.snap thead tr th:nth-child(1){width:20%!important}
table.snap thead tr th:nth-child(n+2){width:8%!important}
table.snap thead tr th:nth-child(1){padding-left:72px}
table.snap tbody tr td:nth-child(1){padding-left:72px}
table.snap tbody tr:nth-child(even){background-color:transparent!important}
table.snap tbody tr:nth-child(4n-1){background-color:transparent!important}
table.snapshot{margin-top:0}
table tbody td{line-height:normal}
i.mover{margin-right:8px;display:none}