feat: enhance import command options with additional guidance and improved checkbox label
This commit is contained in:
@@ -55,9 +55,15 @@
|
|||||||
wire:model='restoreCommandText'></x-forms.textarea>
|
wire:model='restoreCommandText'></x-forms.textarea>
|
||||||
@else
|
@else
|
||||||
<x-forms.input label="Custom Import Command" wire:model='postgresqlRestoreCommand'></x-forms.input>
|
<x-forms.input label="Custom Import Command" wire:model='postgresqlRestoreCommand'></x-forms.input>
|
||||||
|
<div class="flex flex-col gap-1 pt-1">
|
||||||
|
<span class="text-xs">You can add "--clean" to drop objects before creating them, avoiding
|
||||||
|
conflicts.</span>
|
||||||
|
<span class="text-xs">You can add "--verbose" to log more things.</span>
|
||||||
|
</div>
|
||||||
@endif
|
@endif
|
||||||
<div class="w-48 pt-2">
|
<div class="w-64 pt-2">
|
||||||
<x-forms.checkbox label="Includes all databases" wire:model.live='dumpAll'></x-forms.checkbox>
|
<x-forms.checkbox label="Backup includes all databases"
|
||||||
|
wire:model.live='dumpAll'></x-forms.checkbox>
|
||||||
</div>
|
</div>
|
||||||
@elseif ($resource->type() === 'standalone-mysql')
|
@elseif ($resource->type() === 'standalone-mysql')
|
||||||
@if ($dumpAll)
|
@if ($dumpAll)
|
||||||
@@ -66,8 +72,9 @@
|
|||||||
@else
|
@else
|
||||||
<x-forms.input label="Custom Import Command" wire:model='mysqlRestoreCommand'></x-forms.input>
|
<x-forms.input label="Custom Import Command" wire:model='mysqlRestoreCommand'></x-forms.input>
|
||||||
@endif
|
@endif
|
||||||
<div class="w-48 pt-2">
|
<div class="w-64 pt-2">
|
||||||
<x-forms.checkbox label="Includes all databases" wire:model.live='dumpAll'></x-forms.checkbox>
|
<x-forms.checkbox label="Backup includes all databases"
|
||||||
|
wire:model.live='dumpAll'></x-forms.checkbox>
|
||||||
</div>
|
</div>
|
||||||
@elseif ($resource->type() === 'standalone-mariadb')
|
@elseif ($resource->type() === 'standalone-mariadb')
|
||||||
@if ($dumpAll)
|
@if ($dumpAll)
|
||||||
@@ -76,8 +83,9 @@
|
|||||||
@else
|
@else
|
||||||
<x-forms.input label="Custom Import Command" wire:model='mariadbRestoreCommand'></x-forms.input>
|
<x-forms.input label="Custom Import Command" wire:model='mariadbRestoreCommand'></x-forms.input>
|
||||||
@endif
|
@endif
|
||||||
<div class="w-48 pt-2">
|
<div class="w-64 pt-2">
|
||||||
<x-forms.checkbox label="Includes all databases" wire:model.live='dumpAll'></x-forms.checkbox>
|
<x-forms.checkbox label="Backup includes all databases"
|
||||||
|
wire:model.live='dumpAll'></x-forms.checkbox>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
<h3 class="pt-6">Backup File</h3>
|
<h3 class="pt-6">Backup File</h3>
|
||||||
|
|||||||
Reference in New Issue
Block a user