@extends('layouts.master') @section('title', 'Your Servers') @section('sidebar-server') @endsection @section('content')
@if (Auth::user()->root_admin == 1)
{{ trans('base.view_as_admin') }}
@endif @if (!$servers->isEmpty()) @if (Auth::user()->root_admin == 1) @endif @foreach ($servers as $server) @if (Auth::user()->root_admin == 1) @endif @endforeach
{{ trans('base.server_name') }} {{ trans('strings.node') }} {{ trans('strings.connection') }} {{ trans('strings.players') }} {{ trans('strings.memory') }} {{ trans('strings.cpu') }} {{ trans('strings.status') }}
@if ($server->owner === Auth::user()->id) @else @endif {{ $server->name }} {{ $server->nodeName }} ({{ $server->a_locationShort }}) {{ $server->ip }}:{{ $server->port }} -- -- / {{ $server->memory }} MB -- % --
{!! $servers->render() !!}
@else
{{ trans('base.no_servers') }}
@endif
@endsection