From 0c81e852f9efddff2d7b5294458a0b2bdaebfc52 Mon Sep 17 00:00:00 2001 From: bergware Date: Wed, 27 Dec 2023 23:42:26 +0100 Subject: [PATCH] Power mode: add info when running VM virtualized --- emhttp/plugins/dynamix/PowerMode.page | 5 +++++ emhttp/plugins/dynamix/sheets/PowerMode.css | 1 + 2 files changed, 6 insertions(+) diff --git a/emhttp/plugins/dynamix/PowerMode.page b/emhttp/plugins/dynamix/PowerMode.page index d0216b135..cb0406154 100644 --- a/emhttp/plugins/dynamix/PowerMode.page +++ b/emhttp/plugins/dynamix/PowerMode.page @@ -40,6 +40,9 @@ $(function(){ $('input[type=radio]').each(function(){ if ($(this).prop('disabled')) $(this).next('span').html(" (_(unavailable)_)"); }); + + $('#vm').show(); + }); @@ -61,3 +64,5 @@ _(Change power mode)_:   : + +
_(When running Unraid virtualized, there are no available power modes)_
diff --git a/emhttp/plugins/dynamix/sheets/PowerMode.css b/emhttp/plugins/dynamix/sheets/PowerMode.css index 6aca045a6..3ef80b81d 100644 --- a/emhttp/plugins/dynamix/sheets/PowerMode.css +++ b/emhttp/plugins/dynamix/sheets/PowerMode.css @@ -1 +1,2 @@ input[type=radio]{margin:0 10px 0 0} +div#vm{display:none;margin-left:35%}