Fix formatting in deployment show.blade.php file

This commit is contained in:
Andras Bacsai
2024-04-10 21:15:23 +02:00
parent fb614637a9
commit 0d78b44c80

View File

@@ -88,7 +88,7 @@
'dark:text-warning whitespace-pre-line' => $line['hidden'], 'dark:text-warning whitespace-pre-line' => $line['hidden'],
'text-red-500 font-bold whitespace-pre-line' => $line['type'] == 'stderr', 'text-red-500 font-bold whitespace-pre-line' => $line['type'] == 'stderr',
])>[{{ $line['timestamp'] }}] @if ($line['hidden']) ])>[{{ $line['timestamp'] }}] @if ($line['hidden'])
<br>COMMAND: {{ $line['command'] }}<br>OUTPUT : <br><br>COMMAND: {{ $line['command'] }}<br><br>OUTPUT :
@endif @if (str($line['output'])->contains('http://') || str($line['output'])->contains('https://')) @endif @if (str($line['output'])->contains('http://') || str($line['output'])->contains('https://'))
@php @php
$line['output'] = preg_replace( $line['output'] = preg_replace(
@@ -100,6 +100,7 @@
@else @else
{{ $line['output'] }} {{ $line['output'] }}
@endif @endif
<br>
</span> </span>
@endforeach @endforeach
@else @else