From 0e27d1f46dc518800d749acf1e2a5788430be334 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Wed, 25 Jun 2025 10:56:35 +0200 Subject: [PATCH] fix(ui): update border styling for consistency across components and enhance loading indicators --- resources/css/utilities.css | 2 +- .../views/components/loading-on-button.blade.php | 2 +- resources/views/components/navbar.blade.php | 6 +++--- resources/views/livewire/boarding/index.blade.php | 12 ++++++------ .../views/livewire/notifications/discord.blade.php | 8 ++++---- .../views/livewire/notifications/email.blade.php | 14 ++++++++------ .../livewire/notifications/pushover.blade.php | 8 ++++---- .../views/livewire/notifications/slack.blade.php | 8 ++++---- .../livewire/notifications/telegram.blade.php | 8 ++++---- resources/views/livewire/profile/index.blade.php | 2 +- .../livewire/project/application/heading.blade.php | 6 +++--- .../project/application/rollback.blade.php | 7 ++++--- .../project/database/backup/execution.blade.php | 2 +- .../livewire/project/database/heading.blade.php | 8 ++++---- .../shared/environment-variable/show.blade.php | 2 +- .../livewire/project/shared/get-logs.blade.php | 4 ++-- .../project/shared/health-checks.blade.php | 7 ++++--- .../views/livewire/project/shared/logs.blade.php | 6 +++--- .../views/livewire/security/api-tokens.blade.php | 2 +- .../views/livewire/server/log-drains.blade.php | 2 +- resources/views/livewire/server/navbar.blade.php | 12 ++++++------ .../views/livewire/server/new/by-ip.blade.php | 4 +++- .../views/livewire/server/resources.blade.php | 8 ++++---- resources/views/livewire/settings-email.blade.php | 4 ++-- resources/views/livewire/settings-oauth.blade.php | 11 +++++++---- .../livewire/subscription/pricing-plans.blade.php | 14 +++++++------- 26 files changed, 89 insertions(+), 80 deletions(-) diff --git a/resources/css/utilities.css b/resources/css/utilities.css index 4993b2302..fe0cd10ed 100644 --- a/resources/css/utilities.css +++ b/resources/css/utilities.css @@ -122,7 +122,7 @@ } @utility navbar-main { - @apply flex flex-col gap-4 justify-items-start pb-2 border-b-2 border-solid h-fit md:flex-row sm:justify-between dark:border-coolgray-200 md:items-center; + @apply flex flex-col gap-4 justify-items-start pb-2 border-b-2 border-solid h-fit md:flex-row sm:justify-between dark:border-coolgray-200 border-neutral-200 md:items-center; } @utility loading { diff --git a/resources/views/components/loading-on-button.blade.php b/resources/views/components/loading-on-button.blade.php index 78a1f9726..a451023aa 100644 --- a/resources/views/components/loading-on-button.blade.php +++ b/resources/views/components/loading-on-button.blade.php @@ -3,7 +3,7 @@ @if (isset($text))
{{ $text }}
@endif - @endpersist @endif -
  • + {{--
  • @@ -372,7 +372,7 @@ Onboarding -
  • + --}}
  • @@ -410,7 +410,7 @@
    @csrf
    + Deployments - + Logs @if (!$application->destination->server->isSwarm()) - + Terminal @endif diff --git a/resources/views/livewire/project/application/rollback.blade.php b/resources/views/livewire/project/application/rollback.blade.php index cd49f4422..cf4467534 100644 --- a/resources/views/livewire/project/application/rollback.blade.php +++ b/resources/views/livewire/project/application/rollback.blade.php @@ -5,11 +5,11 @@
    You can easily rollback to a previously built (local) images quickly.
    -
    +
    @forelse ($images as $image)
    -
    +
    @if (data_get($image, 'is_current')) @@ -31,7 +31,7 @@ Rollback @else - Rollback @@ -44,4 +44,5 @@ @endforelse
    +
    Loading available docker images...
    diff --git a/resources/views/livewire/project/database/backup/execution.blade.php b/resources/views/livewire/project/database/backup/execution.blade.php index d778b5c2c..3e689645f 100644 --- a/resources/views/livewire/project/database/backup/execution.blade.php +++ b/resources/views/livewire/project/database/backup/execution.blade.php @@ -5,7 +5,7 @@

    Backups

    -
    +
    diff --git a/resources/views/livewire/project/database/heading.blade.php b/resources/views/livewire/project/database/heading.blade.php index 2eb4a09c2..3df3b0e53 100644 --- a/resources/views/livewire/project/database/heading.blade.php +++ b/resources/views/livewire/project/database/heading.blade.php @@ -11,16 +11,16 @@ class="flex overflow-x-scroll shrink-0 gap-6 items-center whitespace-nowrap sm:overflow-x-hidden scrollbar min-h-10"> - + Configuration - + Logs - + Terminal @if ( $database->getMorphClass() === 'App\Models\StandalonePostgresql' || @@ -29,7 +29,7 @@ $database->getMorphClass() === 'App\Models\StandaloneMariadb') - + Backups @endif diff --git a/resources/views/livewire/project/shared/environment-variable/show.blade.php b/resources/views/livewire/project/shared/environment-variable/show.blade.php index 514b39fc5..4015d06e8 100644 --- a/resources/views/livewire/project/shared/environment-variable/show.blade.php +++ b/resources/views/livewire/project/shared/environment-variable/show.blade.php @@ -2,7 +2,7 @@ $is_really_required, - 'dark:border-coolgray-300' => !$is_really_required, + 'dark:border-coolgray-300 border-neutral-200' => !$is_really_required, ])> @if ($isLocked)
    diff --git a/resources/views/livewire/project/shared/get-logs.blade.php b/resources/views/livewire/project/shared/get-logs.blade.php index 4a55bb019..a479a3c14 100644 --- a/resources/views/livewire/project/shared/get-logs.blade.php +++ b/resources/views/livewire/project/shared/get-logs.blade.php @@ -1,4 +1,4 @@ -
    +
    -
    Define how your resource's health should be checked.
    @if ($resource->custom_healthcheck_found) -
    A custom health check has been found and will be used until you enable this.
    +
    A custom health check has been found and will be used until you enable this. +
    @endif
    @@ -25,8 +26,8 @@
    - + diff --git a/resources/views/livewire/project/shared/logs.blade.php b/resources/views/livewire/project/shared/logs.blade.php index 3dc1fbe5b..87bb1a6b6 100644 --- a/resources/views/livewire/project/shared/logs.blade.php +++ b/resources/views/livewire/project/shared/logs.blade.php @@ -9,7 +9,7 @@

    Logs

    @if (str($status)->contains('exited')) -
    The resource is not running.
    +
    The resource is not running.
    @else
    Loading containers... @@ -44,7 +44,7 @@

    Logs

    @if (str($status)->contains('exited')) -
    The resource is not running.
    +
    The resource is not running.
    @else
    Loading containers... @@ -68,7 +68,7 @@

    Logs

    @if (str($status)->contains('exited')) -
    The resource is not running.
    +
    The resource is not running.
    @else
    Loading containers... diff --git a/resources/views/livewire/security/api-tokens.blade.php b/resources/views/livewire/security/api-tokens.blade.php index 2a10e53c8..eaf7a439d 100644 --- a/resources/views/livewire/security/api-tokens.blade.php +++ b/resources/views/livewire/security/api-tokens.blade.php @@ -47,7 +47,7 @@ @endif
    @if (in_array('root', $permissions)) -
    Root access, be careful!
    +
    Root access, be careful!
    @endif @if (session()->has('token')) diff --git a/resources/views/livewire/server/log-drains.blade.php b/resources/views/livewire/server/log-drains.blade.php index 1f7c654d5..080c0928b 100644 --- a/resources/views/livewire/server/log-drains.blade.php +++ b/resources/views/livewire/server/log-drains.blade.php @@ -13,7 +13,7 @@
    Sends service logs to 3rd party tools.
    -
    +

    New Relic

    diff --git a/resources/views/livewire/server/navbar.blade.php b/resources/views/livewire/server/navbar.blade.php index 0b843aba0..40d5d1c73 100644 --- a/resources/views/livewire/server/navbar.blade.php +++ b/resources/views/livewire/server/navbar.blade.php @@ -29,7 +29,7 @@ @endif
    + class="pl-2 pr-1 text-xs font-bold tracking-wider dark:text-warning"> Checking Ports Availability...
    @if ($proxyStatus !== 'exited') @@ -60,7 +60,7 @@ href="{{ route('server.show', [ 'server_uuid' => data_get($server, 'uuid'), ]) }}"> - + Configuration @if (!$server->isSwarmWorker() && !$server->settings->is_build_server) @@ -68,26 +68,26 @@ href="{{ route('server.proxy', [ 'server_uuid' => data_get($server, 'uuid'), ]) }}"> - + Proxy @endif - + Resources - + Terminal - + Security
    diff --git a/resources/views/livewire/server/new/by-ip.blade.php b/resources/views/livewire/server/new/by-ip.blade.php index 225a59a5a..94d0fccbd 100644 --- a/resources/views/livewire/server/new/by-ip.blade.php +++ b/resources/views/livewire/server/new/by-ip.blade.php @@ -27,7 +27,9 @@ @endforeach
    - +

    Swarm (experimental)

    diff --git a/resources/views/livewire/server/resources.blade.php b/resources/views/livewire/server/resources.blade.php index 86fea2041..6a0330259 100644 --- a/resources/views/livewire/server/resources.blade.php +++ b/resources/views/livewire/server/resources.blade.php @@ -13,8 +13,8 @@
    Here you can find all resources that are managed by Coolify.
    $activeTab === 'managed', + 'box-without-bg cursor-pointer dark:bg-coolgray-100 dark:text-white w-full text-center items-center justify-center', + 'dark:bg-coollabs bg-coollabs text-white' => $activeTab === 'managed', ]) wire:click="loadManagedContainers"> Managed
    @@ -22,8 +22,8 @@
    $activeTab === 'unmanaged', + 'box-without-bg cursor-pointer dark:bg-coolgray-100 dark:text-white w-full text-center items-center justify-center', + 'dark:bg-coollabs bg-coollabs text-white' => $activeTab === 'unmanaged', ]) wire:click="loadUnmanagedContainers"> Unmanaged
    diff --git a/resources/views/livewire/settings-email.blade.php b/resources/views/livewire/settings-email.blade.php index 4376cbf92..49c944998 100644 --- a/resources/views/livewire/settings-email.blade.php +++ b/resources/views/livewire/settings-email.blade.php @@ -28,7 +28,7 @@
    -
    +

    SMTP Server

    @@ -58,7 +58,7 @@
    -
    +

    Resend

    diff --git a/resources/views/livewire/settings-oauth.blade.php b/resources/views/livewire/settings-oauth.blade.php index 8ffad258f..b65d20164 100644 --- a/resources/views/livewire/settings-oauth.blade.php +++ b/resources/views/livewire/settings-oauth.blade.php @@ -15,7 +15,7 @@
    @foreach ($oauth_settings_map as $oauth_setting) -
    +

    {{ ucfirst($oauth_setting->provider) }}

    - + @if ($oauth_setting->provider == 'azure') @@ -37,7 +37,10 @@ helper="Optional parameter that supplies a hosted domain (HD) to Google, which
    triggers a login hint to be displayed on the OAuth screen with this domain.

    Google Documentation" label="Tenant" /> @endif - @if ($oauth_setting->provider == 'authentik' || $oauth_setting->provider == 'clerk' || $oauth_setting->provider == 'zitadel') + @if ( + $oauth_setting->provider == 'authentik' || + $oauth_setting->provider == 'clerk' || + $oauth_setting->provider == 'zitadel') @endif diff --git a/resources/views/livewire/subscription/pricing-plans.blade.php b/resources/views/livewire/subscription/pricing-plans.blade.php index 1c5cde63a..4c8f0e563 100644 --- a/resources/views/livewire/subscription/pricing-plans.blade.php +++ b/resources/views/livewire/subscription/pricing-plans.blade.php @@ -56,7 +56,7 @@

    - @@ -89,8 +89,8 @@
    • - unlimited servers
    • - unlimited applications per server
    • -
    • -