@extends('layouts.admin') @section('title', 'Manage Websites') @section('content')

Website Management

Monitor and manage all created websites

Total Websites
{{ $stats['total'] ?? 0 }}
Completed
{{ $stats['completed'] ?? 0 }}
In Progress
{{ $stats['processing'] ?? 0 }}
Failed
{{ $stats['failed'] ?? 0 }}

Filters

Websites

@forelse($websites ?? [] as $website) @empty @endforelse
Website Company Template Status Progress Created Actions
{{ $website->subdomain ?? 'N/A' }}.{{ $website->domain ?? 'domain.com' }}
@if($website->website_url ?? false) Visit Site @else URL not available @endif
{{ $website->company_name ?? 'N/A' }}
{{ $website->email ?? 'N/A' }}
{{ $website->tpl_name ?? 'N/A' }}
{{ $website->category ?? 'N/A' }}/{{ $website->subcategory ?? 'N/A' }}
@php $status = $website->status ?? 'pending'; $statusColors = [ 'pending' => 'bg-yellow-100 text-yellow-800', 'processing' => 'bg-blue-100 text-blue-800', 'completed' => 'bg-green-100 text-green-800', 'failed' => 'bg-red-100 text-red-800', 'suspended' => 'bg-gray-100 text-gray-800' ]; @endphp {{ ucfirst($status) }}
{{ $website->progress ?? 0 }}%
{{ optional($website->created_at ?? now())->format('M j, Y g:i A') }}
@if($website->website_url ?? false) @endif @if($website->admin_url ?? false) @endif @if(($website->status ?? 'pending') === 'failed') @endif

No websites found

Start creating websites to see them here.

@if(isset($websites) && method_exists($websites, 'links'))
{{ $websites->links() }}
@endif
@endsection @push('scripts') @endpush