@extends('layouts.app')
@section('title', 'Command & Control Centre')
@section('content')
{{-- Page guide: what this screen is for --}}
Integrated Command & Control Centre (C&CC). Monitor the command & control centre: view linked stations and devices, acknowledge events and alerts, and — once hardware is connected — CCTV, access-control and the 3D prison view.
Integrated Command & Control Centre
3D View
@if(session('success'))
{{ session('success') }}
@endif
@if($errors->any())
@foreach($errors->all() as $e)- {{ $e }}
@endforeach
@endif
@if(! $cctvStatus['ready'])
Hardware integration is in pending mode — the C&CC software pipeline (device registry, event ingestion, intrusion→CGP escalation, sub-centre control, 3D feed) is fully active and will start receiving live data as soon as CCTV / access-control / intrusion hardware is connected.
@endif
| Name | Status | |
@forelse($subs as $s)
| {{ $s->name }} |
{{ $s->status }}{!! $s->controlled_by_hq ? ' HQ control':'' !!} |
@if($s->status==='Active')
@else
@endif
|
@empty | No sub-centres registered. |
@endforelse
| Type | Name | Location | Status | Last seen |
@forelse($devices as $d)
| {{ $d->type }} | {{ $d->name }} | {{ $d->location }} |
{{ $d->status }} |
{{ optional($d->last_seen_at)->diffForHumans() ?? '—' }} |
@empty | No devices registered yet. |
@endforelse
| When | Type | Severity | Device | CGP | |
@forelse($events as $e)
| {{ optional($e->occurred_at)->format('Y-m-d H:i') }} | {{ $e->event_type }} |
{{ $e->severity }} |
{{ optional($e->device)->name }} |
{{ $e->cgp_notified_at ? 'Notified' : '—' }} |
@if(!$e->acknowledged_at)@elseack@endif |
@empty | No events. Devices will populate this feed once connected. |
@endforelse
@endsection