From 453956172b3a3c416bc9ee1230fd055c349cbc2d Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Mon, 26 Feb 2024 09:32:28 +0100 Subject: [PATCH] Refactor show.blade.php to improve code readability --- .../livewire/project/application/deployment/show.blade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/livewire/project/application/deployment/show.blade.php b/resources/views/livewire/project/application/deployment/show.blade.php index e7f74b8a6..6eabd859c 100644 --- a/resources/views/livewire/project/application/deployment/show.blade.php +++ b/resources/views/livewire/project/application/deployment/show.blade.php @@ -51,9 +51,9 @@ @if (decode_remote_command_output($application_deployment_queue)->count() > 0) @foreach (decode_remote_command_output($application_deployment_queue) as $line)
$line['hidden'], - 'text-red-500' => $line['type'] == 'stderr', + 'font-mono', + 'text-warning whitespace-pre-line' => $line['hidden'], + 'text-red-500 whitespace-pre-line' => $line['type'] == 'stderr', ])>[{{ $line['timestamp'] }}] @if ($line['hidden'])
COMMAND:
{{ $line['command'] }}

OUTPUT: @endif @if (str($line['output'])->contains('http://') || str($line['output'])->contains('https://'))