Unify application, database, and service headings with mobile-friendly resource menus, route-aware configuration tabs, and confirmation triggers for advanced actions. Standardize restart warnings with status badges and cover the responsive menu and badge rendering behavior with feature tests.
23 lines
1.2 KiB
PHP
23 lines
1.2 KiB
PHP
<div>
|
|
<livewire:project.service.heading :service="$service" :parameters="$parameters" :query="$query" />
|
|
<div class="flex flex-col h-full gap-4 md:gap-8 md:flex-row">
|
|
<x-service-database.sidebar :parameters="$parameters" :serviceDatabase="$serviceDatabase" :isImportSupported="$isImportSupported" />
|
|
<div class="w-full">
|
|
<x-slot:title>
|
|
{{ data_get_str($service, 'name')->limit(10) }} >
|
|
{{ data_get_str($serviceDatabase, 'name')->limit(10) }} > Backups | Coolify
|
|
</x-slot>
|
|
<div class="flex gap-2">
|
|
<h2 class="pb-4">Scheduled Backups</h2>
|
|
@if (filled($serviceDatabase->custom_type) || !$serviceDatabase->is_migrated)
|
|
@can('update', $serviceDatabase)
|
|
<x-modal-input buttonTitle="+ Add" title="New Scheduled Backup">
|
|
<livewire:project.database.create-scheduled-backup :database="$serviceDatabase" />
|
|
</x-modal-input>
|
|
@endcan
|
|
@endif
|
|
</div>
|
|
<livewire:project.database.scheduled-backups :database="$serviceDatabase" />
|
|
</div>
|
|
</div>
|
|
</div>
|