From 8e57a9ab6b7135a3e52683ef73fde3acfa81a1d5 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Wed, 5 Aug 2026 21:35:13 +0200 Subject: [PATCH] feat(ui): align auth pages to shared shell and truncate team names Move email verification and team invitation into x-auth.shell with shared guidance/alert patterns. Truncate long team names in the mobile header switcher so actions stay visible. Cover both with markup tests. --- resources/views/auth/verify-email.blade.php | 25 ++++--- resources/views/invitation/accept.blade.php | 67 ++++++++----------- resources/views/layouts/app.blade.php | 7 +- .../views/livewire/switch-team.blade.php | 6 +- .../views/livewire/verify-email.blade.php | 6 +- tests/Feature/LoginPageBrandingTest.php | 25 +++++++ tests/Feature/SidebarNavigationMarkupTest.php | 13 ++++ .../TeamInvitationCsrfProtectionTest.php | 2 +- 8 files changed, 94 insertions(+), 57 deletions(-) diff --git a/resources/views/auth/verify-email.blade.php b/resources/views/auth/verify-email.blade.php index cfdd68291..ab841a4ca 100644 --- a/resources/views/auth/verify-email.blade.php +++ b/resources/views/auth/verify-email.blade.php @@ -1,12 +1,19 @@ - -
-
-

Verification Email Sent

-
-
To activate your account, please open the email and follow the - instructions. + + +
+
+ +

We sent a verification link to your email address. Open it to continue to Coolify.

+
-
-
+ + + + Didn’t receive the email? + Check your spam folder or resend it. + + + + diff --git a/resources/views/invitation/accept.blade.php b/resources/views/invitation/accept.blade.php index 7e4773866..12c3ddbb6 100644 --- a/resources/views/invitation/accept.blade.php +++ b/resources/views/invitation/accept.blade.php @@ -1,43 +1,32 @@ -
-
-
-
-

- Coolify -

-
- -
-
-

Team Invitation

- -

- You have been invited to join: -

-

- {{ $team->name }} -

- -

- Role: {{ ucfirst($invitation->role) }} -

- - @if ($alreadyMember) -
-

You are already a member of this team.

-
- @endif - -
- @csrf - - {{ $alreadyMember ? 'Dismiss Invitation' : 'Accept Invitation' }} - -
-
-
+ +
+
+ +

You have been invited to collaborate on Coolify.

+ +
+
+
Team
+
{{ $team->name }}
+
+
+
Role
+
{{ ucfirst($invitation->role) }}
+
+
+ + @if ($alreadyMember) + You are already a member of this team. Dismiss the invitation to continue. + @endif + +
+ @csrf + + {{ $alreadyMember ? 'Dismiss invitation' : 'Accept invitation' }} + +
-
+
diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 05f794499..56a6e4f79 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -94,15 +94,16 @@ {{-- ============ MOBILE TOP BAR ============ --}}
-
- + -
+
{{-- Dev Server-Timing HUD docks here on
diff --git a/resources/views/livewire/switch-team.blade.php b/resources/views/livewire/switch-team.blade.php index ac772ba9d..5a0ad7caa 100644 --- a/resources/views/livewire/switch-team.blade.php +++ b/resources/views/livewire/switch-team.blade.php @@ -4,12 +4,12 @@ @endphp
{{-- Expanded: inline switcher (team name + up/down chevron) --}} -