From 776b64d6babac4aa2a0d850b049a58d694cde2cd Mon Sep 17 00:00:00 2001 From: Ahmad Date: Mon, 15 Jun 2026 06:41:30 +0700 Subject: [PATCH] =?UTF-8?q?=E2=80=8BFix:=20Admin=20API=20mobile=20layout?= =?UTF-8?q?=20&=20bulk=20button=20states=20(#5614)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes a couple of UI/UX issues on the Admin Application API page (`new.blade.php`): - Mobile Layout: Fixed the radio buttons stacking vertically and breaking the page on small screens. The table now scrolls horizontally and stays clean. - Button States: The bulk select buttons ("Read All", etc.) now dynamically change color to indicate which option is currently active. Screenshots: - Before: ![Screenshot_20260402_172507](https://github.com/user-attachments/assets/2eea7798-5b18-48e4-89a4-aebedb16972e) - After: ![Screenshot_20260402_172522](https://github.com/user-attachments/assets/7a6b1f8d-89e0-402f-af77-9edd83d5fb97) Co-authored-by: Robert Dennis <31261583+robertdrakedennis@users.noreply.github.com> --- resources/views/admin/api/new.blade.php | 80 +++++++++++++++++++++---- 1 file changed, 69 insertions(+), 11 deletions(-) diff --git a/resources/views/admin/api/new.blade.php b/resources/views/admin/api/new.blade.php index b5876ee8c..712712cd7 100644 --- a/resources/views/admin/api/new.blade.php +++ b/resources/views/admin/api/new.blade.php @@ -20,23 +20,41 @@

Select Permissions

+
+
+ + + +
+
- +
@foreach($resources as $resource) - - - - + + @endforeach @@ -63,8 +81,48 @@ @endsection + @section('footer-scripts') @parent @endsection
{{ str_replace('_', ' ', title_case($resource)) }} - - + + {{ str_replace('_', ' ', title_case($resource)) }} - - + + +
+ + +
- - + + +
+ + +
+
+
+ + +