@extends('admin.layouts.app') @section('title', __('admin.server_groups.title')) @section('content') @if($errors->any())
@endif
@if(($serverGroups ?? collect())->isEmpty())
{{ __('admin.server_groups.no_groups') }}
@else @foreach($serverGroups as $group) @endforeach
{{ __('common.table.name') }}{{ __('admin.server_groups.fill_type') }}{{ __('admin.server_groups.servers') }}{{ __('common.table.actions') }}
{{ $group->name }} {{ $group->fill_type === 'round_robin' ? __('admin.server_groups.roundrobin_short') : __('admin.server_groups.sequential_short') }} @forelse($group->servers as $srv) {{ $srv->name }} @empty 0 @endforelse
@csrf @method('DELETE')
@endif
@endsection