Skip to content

Commit 95bc896

Browse files
authored
Merge pull request unraid#2410 from Squidly271/fix/VMtabbed
Fix VM display aberrations if Usage Stats enabled in fixed height
2 parents 0defab3 + 96188ea commit 95bc896

3 files changed

Lines changed: 2 additions & 7 deletions

File tree

emhttp/plugins/dynamix.vm.manager/VMMachines.page

100644100755
File mode changed.

emhttp/plugins/dynamix.vm.manager/VMUsageStats.page

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Menu="VMs:0"
1+
Menu="VMs:2"
22
Title="VM Usage Statistics"
33
Nchan="vm_usage"
44
Cond="exec(\"grep -o '^USAGE=.Y' /boot/config/domain.cfg 2>/dev/null\") && is_file('/var/run/libvirt/libvirtd.pid')"

emhttp/plugins/dynamix.vm.manager/VMs.page

100644100755
Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Menu="Tasks:70"
22
Type="xmenu"
33
Code="e918"
44
Lock="true"
5+
Tabs="true"
56
Cond="exec(\"grep -o '^SERVICE=.enable' /boot/config/domain.cfg 2>/dev/null\")"
67
---
78
<?PHP
@@ -28,9 +29,3 @@ Cond="exec(\"grep -o '^SERVICE=.enable' /boot/config/domain.cfg 2>/dev/null\")"
2829
<? if ($noticeMessage): ?>
2930
<p class="notice"><?= $noticeMessage ?></p>
3031
<? endif; ?>
31-
32-
<?
33-
if (count($pages) == 2) {
34-
$tabbed = false;
35-
}
36-
?>

0 commit comments

Comments
 (0)