@extends('layouts.main') @section('content')
@csrf
{{ __('Server configuration') }}
@if (!config('SETTINGS::SYSTEM:CREATION_OF_NEW_SERVERS'))
The creation of new servers has been disabled for regular users, enable it again {{ __('here') }}.
@endif @if ($productCount === 0 || $nodeCount === 0 || count($nests) === 0 || count($eggs) === 0)
{{ __('Error!') }}

@if (Auth::user()->role == 'admin') {{ __('Make sure to link your products to nodes and eggs.') }}
{{ __('There has to be at least 1 valid product for server creation') }} {{ __('Sync now') }} @endif

    @if ($productCount === 0)
  • {{ __('No products available!') }}
  • @endif @if ($nodeCount === 0)
  • {{ __('No nodes have been linked!') }}
  • @endif @if (count($nests) === 0)
  • {{ __('No nests available!') }}
  • @endif @if (count($eggs) === 0)
  • {{ __('No eggs have been linked!') }}
  • @endif
@endif
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@error('name')
{{ $message }}
@enderror
@endsection