Skip to content

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.

Refactor error message styling in deployment show.blade.php

Andras Bacsai17955fc41949
diff --git a/resources/views/livewire/project/application/deployment/show.blade.php b/resources/views/livewire/project/application/deployment/show.blade.php
index 8249a10290..edb2a0f723 100644
--- a/resources/views/livewire/project/application/deployment/show.blade.php
+++ b/resources/views/livewire/project/application/deployment/show.blade.php
@@ -87,9 +87,9 @@
@foreach (decode_remote_command_output($application_deployment_queue) as $line)
<span @class([
'dark:text-warning whitespace-pre-line' => $line['hidden'],
- 'text-red-500 font-bold whitespace-pre-line' => $line['type'] == 'stderr',
+ 'text-red-500 font-bold' => $line['type'] == 'stderr',
])>[{{ $line['timestamp'] }}] @if ($line['hidden'])
- <br><br>COMMAND: {{ $line['command'] }}<br><br>OUTPUT :
+ <br><br>[COMMAND] {{ $line['command'] }}<br>[OUTPUT]
@endif @if (str($line['output'])->contains('http://') || str($line['output'])->contains('https://'))
@php
$line['output'] = preg_replace(
@@ -100,8 +100,8 @@
@endphp {!! $line['output'] !!}
@else
{{ $line['output'] }}
+
@endif
- <br>
</span>
@endforeach
@else