From f471102b005a7822b5f2c676e434027d2ab6dcd8 Mon Sep 17 00:00:00 2001 From: Ghassan Yusuf Date: Tue, 26 May 2026 15:26:27 +0300 Subject: [PATCH] feat: full-width cards with gradient headers and decoration for WhatsApp and Email tabs --- .../views/settings/integrations.blade.php | 359 +++++++++--------- 1 file changed, 180 insertions(+), 179 deletions(-) diff --git a/resources/views/settings/integrations.blade.php b/resources/views/settings/integrations.blade.php index eac9fa1..e76e5b5 100644 --- a/resources/views/settings/integrations.blade.php +++ b/resources/views/settings/integrations.blade.php @@ -3,71 +3,72 @@ @section('title', 'Settings — Integrations') @section('content') +

Settings — Integrations

Configure third-party service integrations.

-
+
{{-- Pill tabs --}} -
+
{{-- ===== WhatsApp tab ===== --}} -
+
-
-
- - - -

WhatsApp (UltraMSG)

+
+ + {{-- Card header --}} +
+
+ + + +
+
+
WhatsApp (UltraMSG)
+
Send WhatsApp messages and notifications via UltraMSG
+
+
+ + {{ $whatsappSettings['enabled'] ? 'Enabled' : 'Disabled' }} +
+
+
+
{{-- Two-column body --}} -
+
- {{-- Left: Settings form --}} -
+ {{-- Left: Settings --}} +
- {{-- Enable toggle --}} -
-
-

Enable WhatsApp Notifications

-

When disabled, no messages will be sent.

-
-
- -
-
-
-
-
- -
+
Connection Settings
{{-- Instance ID --}} -
+
{{-- API Token --}} -
+
- - - - - - - + +
{{-- Webhook Secret --}} -
- +
+
- - - - - - - + +
{{-- Webhook Path --}} -
+
{{ url('/') }}/ -
-

- Paste this full URL in your UltraMSG dashboard: {{ url('/') }}/{{ $whatsappSettings['webhook_path'] }} -

+

Full webhook URL: {{ url('/') }}/{{ $whatsappSettings['webhook_path'] }}

{{-- Actions --}} -
-
- - -
- +
+ + +
{{-- Right: Send Test Message --}} -
-
- - - - Send Test Message -
-
Verify the connection works end-to-end by sending a real message.
-
- - -
-
- - -
-
- - +
+ +
Send Test Message
+ +
+

Verify the connection works end-to-end by sending a real WhatsApp message.

+ +
+ + +
+
+ + +
+
+ + +
+
@@ -189,98 +172,122 @@
{{-- end WhatsApp tab --}} {{-- ===== Email tab ===== --}} -