@extends('layouts.admin')
@section('title', 'Backups')
@section('content')
| Filename | Size | Created | |
@forelse($backups as $b)
@php
$filename = $b->filename ?? basename($b->path ?? '');
$size = isset($b->size) ? number_format($b->size / 1024, 1).' KB' : '—';
$created = isset($b->created_at) ? (is_numeric($b->created_at) ? \Carbon\Carbon::createFromTimestamp($b->created_at)->format('M j, Y H:i') : \Carbon\Carbon::parse($b->created_at)->format('M j, Y H:i')) : '—';
$downloadId = $b->id ?? $filename;
@endphp
| {{ $filename }} | {{ $size }} | {{ $created }} |
Download
|
@empty| No backups found |
@endforelse
@if(is_object($backups) && method_exists($backups, 'links'))
{{ $backups->links() }}
@endif
@endsection