From 6e01444ddb1f39c6fb1e6b63d83b11c4baeb6447 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 28 Jan 2025 11:59:30 +0100 Subject: [PATCH] refactor(ui): simplify GitHub App registration UI and layout --- .../livewire/source/github/change.blade.php | 80 ++++++++----------- 1 file changed, 32 insertions(+), 48 deletions(-) diff --git a/resources/views/livewire/source/github/change.blade.php b/resources/views/livewire/source/github/change.blade.php index 5a305b93d..5a37fa47a 100644 --- a/resources/views/livewire/source/github/change.blade.php +++ b/resources/views/livewire/source/github/change.blade.php @@ -14,31 +14,18 @@ @endif @if ($applications->count() > 0) - + @else - + @endif @@ -166,8 +153,7 @@ {{ data_get($resource, 'environment.name') }} {{ $resource->name }} @@ -190,21 +176,13 @@

GitHub App

- +
-
+
You must complete this step before you can use this source!
-
-

Register a GitHub App

- - Register Now - -
-
You need to register a GitHub App before using this source.
-
+
@if (!isCloud() || isDev())
Use {{ config('app.url') }} @endif + + Register Now +
+ @else +
+

Register a GitHub App

+ + Register Now + +
+
You need to register a GitHub App before using this source.
@endif +