@extends("admin.layouts.app") @section("title", __("admin.modules.title")) @section("content") @php // Where each type is configured. The switch lives here; the settings // (keys, credentials) stay on the screen that already owns them. $configure = [ 'server' => route('admin.config.servers'), 'gateway' => route('admin.config.gateways'), 'registrar' => route('admin.config.registrars'), 'ssl' => route('admin.config.sslModules'), 'addon' => route('admin.config.addons.modules'), ]; @endphp @foreach($groups as $type => $rows)
{{ __('admin.modules.type_'.$type) }} {{ __('admin.modules.configure') }}
@if($rows->isEmpty())
{{ __('admin.modules.none') }}
@else @if(in_array($type, ['server', 'ssl'], true))@endif @foreach($rows as $row) @if(in_array($type, ['server', 'ssl'], true))@endif @endforeach
{{ __('admin.modules.col_module') }} {{ __('admin.modules.col_source') }} {{ __('common.table.status') }}{{ __('admin.modules.col_usage') }}{{ __('common.table.actions') }}
{{ $row->label }} {{ $row->key }} {{ $row->third_party ? __('admin.modules.source_third_party') : __('admin.modules.source_core') }} {{ $row->active ? __('common.status.active') : __('common.status.disabled') }}{{ $row->in_use }}
@csrf @if($row->active) @else @endif
@endif
@endforeach @endsection