@extends('admin.layout') @section('title', __('admin.providers_manager.title').' · '.__('admin.brand')) @section('content')
{{ __('admin.providers_manager.eyebrow') }}

{{ __('admin.providers_manager.title') }}

{{ __('admin.providers_manager.subtitle') }}

+ {{ __('admin.providers_manager.add') }}

{{ __('admin.providers_manager.builtin_title') }}

{{ __('admin.providers_manager.builtin_hint') }}

@foreach ($builtIns as $row)
{{ $row['code'] }}

{{ $row['name'] }}

{{ $row['source']?->is_active ? __('admin.enabled') : __('admin.disabled') }}
@foreach ($row['adapter']->implementedCapabilities() as $capability){{ $capability }}@endforeach
{{ __('admin.providers_manager.configuration') }}
{{ $row['adapter']->configurationState() }}
{{ __('admin.providers_manager.health') }}
{{ $row['health']?->status ?? '—' }}
@csrf
@if ($row['source'])
@csrf @method('PATCH')
@endif
@endforeach

{{ __('admin.providers_manager.plugins_title') }}

{{ __('admin.providers_manager.plugins_hint') }}

{{ $plugins->count() }}
@if ($plugins->isEmpty())
{{ __('admin.providers_manager.no_plugins') }}
@else
@foreach ($plugins as $plugin)
JSON API

{{ $plugin->name }}

{{ $plugin->base_url }}

{{ $plugin->is_enabled ? __('admin.enabled') : __('admin.disabled') }}
@csrf @method('PATCH') @include('admin.providers.partials.form', ['plugin' => $plugin])
@endforeach
@endif

{{ __('admin.providers_manager.add_title') }}

{{ __('admin.providers_manager.add_hint') }}

@csrf @include('admin.providers.partials.form', ['plugin' => null])
@endsection