@extends('layouts.app') @section('title', 'Alerts') @section('content')
{{ $alerts->total() }} alert(s) in this view.
| Alert | Device / site | Type | Severity | Count | First seen | Last seen | Status | |
|---|---|---|---|---|---|---|---|---|
|
{{ $alert->title }}
{{ \Illuminate\Support\Str::limit($alert->description, 90) }}
|
@if ($alert->device) {{ $alert->device->name }} @elseif ($alert->site) {{ $alert->site->name }} @else Network-wide @endif | {{ title_case_words($alert->type) }} | {{ $alert->severity }} | {{ $alert->occurrences }} | {{ $alert->first_triggered_at?->format('d M H:i') ?? $alert->created_at->format('d M H:i') }} | {{ $alert->last_triggered_at?->format('d M H:i') ?? '—' }} | {{ $alert->status }} | @if ($alert->status === 'active') @endif @if ($alert->status !== 'resolved') @endif @if (! $alert->ticket_id) @else ticketed @endif |
| @include('components.empty-state', ['icon' => '✓', 'title' => 'No alerts in this view', 'message' => 'Run a monitoring sweep to refresh the estate state.']) | ||||||||