@extends("client.layouts.app") @section("title", __("client.ssl.title")) @section("content")

{{ __('client.ssl.my_certificates') }}

{{ __('client.ssl.browse_ssl') }}
@if($total >= \App\Support\ClientListFilter::TOOLBAR_FROM || $filtered) @include('client.partials.list-toolbar', [ 'action' => route('client.ssl.index'), 'tabs' => ['param' => 'status', 'counts' => $statusCounts, 'current' => $status, 'label' => fn ($s) => $s], 'search' => ['value' => request('q', ''), 'placeholder' => __('client.list.search_ssl')], 'selects' => [['name' => 'expiry', 'label' => __('client.list.any_expiry'), 'value' => $expiry, 'options' => [ '30' => __('client.list.expiring_in', ['n' => 30]), 'expired' => __('client.list.expired')]]], 'sorts' => ['newest' => __('client.list.sort_newest'), 'expiry' => __('client.list.sort_expiry'), 'domain' => __('client.list.sort_domain')], 'sort' => $sort, 'paginator' => $orders, 'filtered' => $filtered, ]) @endif {{-- One row per certificate, so a long list can be scanned for the one that needs configuring or is about to expire. --}}
@forelse($orders as $order) @php $badge = match ($order->status) { 'Completed' => 'active', 'Awaiting Configuration' => 'pending', 'Cancelled', 'Revoked', 'Expired' => 'cancelled', default => 'open', }; $days = $order->daysUntilExpiry(); @endphp @empty @if($filtered) @else @endif @endforelse
{{ __('client.ssl.domain_name') }} {{ __('client.ssl.certificate_type') }} {{ __('common.table.status') }} {{ __('common.table.expiry_date') }} {{ __('common.table.date') }} {{ __('common.table.actions') }}
@if($order->status === 'Awaiting Configuration') {{ $order->domain ?: __('client.ssl.pending_config') }} @else {{ $order->domain ?: __('client.ssl.pending_config') }} @endif {{ $order->cert_type ?: $order->module }} {{ $order->status }} {{ $order->crt_expires?->format(date_fmt()) ?? '-' }} @if($days !== null && $days >= 0 && $days <= 30) ({{ $days }}d) @endif {{ $order->created_at?->format(date_fmt()) }} @if($order->status === 'Awaiting Configuration') {{ __('client.ssl.configure_now') }} @else {{ __('client.ssl.view_details') }} @endif @if($order->isCompleted()) {{ __('common.actions.download') }} @endif

{{ __('client.list.no_matches') }}

{{ __('client.list.clear_filters') }}
🔒

{{ __('client.ssl.no_ssl_title') }}

{{ __('client.ssl.no_ssl_desc') }}

{{ __('client.ssl.browse_ssl') }}
@if($orders->hasPages())
{{ $orders->links() }}
@endif @endsection