@extends('admin.table_layouts') @section('content')
@foreach ($userList as $user) {{ $user->id }} {{ $user->username }} {{ $user->port }} @if ($user->status > 0) {{ trans('common.status.normal') }} @elseif ($user->status < 0) {{ trans('common.status.banned') }} @else {{ trans('common.status.inactive') }} @endif @if ($user->enable) {{ trans('common.status.enabled') }} @else {{ trans('common.status.banned') }} @endif @if ($user->onlineIPList->isNotEmpty()) @foreach ($user->onlineIPList as $log) @endforeach
{{ trans('model.node.attribute') }} {{ trans('model.ip.network_type') }} IP {{ ucfirst(trans('validation.attributes.time')) }}
{{ $log->node->name ?? '【' . trans('common.deleted_item', ['attribute' => trans('model.node.attribute')]) . '】' }} {{ $log->type }} {{ $log->ip }} {{ date('Y-m-d H:i:s', $log->created_at) }}
@endif @endforeach
@endsection