From 8a307ad2a3229426e1c8b6982f0f0fa8552bb529 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Mon, 20 Oct 2025 14:07:43 +0200 Subject: [PATCH] Changes auto-committed by Conductor --- resources/css/utilities.css | 9 +++ .../views/livewire/terminal/index.blade.php | 74 +++++++++---------- 2 files changed, 45 insertions(+), 38 deletions(-) diff --git a/resources/css/utilities.css b/resources/css/utilities.css index 0bced1ece..f819280d5 100644 --- a/resources/css/utilities.css +++ b/resources/css/utilities.css @@ -60,6 +60,15 @@ @utility select { @apply w-full; @apply input-select; @apply focus-visible:outline-none focus-visible:border-l-4 focus-visible:border-l-coollabs dark:focus-visible:border-l-warning; + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23000000'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9'/%3e%3c/svg%3e"); + background-position: right 0.5rem center; + background-repeat: no-repeat; + background-size: 1rem 1rem; + padding-right: 2.5rem; + + &:where(.dark, .dark *) { + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%23ffffff'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9'/%3e%3c/svg%3e"); + } } @utility button { diff --git a/resources/views/livewire/terminal/index.blade.php b/resources/views/livewire/terminal/index.blade.php index 0d6e7c559..56a8acae7 100644 --- a/resources/views/livewire/terminal/index.blade.php +++ b/resources/views/livewire/terminal/index.blade.php @@ -1,43 +1,41 @@
Terminal | Coolify - -

Terminal

-
-
Execute commands on your servers and containers without leaving the browser.
- -
-
- @if ($isLoadingContainers) -
- -
- @else - @if ($servers->count() > 0) -
- - @foreach ($servers as $server) - @if ($loop->first) - - @endif - - @foreach ($containers as $container) - @if ($container['server_uuid'] == $server->uuid) - - @endif - @endforeach - @endforeach - - Connect -
+ +

Terminal

+
+
Execute commands on your servers and containers without leaving the browser.
+ +
+
+ @if ($isLoadingContainers) +
+ +
@else -
No servers with terminal access found.
+ @if ($servers->count() > 0) +
+ + + @foreach ($servers as $server) + + @foreach ($containers as $container) + @if ($container['server_uuid'] == $server->uuid) + + @endif + @endforeach + @endforeach + + Connect +
+ @else +
No servers with terminal access found.
+ @endif @endif - @endif - -
-
+ +
+ \ No newline at end of file