* feat(README): add InterviewPal sponsorship link and corresponding SVG icon * chore(versions): update coolify version to 4.0.0-beta.413 and nightly version to 4.0.0-beta.414 in configuration files * fix(terminal): enhance WebSocket client verification with authorized IPs in terminal server * chore(versions): update realtime version to 1.0.8 in versions.json * chore(versions): update realtime version to 1.0.8 in versions.json * chore(docker): update soketi image version to 1.0.8 in production configuration files * chore(versions): update coolify version to 4.0.0-beta.414 and nightly version to 4.0.0-beta.415 in configuration files * fix(ApplicationDeploymentJob): ensure source is an object before checking GitHub app properties * fix(ui): Disable livewire navigate feature (causing spam of setInterval()) * fix(ui): Remove required attribute from image input in service application view * fix(ui): Change application image validation to be nullable in service application view * fix(Server): Correct proxy path formatting for Traefik proxy type
41 lines
2.0 KiB
PHP
41 lines
2.0 KiB
PHP
<div>
|
|
<div class="flex flex-col gap-2">
|
|
@forelse($database->scheduledBackups as $backup)
|
|
@if ($type == 'database')
|
|
<a class="box"
|
|
href="{{ route('project.database.backup.execution', [...$parameters, 'backup_uuid' => $backup->uuid]) }}">
|
|
<div class="flex flex-col">
|
|
<div>Frequency: {{ $backup->frequency }}
|
|
({{ data_get($backup->server(), 'settings.server_timezone', 'Instance timezone') }})
|
|
</div>
|
|
<div>Last backup: {{ data_get($backup->latest_log, 'status', 'No backup yet') }}</div>
|
|
</div>
|
|
</a>
|
|
@else
|
|
<div class="box" wire:click="setSelectedBackup('{{ data_get($backup, 'id') }}')">
|
|
<div @class([
|
|
'border-coollabs' =>
|
|
data_get($backup, 'id') === data_get($selectedBackup, 'id'),
|
|
'flex flex-col border-l-2 border-transparent',
|
|
])>
|
|
<div>Frequency: {{ $backup->frequency }}
|
|
({{ data_get($backup->server(), 'settings.server_timezone', 'Instance timezone') }})
|
|
</div>
|
|
<div>Last backup: {{ data_get($backup->latest_log, 'status', 'No backup yet') }}</div>
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@empty
|
|
<div>No scheduled backups configured.</div>
|
|
@endforelse
|
|
</div>
|
|
@if ($type === 'service-database' && $selectedBackup)
|
|
<div class="pt-10">
|
|
<livewire:project.database.backup-edit wire:key="{{ $selectedBackup->id }}" :backup="$selectedBackup"
|
|
:s3s="$s3s" :status="data_get($database, 'status')" />
|
|
<livewire:project.database.backup-executions wire:key="{{ $selectedBackup->uuid }}" :backup="$selectedBackup"
|
|
:database="$database" />
|
|
</div>
|
|
@endif
|
|
</div>
|