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/frontdesk/badges/template.blade.php b/resources/views/frontdesk/badges/template.blade.php index 758ef15..86304d0 100644 --- a/resources/views/frontdesk/badges/template.blade.php +++ b/resources/views/frontdesk/badges/template.blade.php @@ -1,44 +1,43 @@ -

Badge template

-

Configure fields shown on printed visitor badges.

+ +
+ @csrf @method('PUT') - - @csrf @method('PUT') + +
+ @foreach ([ + 'show_photo' => 'Visitor photo', + 'show_qr' => 'QR code', + 'show_host' => 'Host name', + 'show_company' => 'Company', + 'show_type' => 'Visitor type', + ] as $key => $label) + + @endforeach +
+
+ + +
+
+ + +
+ @if ($canManage) +
+ +
+ @endif +
+
-
-

Layout

-
- @foreach ([ - 'show_photo' => 'Visitor photo', - 'show_qr' => 'QR code', - 'show_host' => 'Host name', - 'show_company' => 'Company', - 'show_type' => 'Visitor type', - ] as $key => $label) - - @endforeach -
-
- - -
-
- - -
- @if ($canManage) - - @endif -
- - - @if ($sampleVisit) -
-

Live preview

- -
- @endif + @if ($sampleVisit) + + + + @endif +
diff --git a/resources/views/frontdesk/settings/edit.blade.php b/resources/views/frontdesk/settings/edit.blade.php index 19034e7..d87d8ea 100644 --- a/resources/views/frontdesk/settings/edit.blade.php +++ b/resources/views/frontdesk/settings/edit.blade.php @@ -3,30 +3,17 @@ $settings = $organization->settings ?? []; @endphp -
- - + @if ($canManage) -
+
-
-

Plan & usage

-

- @if ($isPro) - {{ $plan['label'] ?? 'Pro' }} — unlimited branches and kiosks, integrations, and unlimited host emails (SMS still billed per segment). - @else - Free — one branch, one kiosk, core check-in and badges. Host alerts billed after {{ number_format($freeEmailAllowance) }} free emails per month. - @endif -

-
+

+ @if ($isPro) + {{ $plan['label'] ?? 'Pro' }} — unlimited branches and kiosks, integrations, and unlimited host emails (SMS still billed per segment). + @else + Free — one branch, one kiosk, core check-in and badges. Host alerts billed after {{ number_format($freeEmailAllowance) }} free emails per month. + @endif +

@if (! $isPro) Upgrade to Pro (GHS {{ number_format($proPriceMinor / 100, 0) }}/mo) @endif @@ -50,17 +37,15 @@

Email {{ $emailCostFormatted }} each after free allowance · SMS from {{ $smsCostFormatted }} per segment — charged to your Ladill wallet. - Hosts are notified via email or phone on their profile; linking a Ladill account is optional.

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

Organization

-
+ +
@if ($canManage)
@@ -76,7 +61,7 @@
-

Shown on the visitor kiosk and employee badges. PNG, JPG, WebP, or SVG up to 2 MB.

+

PNG, JPG, WebP, or SVG up to 2 MB.

@if (\App\Support\OrganizationBranding::hasCustomLogo($organization)) {{ $organization->name }} @endif
-
+ @if ($canManage) -
-

Reception & kiosk

-
+ +
@@ -122,39 +106,33 @@
-
-

Shown to guests during kiosk check-in when policies must be accepted.

- -
+ -
-

Notifications

-
+ +

Channels

-

Alerts go to each host's email and/or phone — no Ladill account required.

@foreach ($notificationChannels as $key => $label)
-

Events

@@ -178,60 +155,17 @@ @endforeach
-
-

Comma-separated emails for the daily summary report.

-
+
@endif
- -
-
-

Related settings

-

Branches, hardware, templates, and integrations.

-
- -
-
+