user()->devices->contains($device), 403); $this->device = $device; $this->logs = $device->logs()->latest('device_timestamp')->take(50)->get(); } } ?>
|
Device Time
|
Log Level
|
Device Status
|
Message
|
|---|---|---|---|
| @if ($timestamp) {{ \Carbon\Carbon::createFromTimestamp($timestamp)->setTimezone(config('app.timezone'))->format('Y-m-d H:i:s') }} @endif |
{{ $wifiStatus }}
@if($wifiRssi)
({{ $wifiRssi }}dBm)
@endif
@if($hasDeviceStatus)
|
{{ $message }}
|