@forelse($devices as $device)
{{ ucfirst($device->status) }}
{{ $device->name }}
{{ $device->device_id }}
Type: {{ ucfirst($device->type) }}
Last: {{ $device->last_heartbeat ? $device->last_heartbeat->diffForHumans() : 'Never' }}
@empty
No devices yet
Add your first device to start collecting data
Add Device
@endforelse