From ac58a571909b1d5928c493c37c0cc53e3b493cdb Mon Sep 17 00:00:00 2001 From: Alexander Gabriel Date: Wed, 1 Jul 2026 14:45:08 +0200 Subject: [PATCH] recent photos right, no hang of camera --- .../views/livewire/camera-capture.blade.php | 159 ++++++++++-------- 1 file changed, 92 insertions(+), 67 deletions(-) diff --git a/resources/views/livewire/camera-capture.blade.php b/resources/views/livewire/camera-capture.blade.php index 9454f18..96c6bfb 100644 --- a/resources/views/livewire/camera-capture.blade.php +++ b/resources/views/livewire/camera-capture.blade.php @@ -1,80 +1,105 @@
+ x-data="{ lightbox: null, deleteConfirmId: null }" + x-on:keydown.escape.window="lightbox = null; deleteConfirmId = null"> -
- +
+
+
+ - + -
+
- + +
+ +
+ + + + + +
{{ $status }}
-
-
- -
- - - - - -
{{ $status }}
- - @if ($recentPhotos->isNotEmpty()) -
-

Fotos

-
- @foreach ($recentPhotos as $photo) -
- @if ($photo['status'] === 'processing') -
- Photo #{{ $photo['id'] }} -
- - - - + @if ($recentPhotos->isNotEmpty()) +
+

Fotos

+
+ @foreach ($recentPhotos as $photo) +
+ @if ($photo['status'] === 'processing') +
+ Photo #{{ $photo['id'] }} +
+ + + + +
-
- @else - Photo #{{ $photo['id'] }} - - @endif - - {{ $photo['status'] }} - -
- @endforeach + @else + Photo #{{ $photo['id'] }} + + @endif + + {{ $photo['status'] }} + +
+ @endforeach +
+
+ @endif +
+ + {{-- Delete confirmation --}} + {{-- Lightbox --}}