Refactor db migrations
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
href="{{ route('project.database.configuration', $parameters) }}">
|
||||
<button>Configuration</button>
|
||||
</a>
|
||||
<a class="{{ request()->routeIs('project.database.backups') ? 'text-white' : '' }}"
|
||||
href="{{ route('project.database.backups', $parameters) }}">
|
||||
<button>Backups</button>
|
||||
</a>
|
||||
{{-- <x-applications.links :application="$application" /> --}}
|
||||
<div class="flex-1"></div>
|
||||
{{-- <x-applications.advanced :application="$application" /> --}}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<p>This resource will be deleted. It is not reversible. <br>Please think again.</p>
|
||||
</x-slot:modalBody>
|
||||
</x-modal>
|
||||
<h3>Danger Zone</h3>
|
||||
<h2>Danger Zone</h2>
|
||||
<div class="">Woah. I hope you know what are you doing.</div>
|
||||
<h4 class="pt-4">Delete Resource</h4>
|
||||
<div class="pb-4">This will stop your containers, delete all related data, etc. Beware! There is no coming
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
<h3>Danger Zone</h3>
|
||||
<h2>Danger Zone</h2>
|
||||
<div class="">Woah. I hope you know what are you doing.</div>
|
||||
<h4 class="pt-4">Delete Server</h4>
|
||||
<div class="pb-4">This will remove this server from Coolify. Beware! There is no coming
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<p>This team be deleted. It is not reversible. <br>Please think again.</p>
|
||||
</x-slot:modalBody>
|
||||
</x-modal>
|
||||
<h3>Danger Zone</h3>
|
||||
<h2>Danger Zone</h2>
|
||||
<div class="pb-4">Woah. I hope you know what are you doing.</div>
|
||||
<h4 class="pb-4">Delete Team</h4>
|
||||
@if (session('currentTeam.id') === 0)
|
||||
|
||||
18
resources/views/project/database/backups.blade.php
Normal file
18
resources/views/project/database/backups.blade.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<x-layout>
|
||||
<h1>Backups</h1>
|
||||
<livewire:project.database.heading :database="$database"/>
|
||||
<div class="pt-6">
|
||||
<h2 class="pb-4">Scheduled Backups</h2>
|
||||
<div class="flex flex-wrap gap-2">
|
||||
@forelse($database->scheduledBackups as $backup)
|
||||
<div class="box flex flex-col">
|
||||
<div>Frequency: {{$backup->frequency}}</div>
|
||||
<div>Keep locally: {{$backup->keep_locally}}</div>
|
||||
<div>Sync to S3: {{$backup->save_s3}}</div>
|
||||
</div>
|
||||
@empty
|
||||
<div>No scheduled backups configured.</div>
|
||||
@endforelse
|
||||
</div>
|
||||
</div>
|
||||
</x-layout>
|
||||
Reference in New Issue
Block a user