diff --git a/emhttp/plugins/dynamix.vm.manager/styles/dynamix.vm.manager.css b/emhttp/plugins/dynamix.vm.manager/styles/dynamix.vm.manager.css index f7cf0abef1..f34b0c7b50 100644 --- a/emhttp/plugins/dynamix.vm.manager/styles/dynamix.vm.manager.css +++ b/emhttp/plugins/dynamix.vm.manager/styles/dynamix.vm.manager.css @@ -678,4 +678,4 @@ img.paused{opacity: 0.6;} .stopped{color:#EF3D47;} .paused{color:#F0DD33;} -.log{cursor:zoom-in;} +.log{cursor:zoom-in;} \ No newline at end of file diff --git a/emhttp/plugins/dynamix.vm.manager/templates/Custom.form.php b/emhttp/plugins/dynamix.vm.manager/templates/Custom.form.php index c5eb5b66e6..94340d5d64 100644 --- a/emhttp/plugins/dynamix.vm.manager/templates/Custom.form.php +++ b/emhttp/plugins/dynamix.vm.manager/templates/Custom.form.php @@ -611,9 +611,17 @@ = 1024) { + $label = number_format($sizeMB / 1024, 1) . ' GB'; + } else { + $label = $sizeMB . ' MB'; + } + echo mk_option($arrConfig['domain']['mem'], $value, $label); } ?> @@ -623,9 +631,17 @@ = 1024) { + $label = number_format($sizeMB / 1024, 1) . ' GB'; + } else { + $label = $sizeMB . ' MB'; + } + echo mk_option($arrConfig['domain']['maxmem'], $value, $label); } ?> @@ -2876,4 +2892,4 @@ function(inputValue) { regenerateDiskPreview(); resetForm(); }); - + \ No newline at end of file