diff --git a/resources/views/livewire/ui/system/backup-status-card.blade.php b/resources/views/livewire/ui/system/backup-status-card.blade.php index 6099af2..1102bb8 100644 --- a/resources/views/livewire/ui/system/backup-status-card.blade.php +++ b/resources/views/livewire/ui/system/backup-status-card.blade.php @@ -1,20 +1,86 @@ -
-
+
+
Backups
- + +
-
-
Letztes Backup: {{ $lastAt ?? '–' }}
-
Größe: {{ $lastSize ?? '–' }}
-
Dauer: {{ $lastDuration ?? '–' }}
-
- - {{ $ok === null ? 'unbekannt' : ($ok ? 'erfolgreich' : 'fehlgeschlagen') }} - + + {{-- Laufender Fortschritt --}} + @if($state === 'running') +
+
Sicherung läuft…
+
    + @foreach($steps as $k => $label) + @php + $done = $k === 'finish' ? false : ($k === $step ? false : (array_key_first(array_flip($steps)) !== $k && $k !== $step && $step && array_search($k, array_keys($steps)) < array_search($step, array_keys($steps)))); + $isCurrent = $k === $step; + @endphp +
  • + + + {{ $label }} + +
  • + @endforeach +
-
+ @else + {{-- Letztes Ergebnis --}} +
+
Letztes Backup: + {{ $lastAt ?? '–' }} +
+
Größe: + {{ $lastSize ?? '–' }} +
+
Dauer: + {{ $lastDuration ?? '–' }} +
+
+ + {{ $ok === null ? 'unbekannt' : ($ok ? 'erfolgreich' : 'fehlgeschlagen') }} + +
+
+ @endif
+{{--
--}} +{{--
--}} +{{--
--}} +{{-- --}} +{{-- Backups--}} +{{--
--}} +{{-- --}} +{{--
--}} +{{--
--}} +{{--
Letztes Backup: {{ $lastAt ?? '–' }}
--}} +{{--
Größe: {{ $lastSize ?? '–' }}
--}} +{{--
Dauer: {{ $lastDuration ?? '–' }}
--}} +{{--
--}} +{{-- --}} +{{-- {{ $ok === null ? 'unbekannt' : ($ok ? 'erfolgreich' : 'fehlgeschlagen') }}--}} +{{-- --}} +{{--
--}} +{{--
--}} +{{--
--}}