TenantAtlas/resources/views/filament/pages/monitoring/alerts.blade.php
2026-02-18 15:25:14 +01:00

34 lines
1.5 KiB
PHP

<x-filament-panels::page>
<x-filament::section>
<div class="flex flex-col gap-3">
<div class="text-sm text-gray-600 dark:text-gray-300">
Configure alert targets and rules, then review delivery history.
</div>
<div class="flex flex-wrap gap-3">
@if (\App\Filament\Resources\AlertDestinationResource::canViewAny())
<x-filament::button tag="a" :href="\App\Filament\Resources\AlertDestinationResource::getUrl(panel: 'admin')">
Alert targets
</x-filament::button>
@endif
@if (\App\Filament\Resources\AlertRuleResource::canViewAny())
<x-filament::button tag="a" :href="\App\Filament\Resources\AlertRuleResource::getUrl(panel: 'admin')">
Alert rules
</x-filament::button>
@endif
@if (\App\Filament\Resources\AlertDeliveryResource::canViewAny())
<x-filament::button tag="a" :href="\App\Filament\Resources\AlertDeliveryResource::getUrl(panel: 'admin')">
Alert deliveries
</x-filament::button>
@endif
<x-filament::button tag="a" color="gray" :href="route('admin.monitoring.audit-log')">
Audit Log
</x-filament::button>
</div>
</div>
</x-filament::section>
</x-filament-panels::page>