From 7b8bbf024a77450a6240f661ee006289aae12349 Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Tue, 2 Jun 2026 10:17:32 -0500 Subject: [PATCH] fix: consolidate cpanel bottom rows into single compact bar [skip ci] Merged disk/IP/versions, plugin badges, and quick actions into one inline row with border separators. Icons-only for action buttons. Authored-by: Moko Consulting Co-Authored-By: Claude Opus 4.6 (1M context) --- .../mod_mokowaas_cpanel/tmpl/default.php | 83 ++++++++----------- 1 file changed, 33 insertions(+), 50 deletions(-) diff --git a/src/packages/mod_mokowaas_cpanel/tmpl/default.php b/src/packages/mod_mokowaas_cpanel/tmpl/default.php index 56f79d4f..7c22b258 100644 --- a/src/packages/mod_mokowaas_cpanel/tmpl/default.php +++ b/src/packages/mod_mokowaas_cpanel/tmpl/default.php @@ -117,69 +117,52 @@ $diskColor = ($diskPct !== null && $diskPct > 90) ? 'bg-danger' : (($diskPct !== - -
+ +
-
+ - Disk % -
-
-
- free_mb ?? 0) / 1024, 1); ?> GB free -
+ % + + free_mb ?? 0) / 1024, 1); ?>G free + -
- - Your IP: -
+ -
- Joomla joomla_version ?? ''); ?> / PHP php_version ?? ''); ?> -
+ Jjoomla_version ?? ''); ?> / PHP php_version ?? ''); ?> -
- - - - -
- -
- - element] ?? $p->element; - $badge = $p->enabled ? 'bg-success' : 'bg-secondary'; - $icon = $p->enabled ? 'icon-check' : 'icon-times'; - $configUrl = Route::_('index.php?option=com_plugins&task=plugin.edit&extension_id=' . (int) $p->extension_id); - ?> - - - - - -
-
- - - - -
- - - Check Updates + + updates > 0): ?> - - updates; ?> Updateupdates > 1 ? 's' : ''; ?> Available + + updates; ?> updateupdates > 1 ? 's' : ''; ?> +