@extends('layouts.app') @section('title','Routers — BlueBando v3') @section('content')

Routers

Manage hotspot routers, poll status and metrics.
+ Add Router
@forelse($routers as $r) @empty @endforelse
NameHostStatusCPURAMUptimeUpdatedVPN
{{ $r->name }}
{{ $r->model ?? '—' }}
{{ $r->host }} {{ $r->status }} {{ $r->cpu_load !== null ? $r->cpu_load.'%' : '—' }} @php $mem = $r->total_memory ? round(($r->total_memory - $r->free_memory)/$r->total_memory*100) : null; @endphp {{ $mem !== null ? $mem.'% used' : '—' }} @if($r->uptime_seconds) {{ gmdate('j\d H\h i\m s\s', $r->uptime_seconds) }} @else — @endif @php $vpn = \App\Models\VpnClient::where('router_id', $r->id)->latest()->first(); @endphp @if($vpn && $vpn->status === 'active')
{{ $r->vpn_ip ?? '—' }}
@else Create @endif
{{ $r->updated_at->diffForHumans() }} Open Edit
@csrf @method('DELETE')
No routers yet.
{{ $routers->withQueryString()->links() }}
@endsection