{{-- Bootstrap 5 --}} {{-- Bootstrap Icons --}} {{-- Google Fonts --}} {{-- Existing CSS --}} {{-- Chart.js --}} @php $isTownUser = auth()->check() && auth()->user()->email == 'town@cisnr.com' && auth()->user()->ugroups == 'company'; @endphp
{{-- Header --}}

CISNR

Power Monitoring Dashboard

Live Monitoring
@csrf
{{-- Page Intro --}} {{--
Network Operations

Transformer Monitoring Overview

Real-time operational status, device availability, and recent alert activity across the transformer monitoring network.

{{ $data['all'] ?? 0 }} Devices {{ $data['active'] ?? 0 }} Configured · {{ $data['not-active'] ?? 0 }} non-Configured
--}}
Network Operations

Transformer Monitoring Overview

Real-time operational status, device availability, and recent alert activity across the transformer monitoring network.

{{ $data['all'] ?? 0 }} Devices {{ $data['active'] ?? 0 }} Configured · {{ $data['not-active'] ?? 0 }} non-Configured
{{-- Main Container --}}
{{-- Statistics --}}
{{ $data['all'] ?? 0 }}
Total Devices

All registered monitoring devices

@if(!$isTownUser)
{{ isset($data['notifications']) ? count($data['notifications']) : 0 }}
Active Alerts

Recent events that need review

@endif
{{-- Alerts --}} @if(!$isTownUser)
Recent Alerts {{ isset($data['notifications']) ? count($data['notifications']) : 0 }} New
View All
@forelse($data['notifications'] as $notification)
ECode: {{ $notification->event_code }}
{{ $notification->event_datetime }}
{{ $notification->event_description }}
@empty
No notifications found.
@endforelse
@endif
{{-- Bootstrap JS --}}