mirror of
https://github.com/unraid/webgui.git
synced 2026-05-07 21:01:19 -05:00
Add virtio gu(2d) as an option of template.
This commit is contained in:
@@ -273,7 +273,8 @@ foreach ($vms as $vm) {
|
||||
if ($snap['parent'] == "" || $snap['parent'] == "Base") $j++;
|
||||
$steps[$j] .= $snap['name'].';';
|
||||
}
|
||||
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 "<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 "<tbody class='child'child-id='$i'>";
|
||||
foreach ($steps as $stepsline) {
|
||||
$snapshotlist = explode(";",$stepsline);
|
||||
|
||||
@@ -1115,7 +1115,8 @@ private static $encoding = 'UTF-8';
|
||||
$arrValidVNCModels = [
|
||||
'cirrus' => 'Cirrus',
|
||||
'qxl' => 'QXL (best)',
|
||||
'vmvga' => 'vmvga'
|
||||
'vmvga' => 'vmvga',
|
||||
'virtio' => 'Virtio(2d)'
|
||||
];
|
||||
|
||||
return $arrValidVNCModels;
|
||||
|
||||
@@ -13,6 +13,13 @@ 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}
|
||||
|
||||
Reference in New Issue
Block a user