@extends('layouts.app') @section('title', 'Domain Monitoring') @section('content')
| Domain | Site | Status | Expires At | Days Left | Last Checked | Actions |
|---|---|---|---|---|---|---|
| {{ $domain->domain }} | {{ $domain->site->name }} | @if($domain->isExpired()) Expired @elseif($domain->isExpiringSoon()) Expiring Soon @elseif($domain->expires_at) Active @else Unknown @endif | @if($domain->expires_at) {{ $domain->expires_at->format('Y-m-d') }} @else Not checked @endif | @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 - @endif | @if($domain->last_checked_at) {{ $domain->last_checked_at->diffForHumans() }} @else Never @endif |