Added part validation error images
This commit is contained in:
BIN
public/images/not-found.png
Normal file
BIN
public/images/not-found.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.3 KiB |
@@ -0,0 +1,31 @@
|
|||||||
|
{{-- @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
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
{{-- @if ($getState())
|
||||||
|
<div class="p-4 text-center">
|
||||||
|
<img src="{{ $getState() }}"
|
||||||
|
class="rounded shadow mx-auto"
|
||||||
|
style="width: 400px; height: 400px; object-fit: contain;" />
|
||||||
|
</div>
|
||||||
|
@endif --}}
|
||||||
|
|
||||||
|
{{-- @if (!empty($image))
|
||||||
|
<div class="mt-2">
|
||||||
|
<img src="{{ $image }}" alt="Part Validation Error Image" style="width: 200px; height: auto;">
|
||||||
|
</div>
|
||||||
|
@endif --}}
|
||||||
|
|
||||||
|
@if (!empty($image))
|
||||||
|
<div class="mt-2">
|
||||||
|
<img src="{{ $image }}" alt="Part Validation Error Image" style="width: 200px; height: auto;">
|
||||||
|
</div>
|
||||||
|
@else
|
||||||
|
<div class="mt-2">
|
||||||
|
<img src="{{ asset('images/not-found.png') }}" alt="Image Not Found" style="width: 200px; height: auto;">
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user