@extends('eliteadmin::layouts.app') @section('title', 'Modules') @section('page_class', 'page-modules') @section('content')
Installed Modules
Click a module card to open its dashboard. Uninstalling removes module access.
@forelse ($modules as $module) @php $isInstalled = $module->status === \App\Enums\ModuleStatus::Installed; $entryUrl = $entryRoutes[$module->id] ?? null; @endphp
$isInstalled && $entryUrl])> @if ($isInstalled && $entryUrl)
{{ ucfirst($module->status->value) }}
{{ $module->name }}

Version {{ $module->version }} @if ($module->installed_at) · Installed {{ $module->installed_at->format('M j, Y') }} @endif

Click to open dashboard

@else
$isInstalled, 'bg-secondary' => $module->status === \App\Enums\ModuleStatus::Disabled, 'bg-danger' => $module->status === \App\Enums\ModuleStatus::Failed, ])> {{ ucfirst($module->status->value) }}
{{ $module->name }}

Version {{ $module->version }} @if ($module->installed_at) · Installed {{ $module->installed_at->format('M j, Y') }} @endif

@endif
@empty

No modules installed. @can('viewAny', \App\Http\Controllers\Marketplace\MarketplaceController::class) Browse the marketplace to get started. @endcan

@endforelse
@endsection @push('styles') @endpush