An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
feat(ui): Improve GitHub repository selection and styling
Andras Bacsaie8b3f68e6608
diff --git a/resources/css/app.css b/resources/css/app.cssindex f89d65d802..175ac32596 100644--- a/resources/css/app.css+++ b/resources/css/app.css@@ -25,11 +25,6 @@ body {@apply hidden !important;}-.input,-.select {- @apply text-black dark:bg-coolgray-100 dark:text-white ring-neutral-200 dark:ring-coolgray-300;-}-.input-sticky {@apply text-black dark:bg-coolgray-100 dark:text-white ring-neutral-200 dark:ring-coolgray-300 focus:ring-2 dark:focus:ring-coolgray-300 focus:ring-neutral-400 block w-full py-1.5 rounded border-0 text-sm ring-1 ring-inset;}@@ -51,7 +46,11 @@ body {.input,.select {- @apply block w-full py-1.5 rounded border-0 text-sm ring-1 ring-inset;+ @apply text-black dark:bg-coolgray-100 dark:text-white ring-neutral-200 dark:ring-coolgray-300 block w-full py-1.5 rounded border-0 text-sm ring-1 ring-inset;+}++.select {+ @apply w-full;}.input[type="password"] {diff --git a/resources/views/livewire/project/new/github-private-repository.blade.php b/resources/views/livewire/project/new/github-private-repository.blade.phpindex 94779e714f..f4175cf211 100644--- a/resources/views/livewire/project/new/github-private-repository.blade.php+++ b/resources/views/livewire/project/new/github-private-repository.blade.php@@ -15,9 +15,9 @@</div><div class="pb-4">Deploy any public or private Git repositories through a GitHub App.</div>@if ($github_apps->count() !== 0)- <h2 class="pt-4 pb-4">Select a Github App</h2><div class="flex flex-col gap-2">@if ($current_step === 'github_apps')+ <h2 class="pt-4 pb-4">Select a Github App</h2><div class="flex flex-col justify-center gap-2 text-left">@foreach ($github_apps as $ghapp)<div class="flex">@@ -43,25 +43,28 @@@endif@if ($current_step === 'repository')@if ($repositories->count() > 0)- <div class="flex items-end gap-2">- <x-forms.select class="w-full" label="Repository" wire:model="selected_repository_id">- @foreach ($repositories as $repo)- @if ($loop->first)- <option selected value="{{ data_get($repo, 'id') }}">- {{ data_get($repo, 'name') }}- </option>- @else- <option value="{{ data_get($repo, 'id') }}">{{ data_get($repo, 'name') }}- </option>- @endif- @endforeach- </x-forms.select>+ <div class="flex flex-col gap-2 pb-6">+ <div class="flex gap-2">+ <x-forms.select class="w-full" label="Repository" wire:model="selected_repository_id">+ @foreach ($repositories as $repo)+ @if ($loop->first)+ <option selected value="{{ data_get($repo, 'id') }}">+ {{ data_get($repo, 'name') }}+ </option>+ @else+ <option value="{{ data_get($repo, 'id') }}">{{ data_get($repo, 'name') }}+ </option>+ @endif+ @endforeach+ </x-forms.select>+ </div><x-forms.button wire:click.prevent="loadBranches"> Load Repository </x-forms.button></div>@else<div>No repositories found. Check your GitHub App configuration.</div>@endif@if ($branches->count() > 0)+ <h2 class="text-lg font-bold">Configuration</h2><div class="flex flex-col gap-2 pb-6"><form class="flex flex-col" wire:submit='submit'><div class="flex flex-col gap-2 pb-6">