{{-- Backup history — Phase 29. --}} {{-- MERGE FIX 2026-11-13 (coordinator): this view used the x-app-layout component, but no AppLayout component or class exists anywhere, so the page could not render. Converted to the layouts.app pattern every other view uses; the header slot content is now a page header inside the content. --}} @extends('layouts.app') @section('title', __('Backups')) @section('content')
| {{ __('Filename') }} | {{ __('Type') }} | {{ __('Size') }} | {{ __('Status') }} | {{ __('Verified') }} | {{ __('Created By') }} | {{ __('Created At') }} | {{ __('Actions') }} |
|---|---|---|---|---|---|---|---|
| {{ $backup->filename }} | {{ $backup->type }} | @php $s = (float) $backup->size; $u = ['B','KB','MB','GB']; $i = 0; while ($s >= 1024 && $i < 3) { $s /= 1024; $i++; } echo round($s, 2).' '.$u[$i]; @endphp | {{ $backup->status }} | {{ $backup->verified_at ? $backup->verified_at->format('d M Y, h:i A') : '—' }} | {{ $backup->creator?->name ?? 'System' }} | {{ $backup->created_at->format('d M Y, h:i A') }} | @can('backup.download') {{ __('Download') }} @endcan @can('backup.restore') {{ __('Restore') }} @endcan @can('backup.delete') @endcan |
| {{ __('No backups yet.') }} | |||||||