@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())
@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
Sub-Command Centres
@forelse($subs as $s) @empty @endforelse
NameStatus
{{ $s->name }} {{ $s->status }}{!! $s->controlled_by_hq ? ' HQ control':'' !!} @if($s->status==='Active')
@csrf
@else
@csrf
@endif
No sub-centres registered.
Devices
@forelse($devices as $d) @empty @endforelse
TypeNameLocationStatusLast seen
{{ $d->type }}{{ $d->name }}{{ $d->location }} {{ $d->status }} {{ optional($d->last_seen_at)->diffForHumans() ?? '—' }}
No devices registered yet.
Recent Events & Intrusion Feed
@forelse($events as $e) @empty @endforelse
WhenTypeSeverityDeviceCGP
{{ 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)
@csrf
@elseack@endif
No events. Devices will populate this feed once connected.
@endsection