From 06c618dd50b289e1e0fdf18071349bcc3dcafbe3 Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Tue, 23 Jun 2026 11:43:37 -0500 Subject: [PATCH] style(cpanel): simplify to single info line with clickable shield Single row: shield link, site name, badges, IP, dashboard button. Removed collapsible body, plugin list, health stats, cache button. --- .../tmpl/default.php | 158 +----------------- 1 file changed, 2 insertions(+), 156 deletions(-) diff --git a/source/packages/mod_mokosuiteclient_cpanel/tmpl/default.php b/source/packages/mod_mokosuiteclient_cpanel/tmpl/default.php index c747f1f5..7bf17a10 100644 --- a/source/packages/mod_mokosuiteclient_cpanel/tmpl/default.php +++ b/source/packages/mod_mokosuiteclient_cpanel/tmpl/default.php @@ -60,9 +60,8 @@ $diskColor = ($diskPct !== null && $diskPct > 90) ? 'bg-danger' : (($diskPct !== ?>
- -
- +
+ sitename ?? ''); ?> MokoSuite mokosuiteclient_version ?? ''); ?> @@ -80,163 +79,10 @@ $diskColor = ($diskPct !== null && $diskPct > 90) ? 'bg-danger' : (($diskPct !== - -
- - -
- - / plugins active - updates > 0 && $counts->updates !== ($counts->moko_updates ?? 0)): ?> - - updates - ($counts->moko_updates ?? 0); ?> other updateupdates - ($counts->moko_updates ?? 0)) > 1 ? 's' : ''; ?> - - -
- - - -
- - - -
-
-
- - - Healthy - - - DB Error - -
-
-
-
- articles; ?> - Articles -
-
-
-
- users; ?> - Users -
-
-
-
- updates > 0): ?> - updates; ?> - Updates - - - Up to date - -
-
-
- - -
- - - - % - - free_mb ?? 0) / 1024, 1); ?>G free - - - - - - - - - SSL days_remaining; ?>d - - - - 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' : ''; ?> - - - -
- - -
- -