From a2ba9a7c03f076f8e0c98fc0b9361811728c157b Mon Sep 17 00:00:00 2001 From: boban Date: Sun, 26 Apr 2026 22:52:34 +0200 Subject: [PATCH] =?UTF-8?q?UI:=20Update-Seite=20=C3=BCberarbeitet=20?= =?UTF-8?q?=E2=80=93=20sauberes=20mbx-Design,=20eine=20Karte?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- .../livewire/ui/system/update-page.blade.php | 227 ++++++++---------- 1 file changed, 100 insertions(+), 127 deletions(-) diff --git a/resources/views/livewire/ui/system/update-page.blade.php b/resources/views/livewire/ui/system/update-page.blade.php index 058cf81..bd45e3e 100644 --- a/resources/views/livewire/ui/system/update-page.blade.php +++ b/resources/views/livewire/ui/system/update-page.blade.php @@ -3,12 +3,10 @@
- {{-- Polling --}} @if($state === 'running' || $running)
@endif - {{-- ═══ Page Header ═══ --}}
@@ -18,21 +16,14 @@ Updates
- @if($hasUpdate) - @@ -42,119 +33,118 @@
- {{-- ═══ Version + Status (2-spaltig) ═══ --}} -
- - {{-- Versionen --}} -
-
-
- Versionsinformation -
- @if($state === 'running') - Update läuft … - @elseif($rc !== null && $rc !== 0) - Fehler (rc={{ $rc }}) - @elseif($hasUpdate) - Update verfügbar - @else - Aktuell - @endif + {{-- ═══ Versions-Karte ═══ --}} +
+
+
+ Versionsinformation
-
-
-
- -
-
-
Installierte Version
-
{{ $displayCurrent ?? '—' }}
-
+ @if($state === 'running') + + Update läuft … + + @elseif($rc !== null && $rc !== 0) + Fehler (rc={{ $rc }}) + @elseif($hasUpdate) + Update verfügbar + @else + Aktuell + @endif +
+ + {{-- Version-Zeile --}} +
+ + {{-- Installiert --}} +
+
Installiert
+
{{ $displayCurrent ?? '—' }}
+
+ + {{-- Pfeil --}} + @if($hasUpdate) +
+ +
+ @else +
+ +
+ @endif + + {{-- Verfügbar --}} +
+
Verfügbar
+
+ {{ $displayLatest ?? ($displayCurrent ?? '—') }}
-
-
-
- +
+ +
+ + {{-- Status-Zeile --}} +
+ @if($state === 'running') +
+
+
+ +
+
+
Update wird installiert …
+
Bitte nicht unterbrechen. Die Seite aktualisiert sich automatisch.
+
-
Verfügbare Version
-
- {{ $displayLatest ?? ($displayCurrent ?? '—') }} +
+ Fortschritt + {{ $progressPct }}% +
+
+
- @if(!$hasUpdate && $displayCurrent) -
- - Du bist auf dem neuesten Stand. -
- @endif -
-
- {{-- Status + Fortschritt --}} -
-
-
- Update-Status -
-
-
- - @if($state === 'running') -
-
- -
+ @elseif($rc !== null && $rc !== 0) +
+
-
Update wird installiert …
-
Bitte nicht unterbrechen.
+
Update fehlgeschlagen (rc={{ $rc }})
+
Bitte das Log unten prüfen. Der Mailserver bleibt weiterhin in Betrieb.
- @elseif($rc !== null && $rc !== 0) -
- -
-
Fehlgeschlagen (rc={{ $rc }})
-
Bitte das Log prüfen.
-
-
- @elseif($rc === 0) -
- - Update erfolgreich abgeschlossen. -
- @else -
Kein Update aktiv. Klicke "Auf Updates prüfen" um die neueste Version zu ermitteln.
- @endif - @if($state === 'running' || $progressPct > 0) -
-
- Fortschritt - {{ $progressPct }}% -
-
-
-
+ @elseif($rc === 0) +
+ + Update erfolgreich abgeschlossen.
- @endif -
+ @elseif($hasUpdate) +
+ + Eine neue Version ist verfügbar. Klicke auf "{{ $displayLatest }} installieren". +
+ + @else +
+ + Du bist auf dem neuesten Stand. +
+ @endif
- {{-- ═══ Log Viewer ═══ --}} + {{-- ═══ Log-Viewer ═══ --}}
Update-Log
-
@@ -211,11 +191,4 @@
- - -