32 lines
1.1 KiB
PHP
32 lines
1.1 KiB
PHP
{{-- @if ($getState())
|
|
<div class="p-4 text-center">
|
|
<img src="{{ $getState() }}"
|
|
onerror="this.onerror=null; this.src='{{ asset('images/not-found.png') }}'"
|
|
class="rounded shadow mx-auto"
|
|
style="width: 400px; height: 400px; object-fit: contain;" />
|
|
</div>
|
|
@else
|
|
<div class="p-4 text-center">
|
|
<img src="{{ asset('images/not-found.png') }}"
|
|
class="rounded shadow mx-auto"
|
|
style="width: 400px; height: 400px; object-fit: contain;" />
|
|
</div>
|
|
@endif --}}
|
|
|
|
@if ($getState())
|
|
<div class="p-4 text-center">
|
|
<img src="{{ $getState() }}?v={{ time() }}"
|
|
onerror="this.onerror=null; this.src='{{ asset('images/not-found.png') }}'"
|
|
class="rounded shadow mx-auto"
|
|
style="width: 200px; height: 200px; object-fit: contain;" />
|
|
</div>
|
|
@else
|
|
<div class="p-4 text-center">
|
|
<img src="{{ asset('images/not-found.png') }}"
|
|
class="rounded shadow mx-auto"
|
|
style="width: 200px; height: 200px; object-fit: contain;" />
|
|
</div>
|
|
@endif
|
|
|
|
|