@extends('dashboard.layouts.main') @section('container')
@if(session('success')) @endif @if(!isset($users) && !isset($user))

Admin Dashboard

Search Users

@endif @if(isset($users))

Users List

@if($users->count() == 0)

No users found with the name, username, or email "{{ $query }}" in the database.

@else
@foreach($users as $user) @endforeach
Nama Username Email Aksi
{{ $user->name }} {{ $user->username }} {{ $user->email }} View Lokasi
{{ $users->links() }}
@endif
Back @endif @if(isset($user) && isset($lokasiMonitoring))

Lokasi for {{ $user->name }}

@if($lokasiMonitoring->isEmpty())

location not found with the name "{{ $query ?? ''}}" for this user.

@else
@foreach($lokasiMonitoring as $lokasi)
Daftar Lokasi
Lokasi ID Nama Lokasi Blynk Token Edit
{{ $lokasi->id }} {{ $lokasi->nama_lokasi }} {{ $lokasi->blynk_token }}
@csrf
@endforeach
@endif Back @endif
@endsection @push('styles') @endpush @push('scripts') @endpush