diff --git a/lang/de/shell.php b/lang/de/shell.php index f66c429..3f8d6f7 100644 --- a/lang/de/shell.php +++ b/lang/de/shell.php @@ -26,6 +26,7 @@ return [ 'nav_versions' => 'Version', 'nav_help' => 'Hilfe', 'update_available' => 'Update verfügbar', + 'threats_badge' => ':count Login-Versuche (24h)', // Sidebar — user / 2FA badge 'twofa_on' => '2FA aktiv', diff --git a/lang/en/shell.php b/lang/en/shell.php index 0a68808..056edf5 100644 --- a/lang/en/shell.php +++ b/lang/en/shell.php @@ -26,6 +26,7 @@ return [ 'nav_versions' => 'Version', 'nav_help' => 'Help', 'update_available' => 'Update available', + 'threats_badge' => ':count login attempts (24h)', // Sidebar — user / 2FA badge 'twofa_on' => '2FA on', diff --git a/resources/css/app.css b/resources/css/app.css index 7e1c642..2692eaf 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -85,7 +85,7 @@ --color-line-soft: rgba(255, 255, 255, 0.055); --color-line-strong: rgba(255, 255, 255, 0.17); - /* fonts — TODO(§12): self-host the .woff2; falls back until then */ + /* fonts — self-hosted .woff2 via the @font-face blocks above (R14); system stack is the fallback */ --font-display: 'Chakra Petch', ui-sans-serif, system-ui, sans-serif; --font-sans: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif; --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace; diff --git a/resources/views/components/nav-item.blade.php b/resources/views/components/nav-item.blade.php index d548575..d681835 100644 --- a/resources/views/components/nav-item.blade.php +++ b/resources/views/components/nav-item.blade.php @@ -1,4 +1,4 @@ -@props(['icon', 'href' => '#', 'active' => false, 'badge' => null]) +@props(['icon', 'href' => '#', 'active' => false, 'badge' => null, 'badgeTitle' => null]) class([ 'group flex min-h-11 items-center gap-3 rounded-md border px-3 py-2 text-sm transition-colors', 'border-accent/25 bg-accent/10 text-ink shadow-[inset_2px_0_0_var(--color-accent)]' => $active, @@ -9,6 +9,6 @@ {{ $slot }} @if ($badge !== null && $badge !== '') {{ $badge }} + @if ($badgeTitle) title="{{ $badgeTitle }}" @endif>{{ $badge }} @endif diff --git a/resources/views/components/sidebar.blade.php b/resources/views/components/sidebar.blade.php index 42256a2..b96328f 100644 --- a/resources/views/components/sidebar.blade.php +++ b/resources/views/components/sidebar.blade.php @@ -51,9 +51,9 @@ {{ __('shell.nav_settings') }} {{ __('shell.nav_system') }} @can('manage-panel') - {{ __('shell.nav_threats') }} + {{ __('shell.nav_threats') }} @endcan - {{ __('shell.nav_versions') }} + {{ __('shell.nav_versions') }} @if (config('clusev.release_controls')) {{ __('release.nav') }} diff --git a/resources/views/livewire/modals/add-ssh-key.blade.php b/resources/views/livewire/modals/add-ssh-key.blade.php index 0ceab7d..f08fbb2 100644 --- a/resources/views/livewire/modals/add-ssh-key.blade.php +++ b/resources/views/livewire/modals/add-ssh-key.blade.php @@ -10,13 +10,13 @@
- +
-
+
diff --git a/resources/views/livewire/modals/fail2ban-config.blade.php b/resources/views/livewire/modals/fail2ban-config.blade.php index 4339e43..b21d8df 100644 --- a/resources/views/livewire/modals/fail2ban-config.blade.php +++ b/resources/views/livewire/modals/fail2ban-config.blade.php @@ -46,7 +46,7 @@
{{ $loaded ? __('common.cancel') : __('common.close') }} @if ($loaded) - + {{ __('common.save') }} diff --git a/resources/views/livewire/modals/file-editor.blade.php b/resources/views/livewire/modals/file-editor.blade.php index 3cc3c1b..6fad464 100644 --- a/resources/views/livewire/modals/file-editor.blade.php +++ b/resources/views/livewire/modals/file-editor.blade.php @@ -4,8 +4,8 @@
-

{{ $name }}

-

{{ $path }}

+

{{ $name }}

+

{{ $path }}

diff --git a/resources/views/livewire/modals/hardening-action.blade.php b/resources/views/livewire/modals/hardening-action.blade.php index 3ec8397..615beae 100644 --- a/resources/views/livewire/modals/hardening-action.blade.php +++ b/resources/views/livewire/modals/hardening-action.blade.php @@ -38,7 +38,7 @@ @else {{ __('common.cancel') }} @unless ($error) - + {{ __('common.apply') }} diff --git a/resources/views/livewire/modals/system-update.blade.php b/resources/views/livewire/modals/system-update.blade.php index 0acf182..4e07ded 100644 --- a/resources/views/livewire/modals/system-update.blade.php +++ b/resources/views/livewire/modals/system-update.blade.php @@ -78,7 +78,7 @@ @else {{ __('common.cancel') }} @if (! $error && $supported) - + {{ __('modals.system_update.submit') }} diff --git a/resources/views/livewire/servers/index.blade.php b/resources/views/livewire/servers/index.blade.php index de164bc..8ff979d 100644 --- a/resources/views/livewire/servers/index.blade.php +++ b/resources/views/livewire/servers/index.blade.php @@ -71,7 +71,7 @@ @empty -

{{ __('sessions.none') }}

+

{{ __('sessions.none') }}

@endforelse
diff --git a/resources/views/livewire/settings/users.blade.php b/resources/views/livewire/settings/users.blade.php index 6ad7a06..1ace7dd 100644 --- a/resources/views/livewire/settings/users.blade.php +++ b/resources/views/livewire/settings/users.blade.php @@ -58,7 +58,7 @@
@empty -

{{ __('accounts.none') }}

+

{{ __('accounts.none') }}

@endforelse diff --git a/resources/views/livewire/settings/webauthn-keys.blade.php b/resources/views/livewire/settings/webauthn-keys.blade.php index 4990581..35eba2f 100644 --- a/resources/views/livewire/settings/webauthn-keys.blade.php +++ b/resources/views/livewire/settings/webauthn-keys.blade.php @@ -24,14 +24,14 @@ @empty -

{{ __('auth.webauthn_none') }}

+

{{ __('auth.webauthn_none') }}

@endforelse
- + {{ __('auth.webauthn_add') }}