diff --git a/lang/de/system.php b/lang/de/system.php index f9ea54f..5bcdfe7 100644 --- a/lang/de/system.php +++ b/lang/de/system.php @@ -9,6 +9,10 @@ return [ 'https_active' => 'HTTPS aktiv', 'https_plain' => 'Klartext-HTTP', + // Section labels (redesigned 2-column layout) + 'section_config' => 'Konfiguration', + 'section_status' => 'Status & Wiederherstellung', + // Domain & TLS panel 'tls_title' => 'Domain & TLS', 'tls_subtitle' => 'Erreichbarkeit des Panels und Let\'s-Encrypt-Zertifikat', diff --git a/lang/en/system.php b/lang/en/system.php index d277cf0..64fcbc7 100644 --- a/lang/en/system.php +++ b/lang/en/system.php @@ -9,6 +9,10 @@ return [ 'https_active' => 'HTTPS active', 'https_plain' => 'Plaintext HTTP', + // Section labels (redesigned 2-column layout) + 'section_config' => 'Configuration', + 'section_status' => 'Status & recovery', + // Domain & TLS panel 'tls_title' => 'Domain & TLS', 'tls_subtitle' => 'Panel reachability and Let\'s Encrypt certificate', diff --git a/resources/views/livewire/system/index.blade.php b/resources/views/livewire/system/index.blade.php index 5f2f7b2..3a8c110 100644 --- a/resources/views/livewire/system/index.blade.php +++ b/resources/views/livewire/system/index.blade.php @@ -1,4 +1,4 @@ -
{{ __('system.subheading') }}
{{ __('system.tls_active_title') }}
-{{ __('system.tls_active_body_pre') }} - {{ $panelUrl }} · - {{ __('system.tls_active_body_post') }}
-{{ __('system.tls_bare_title') }}
-{{ __('system.tls_bare_body') }}
-{{ __('system.ssh_reset_hint') }}
-{{ __('system.restart_title') }}
-{{ __('system.restart_body') }}
+ {{-- ── Critical alerts (full-width, above the grid) ───────────────────────── + Restart-required and bare-IP notices stay prominent banners — never buried + in a sidebar. --}} + {{-- Restart-required notice (shown after a successful save). One-click: the button + writes a sentinel a HOST-side watcher reacts to and restarts the stack — the + container never gets the Docker socket. No terminal needed. --}} + @if ($restartPending) +{{ __('system.restart_title') }}
+{{ __('system.restart_body') }}
++
{{ __('system.restart_watcher_hint') }}
+{{ __('system.restart_lockout_hint') }}
+{{ __('system.tls_bare_title') }}
+{{ __('system.tls_bare_body') }}
+{{ __('system.section_config') }}
+ +{{ $message }}
+ @enderror +{{ __('system.domain_help') }}
+{{ __('system.tls_mode_title') }}
+ + {{-- Segmented control (mirrors the channel selector) --}} ++ @if ($tlsMode === 'caddy') + {{ __('system.tls_mode_caddy_desc') }} + @else + {{ __('system.tls_mode_external_desc') }} + @endif +
+{{ __('system.tls_external_hint') }}
{{ __('system.restart_watcher_hint') }}
-{{ __('system.restart_lockout_hint') }}
{{ $message }}
- @enderror -{{ __('system.domain_help') }}
-{{ __('system.access_address') }}
+@if ($panelUrl) {{ $panelUrl }} @else {{ __('system.access_bare_ip') }} @endif - -
{{ __('system.tls_mode_title') }}
- - {{-- Segmented control (mirrors the channel selector) --}} -- @if ($tlsMode === 'caddy') - {{ __('system.tls_mode_caddy_desc') }} - @else - {{ __('system.tls_mode_external_desc') }} - @endif
{{ __('system.tls_external_hint') }}
+ {{-- Current TLS state --}} + @if ($hasTls) +{{ __('system.tls_active_title') }}
+{{ __('system.tls_active_body_pre') }} + {{ $panelUrl }} · + {{ __('system.tls_active_body_post') }}
+{{ __('system.tls_bare_title') }}
+{{ __('system.tls_bare_body') }}
+{{ __('system.ssh_reset_hint') }}