Files
jabali-panel/resources/views/filament/admin/pages/waf.blade.php
2026-01-27 23:38:27 +02:00

22 lines
792 B
PHP

<x-filament-panels::page>
@if(! $wafInstalled)
<x-filament::section icon="heroicon-o-exclamation-triangle" icon-color="warning">
<x-slot name="heading">{{ __('ModSecurity not detected') }}</x-slot>
<x-slot name="description">
{{ __('Install ModSecurity on the server to enable WAF controls. Settings can be saved now and applied later.') }}
</x-slot>
</x-filament::section>
@endif
<div class="mt-6">
{{ $this->wafForm }}
<div class="mt-4">
<x-filament::button wire:click="saveWafSettings" icon="heroicon-o-check">
{{ __('Save WAF Settings') }}
</x-filament::button>
</div>
</div>
<x-filament-actions::modals />
</x-filament-panels::page>