From f2daac4f9d294d7b60d954eaa0e6f430889c88e3 Mon Sep 17 00:00:00 2001 From: fabiodalez-dev Date: Thu, 25 Jun 2026 11:22:34 +0200 Subject: [PATCH] fix(mobile-api): align settings page chrome with the standard admin settings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Mobile API plugin settings page diverged from every other settings page: a sticky header bar with an indigo→purple gradient icon box and indigo/purple accents throughout, instead of the canonical admin chrome (plain text-3xl heading + flat blue icon, blue accents, .btn-primary). Now it matches /admin/settings and the sibling plugin settings pages (api-book-scraper, discogs): - header: drop the sticky bar + gradient icon, use the text-3xl heading with a flat fa-mobile-screen-button text-blue-600 icon and a .btn-secondary "Plugin" back link - recolor every indigo-* accent to blue-* (tabs, toggle, info box, selects, focus rings) - save button → .btn-primary; success/error banners → the canonical px-4 py-3 rounded-lg green/red style --- storage/plugins/mobile-api/views/settings.php | 76 ++++++++----------- 1 file changed, 33 insertions(+), 43 deletions(-) diff --git a/storage/plugins/mobile-api/views/settings.php b/storage/plugins/mobile-api/views/settings.php index 90db7f0e..2c18bf68 100644 --- a/storage/plugins/mobile-api/views/settings.php +++ b/storage/plugins/mobile-api/views/settings.php @@ -84,47 +84,38 @@ $tabDevicesUrl = htmlspecialchars(url('/admin/plugins/' . $resolvedId . '/settings') . '?tab=devices', ENT_QUOTES, 'UTF-8'); ?> -
+
- -
-
-
-
-
- -
-
-

- -

-

- -

-
-
- - - - -
+ +
+
+

+ + +

+

+ +

+ + + +
-
+
-
- -

+
+ +
-