diff --git a/.vscode/settings.json b/.vscode/settings.json index efd806383..67841e005 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,5 +4,80 @@ }, "prettier.tabWidth": 4, "editor.tabSize": 4, - "editor.indentSize": "tabSize" + "editor.indentSize": "tabSize", + "intelephense.stubs": [ + "apache", + "bcmath", + "bz2", + "calendar", + "com_dotnet", + "Core", + "ctype", + "curl", + "date", + "dba", + "dom", + "enchant", + "exif", + "FFI", + "fileinfo", + "filter", + "fpm", + "ftp", + "gd", + "gettext", + "gmp", + "hash", + "iconv", + "imap", + "intl", + "json", + "ldap", + "libxml", + "mbstring", + "meta", + "mysqli", + "oci8", + "odbc", + "openssl", + "pcntl", + "pcre", + "PDO", + "pdo_ibm", + "pdo_mysql", + "pdo_pgsql", + "pdo_sqlite", + "pgsql", + "Phar", + "posix", + "pspell", + "random", + "readline", + "Reflection", + "session", + "shmop", + "SimpleXML", + "snmp", + "soap", + "sockets", + "sodium", + "SPL", + "sqlite3", + "standard", + "superglobals", + "sysvmsg", + "sysvsem", + "sysvshm", + "tidy", + "tokenizer", + "xml", + "xmlreader", + "xmlrpc", + "xmlwriter", + "xsl", + "Zend OPcache", + "zip", + "zlib", + "libvirt-php" + ] } diff --git a/emhttp/languages/en_US/helptext.txt b/emhttp/languages/en_US/helptext.txt index 5d437b799..8bbe6599c 100644 --- a/emhttp/languages/en_US/helptext.txt +++ b/emhttp/languages/en_US/helptext.txt @@ -1527,6 +1527,12 @@ The display settings below determine how items are displayed on screen. Use thes You can experiment with these settings as desired, they only affect visual properties. :end +:display_width_help: +**Boxed** is the legacy setting which constrains the content width to maximum 1920 pixels + +**Unlimited** allows content to use all available width, which maybe useful on wide screens +:end + :display_font_size_help: Changes the font size in the GUI. This is a per device setting. :end @@ -1581,6 +1587,10 @@ Make sure any newly entered values represent the selected temperature unit. Stopping the VM Manager will first attempt to shutdown all running VMs. After 60 seconds, any remaining VM instances will be terminated. :end +:vms_disable_help: +Stop VMs from Autostarting\Starting when VM Manager starts or open is run from the gui to start, error message will be seen. +:end + :vms_libvirt_volume_help: This is the libvirt volume. :end diff --git a/emhttp/plugins/dynamix.apcupsd/UPSdetails.page b/emhttp/plugins/dynamix.apcupsd/UPSdetails.page index 73b5cd688..9eaa96693 100644 --- a/emhttp/plugins/dynamix.apcupsd/UPSdetails.page +++ b/emhttp/plugins/dynamix.apcupsd/UPSdetails.page @@ -3,8 +3,8 @@ Title="UPS Details" Tag="battery-3" --- - - @@ -386,6 +372,13 @@ function getVal(el, name) { } } +function dialogStyle() { + $('.ui-dialog-titlebar-close').css({'display':'none'}); + $('.ui-dialog-title').css({'text-align':'center','width':'100%','font-size':'1.8rem'}); + $('.ui-dialog-content').css({'padding-top':'15px','vertical-align':'bottom'}); + $('.ui-button-text').css({'padding':'0px 5px'}); +} + function addConfigPopup() { var title = "_(Add Configuration)_"; var popup = $("#dialogAddConfig"); @@ -403,11 +396,10 @@ function addConfigPopup() { // Start Dialog section popup.dialog({ title: title, + height: 'auto', + width: 900, resizable: false, - width: 800, modal: true, - show : {effect: 'fade' , duration: 250}, - hide : {effect: 'fade' , duration: 250}, buttons: { "_(Add)_": function() { $(this).dialog("close"); @@ -439,11 +431,7 @@ function addConfigPopup() { } } }); - $(".ui-dialog .ui-dialog-titlebar").addClass('menu'); - $('.ui-dialog .ui-dialog-titlebar-close').css({'display':'none'}); - $(".ui-dialog .ui-dialog-title").css({'text-align':'center','width':'100%'}); - $(".ui-dialog .ui-dialog-content").css({'padding-top':'15px','vertical-align':'bottom'}); - $(".ui-button-text").css({'padding':'0px 5px'}); + dialogStyle(); } function editConfigPopup(num,disabled) { @@ -477,11 +465,10 @@ function editConfigPopup(num,disabled) { popup.find(".switch-button-background").css("margin-top", "6px"); popup.dialog({ title: title, + height: 'auto', + width: 900, resizable: false, - width: 800, modal: true, - show: {effect:'fade', duration: 250}, - hide: {effect:'fade', duration: 250}, buttons: { "_(Save)_": function() { $(this).dialog("close"); @@ -522,11 +509,7 @@ function editConfigPopup(num,disabled) { } } }); - $(".ui-dialog .ui-dialog-titlebar").addClass('menu'); - $('.ui-dialog .ui-dialog-titlebar-close').css({'display':'none'}); - $(".ui-dialog .ui-dialog-title").css({'text-align':'center','width':'100%'}); - $(".ui-dialog .ui-dialog-content").css({'padding-top':'15px','vertical-align':'bottom'}); - $(".ui-button-text").css({'padding':'0px 5px'}); + dialogStyle(); $('.desc_readmore').readmore({maxHeight:10}); } @@ -1009,7 +992,7 @@ _(Password Mask)_: {0}: -: {10}
{12}: {1}
{4}
+: {10}
{12}: {1}
{4}