@extends('layouts.app') @section('title', 'Domain Details') @section('content')

Domain Details

Edit Back to List
@if(session('success')) @endif
Domain Information
Domain Name:
{{ $domain->domain }}
Associated Site:
{{ $domain->site->name }}
{{ $domain->site->url }}
Status:
@if($domain->isExpired()) Expired @elseif($domain->isExpiringSoon()) Expiring Soon @elseif($domain->expires_at) Active @else Unknown @endif
Monitoring:
@if($domain->is_active) Active @else Inactive @endif
Expiration Details
Expires At:
@if($domain->expires_at) {{ $domain->expires_at->format('F j, Y') }}
{{ $domain->expires_at->format('g:i A T') }} @else Not yet checked @endif
Days Until Expiration:
@php $days = $domain->daysUntilExpiration(); @endphp @if($days !== null) @if($days < 0) Expired {{ abs($days) }} days ago @elseif($days < 30) {{ $days }} days @else {{ $days }} days @endif @else Unknown @endif
Last Checked:
@if($domain->last_checked_at) {{ $domain->last_checked_at->format('F j, Y g:i A') }}
{{ $domain->last_checked_at->diffForHumans() }} @else Never @endif
Actions
@csrf
Edit Domain
@csrf @method('DELETE')
@if($domain->isExpiringSoon() || $domain->isExpired())
Alert
@if($domain->isExpired())

This domain has expired! Please renew it immediately to avoid losing ownership.

@else

This domain is expiring soon! Consider renewing it to prevent any interruptions.

@endif
@endif
@endsection