@extends('admin.layouts') @section('css') @endsection @section('content')

节点列表

@canany(['admin.node.geo', 'admin.node.create'])
@can('admin.node.geo') @endcan @can('admin.node.create') 添加节点 @endcan
@endcan
@foreach($nodeList as $node) @if (count($node->childNodes)) @foreach($node->childNodes as $childNode) @endforeach @endif @endforeach
ID 类型 名称 域名 IP 存活 在线 产生流量 流量比例 扩展 {{trans('common.status')}} {{trans('common.action')}}
{{$node->id}} {{$node->type_label}} {{$node->name}} {{$node->server}} {{$node->is_ddns ? 'DDNS' : $node->ip}} {{$node->uptime ?: '-'}} {{$node->online_users ?: '-'}} {{$node->transfer}} {{$node->traffic_rate}} @isset($node->profile['passwd']) {{-- 单端口 --}} @endisset @if($node->is_display === 0) {{-- 节点完全不可见 --}} @elseif($node->is_display === 1) {{-- 节点只在页面中显示 --}} @elseif($node->is_display === 2) {{-- 节点只可被订阅到 --}} @endif @if($node->isOnline) @if ($node->status) {{$node->load}} @else @endif @else @if ($node->status) {{-- 节点完全不可见 --}} @else {{-- 节点 关闭 --}} @endif @endif @canany(['admin.node.edit', 'admin.node.destroy', 'admin.node.monitor', 'admin.node.geo', 'admin.node.ping', 'admin.node.check', 'admin.node.reload']) @endcan
中 转 {{ $childNode->name }} {{ $childNode->server }} {{ $childNode->is_ddns ? 'DDNS' : $childNode->ip }} @if($childNode->is_display === 0) {{-- 节点完全不可见 --}} @elseif($childNode->is_display === 1) {{-- 节点只在页面中显示 --}} @elseif($childNode->is_display === 2) {{-- 节点只可被订阅到 --}} @endif @canany(['admin.node.edit', 'admin.node.destroy', 'admin.node.monitor', 'admin.node.geo', 'admin.node.ping', 'admin.node.check', 'admin.node.reload']) @endcan
@endsection @section('javascript') @endsection