{{ __('admin.admin_title') }}

{{-- Tab Navigation --}}
{{-- ============================================================ --}} {{-- Tab: Rollenmanagement --}} {{-- ============================================================ --}}
@csrf @method('PUT')

{{ __('admin.features_description') }}

@php $features = [ 'statistics' => __('admin.feature_statistics'), 'finances' => __('admin.feature_finances'), 'catering' => __('admin.feature_catering'), 'timekeepers' => __('admin.feature_timekeepers'), 'carpools' => __('admin.feature_carpools'), 'comments' => __('admin.feature_comments'), 'files' => __('admin.feature_files'), 'faqs' => __('admin.feature_faqs'), 'list_generator' => __('admin.feature_list_generator'), 'invitations' => __('admin.feature_invitations'), 'player_stats' => __('admin.feature_player_stats'), ]; $roles = [ 'coach' => __('ui.enums.user_role.coach'), 'parent_rep' => __('ui.enums.user_role.parent_rep'), ]; @endphp
@foreach ($features as $featureKey => $featureLabel) @php $globalKey = "feature_{$featureKey}"; $globalValue = $featureSettings[$globalKey]->value ?? '1'; @endphp
{{-- Global Toggle --}}

{{ $featureLabel }}

{{-- Pro-Rolle Toggles --}}
@foreach ($roles as $roleKey => $roleLabel) @php $settingKey = "visibility_{$featureKey}_{$roleKey}"; $currentValue = $visibilitySettings[$settingKey]->value ?? '1'; @endphp @endforeach
@endforeach
{{ __('ui.cancel') }}
{{-- ============================================================ --}} {{-- Tab: E-Mail --}} {{-- ============================================================ --}}
@csrf @method('PUT')

{{ __('admin.mail_config_title') }}

{{ __('admin.mail_config_hint') }}

{{-- Versandmethode --}}
{{-- SMTP-Felder --}}
@error('mail_host')

{{ $message }}

@enderror
@error('mail_port')

{{ $message }}

@enderror
@error('mail_username')

{{ $message }}

@enderror
@error('mail_password')

{{ $message }}

@enderror
@error('mail_from_address')

{{ $message }}

@enderror
{{-- SMTP-Test --}}

{{-- ============================================================ --}} {{-- Tab: Lizenz & Support --}} {{-- ============================================================ --}}
{{-- License Key --}}
@csrf @method('PUT')

{{ __('admin.license_title') }}

{{ __('admin.license_description') }}

{{-- Registration Status --}}

{{ __('admin.registration_status') }}

@if ($isRegistered)
{{ __('admin.registration_active') }}

Installation-ID: {{ $installationId }}

@else
{{ __('admin.registration_inactive') }}
@endif
{{-- Registration (nur wenn nicht registriert) --}} @if (!$isRegistered)

{{ __('admin.support_not_registered') }}

@csrf
@endif {{-- System Info --}}

{{ __('admin.version_info') }}

App-Version:
{{ config('app.version') }}
PHP:
{{ PHP_VERSION }}
Laravel:
{{ app()->version() }}
Datenbank:
{{ config('database.default') }}
@if ($updateInfo && version_compare($updateInfo['latest_version'] ?? '0', config('app.version'), '>'))

{{ __('admin.update_available', ['version' => $updateInfo['latest_version']]) }}

@if ($updateInfo['changelog'] ?? null)

{{ $updateInfo['changelog'] }}

@endif @if (($updateInfo['download_url'] ?? null) && str_starts_with($updateInfo['download_url'], 'https://')) {{ __('admin.download_update') }} @endif
@endif
{{-- ============================================================ --}} {{-- Tab: Wartung --}} {{-- ============================================================ --}}

{{ __('admin.demo_data_delete_title') }}

{{ __('admin.demo_data_delete_description') }}

{{ __('admin.demo_data_deletes') }}

  • {{ __('admin.stat_users') }} ({{ __('admin.demo_data_except_admin') }})
  • {{ __('admin.nav_teams') }}
  • {{ __('admin.nav_players') }}
  • {{ __('admin.nav_events') }}
  • Kommentare
  • {{ __('admin.nav_locations') }}
  • {{ __('admin.nav_files') }}
  • {{ __('admin.activity_log_title') }}

{{ __('admin.demo_data_keeps') }}

  • {{ __('admin.demo_data_keeps_admin') }}
  • {{ __('admin.nav_settings') }}
  • {{ __('admin.settings_tab_categories') }}

{{ __('admin.demo_data_delete_warning') }}

@csrf @method('DELETE')
{{-- Factory Reset --}}

{{ __('admin.factory_reset_title') }}

{{ __('admin.factory_reset_description') }}

{{ __('admin.factory_reset_deletes') }}

  • {{ __('admin.factory_reset_item_users') }}
  • {{ __('admin.factory_reset_item_data') }}
  • {{ __('admin.factory_reset_item_settings') }}
  • {{ __('admin.factory_reset_item_files') }}

{{ __('admin.factory_reset_warning') }}

@csrf @method('DELETE')

{{ __('admin.factory_reset_confirmation_hint') }}

{{-- ============================================================ --}} {{-- Tab: Aktivitätslog --}} {{-- ============================================================ --}}

{{ __('admin.activity_recent') }}

{{ __('admin.activity_log_title') }} →
@forelse ($recentLogs as $log) @php $actionColors = [ 'login' => 'bg-green-100 text-green-800', 'logout' => 'bg-gray-100 text-gray-800', 'login_failed' => 'bg-red-100 text-red-800', 'registered' => 'bg-blue-100 text-blue-800', 'created' => 'bg-blue-100 text-blue-800', 'updated' => 'bg-yellow-100 text-yellow-800', 'deleted' => 'bg-red-100 text-red-800', 'restored' => 'bg-green-100 text-green-800', 'toggled_active' => 'bg-yellow-100 text-yellow-800', 'role_changed' => 'bg-purple-100 text-purple-800', 'password_reset' => 'bg-orange-100 text-orange-800', 'reverted' => 'bg-orange-100 text-orange-800', ]; $color = $actionColors[$log->action] ?? 'bg-gray-100 text-gray-800'; @endphp @empty @endforelse
{{ __('admin.log_time') }} {{ __('admin.log_user') }} {{ __('admin.log_action') }} {{ __('admin.log_description') }}
{{ $log->created_at->format('d.m. H:i') }} {{ $log->user?->name ?? __('admin.log_system') }} {{ $log->action }} {{ $log->description }}
{{ __('admin.log_empty') }}
@push('scripts') @endpush