update history view with live polling and adjust image upload layout for responsiveness

main
Artem-Darius Weber 1 month ago
parent 2225751bc8
commit 513f8ce671

@ -3,7 +3,7 @@
История обработок
</x-slot>
<div class="p-4">
<div class="p-4" wire:poll.750ms>
<h1 class="text-2xl font-bold mb-4">История обработок</h1>
<table class="min-w-full border-collapse">
<thead>

@ -2,7 +2,7 @@
<h1 class="text-2xl font-bold">Загрузка изображений</h1>
<div class="flex space-x-4">
@for($i=0; $i<3; $i++)
<div class="border-2 border-dashed border-gray-300 w-32 h-32 flex items-center justify-center">
<div class="border-2 border-dashed border-gray-300 flex items-center justify-center w-1/3 h-32">
@if(isset($imagePreviews[$i]))
<img src="{{ $imagePreviews[$i] }}" class="object-cover w-full h-full" alt="Preview">
@else

Loading…
Cancel
Save