From 4931d00990c707d90e5fb913c20c6a74ef2e30fc Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Tue, 20 May 2025 17:25:12 -0700 Subject: [PATCH] fix: enhance layout consistency in PHPsettings.page and PHPsettings.css - Updated PHPsettings.page to wrap buttons in a div for improved layout and added a new section for log management. - Modified PHPsettings.css to define a new class for the PHP settings description, ensuring better alignment and responsiveness. - This change continues the effort to enhance visual structure across the plugin. --- emhttp/plugins/dynamix/PHPsettings.page | 20 ++++++++++++++++--- emhttp/plugins/dynamix/sheets/PHPsettings.css | 7 +++++-- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/emhttp/plugins/dynamix/PHPsettings.page b/emhttp/plugins/dynamix/PHPsettings.page index f9876564f..d8eff8424 100644 --- a/emhttp/plugins/dynamix/PHPsettings.page +++ b/emhttp/plugins/dynamix/PHPsettings.page @@ -22,7 +22,7 @@ $conf = file_exists($ini) ? parse_ini_file($ini) : []; if (!file_exists($log)) touch($log); ?> -
+
:php_settings_plug: This utility is used for development purposes only and allows Plugin Authors to verify their PHP code by enabling different levels of PHP error reporting. @@ -42,6 +42,17 @@ under normal running conditions. + +  +:
+ + 0 ? '' : ' disabled'?>> + + + _(LOG size)_:  + +
+ _(Error reporting level)_: :   -: disabled>_(Show errors on screen)_ +: -0?'':' disabled'?>>_(LOG size)_:  +  : diff --git a/emhttp/plugins/dynamix/sheets/PHPsettings.css b/emhttp/plugins/dynamix/sheets/PHPsettings.css index 0a1d05f5c..182c34334 100644 --- a/emhttp/plugins/dynamix/sheets/PHPsettings.css +++ b/emhttp/plugins/dynamix/sheets/PHPsettings.css @@ -2,9 +2,12 @@ div#templateWindow, div#dialogWindow { display: none; } + span.dim { opacity: 0.2; } -#screenlog { - margin-left: 0; + +.php-settings-description { + max-width: 100ch; + margin: 0 auto; }