From ac5e513dd26f0dac1581ff6a5fe867915376f5d1 Mon Sep 17 00:00:00 2001 From: isaacclad Date: Sun, 5 Jul 2026 21:11:48 +0000 Subject: [PATCH] Standardize settings pages on shared centered card layout. Co-authored-by: Cursor --- .../views/components/settings/card.blade.php | 15 +++ .../views/components/settings/page.blade.php | 11 ++ resources/views/pos/settings.blade.php | 115 ++++++++---------- 3 files changed, 78 insertions(+), 63 deletions(-) create mode 100644 resources/views/components/settings/card.blade.php create mode 100644 resources/views/components/settings/page.blade.php diff --git a/resources/views/components/settings/card.blade.php b/resources/views/components/settings/card.blade.php new file mode 100644 index 0000000..939f318 --- /dev/null +++ b/resources/views/components/settings/card.blade.php @@ -0,0 +1,15 @@ +@props(['title' => null, 'description' => null]) + +
merge(['class' => 'rounded-xl border border-slate-200 bg-white shadow-sm']) }}> + @if ($title) +
+

{{ $title }}

+ @if ($description) +

{{ $description }}

+ @endif +
+ @endif +
+ {{ $slot }} +
+
diff --git a/resources/views/components/settings/page.blade.php b/resources/views/components/settings/page.blade.php new file mode 100644 index 0000000..3bc11e8 --- /dev/null +++ b/resources/views/components/settings/page.blade.php @@ -0,0 +1,11 @@ +@props(['title' => 'Settings', 'description' => null]) + +
merge(['class' => 'mx-auto max-w-3xl space-y-6']) }}> +
+

{{ $title }}

+ @if ($description) +

{{ $description }}

+ @endif +
+ {{ $slot }} +
diff --git a/resources/views/pos/settings.blade.php b/resources/views/pos/settings.blade.php index 17c002e..1068800 100644 --- a/resources/views/pos/settings.blade.php +++ b/resources/views/pos/settings.blade.php @@ -1,72 +1,61 @@ -
-
-

Settings

-

Register location, receipt footer, and catalog imports.

-
- -
- @csrf - @method('PUT') -

Location

-
- - -
-
- - -
-
- - -

Restaurant mode adds the Floor and Kitchen screens to the sidebar.

-
-
- - -
-
- -
-
+ + +
+ @csrf + @method('PUT') +
+ + +
+
+ + +
+
+ + +

Restaurant mode adds the Floor and Kitchen screens to the sidebar.

+
+
+ + +
+
+ +
+
+
@if ($location->isRestaurant()) -
-

Import catalog

-

Seed your local POS catalog from CRM or Merchant storefronts. (Retail mode reads products live from CRM, so no import is needed.)

-
-
- @csrf - -
- @if ($merchantImportEnabled) -
+ +
+ @csrf - @endif -
-
- @endif + @if ($merchantImportEnabled) +
+ @csrf + +
+ @endif +
+ - @if ($location->isRestaurant()) -
-

Tables

-

Dine-in tables shown on the Floor screen.

- -
+ + @csrf @@ -98,7 +87,7 @@ @endforeach @endif -
+ @endif - +