coolify/resources/views/livewire/project/database/init-script.blade.php

23 lines
926 B
PHP
Raw Normal View History

2024-03-22 10:34:15 +00:00
<form wire:submit="submit">
<div class="flex items-end gap-2">
<x-forms.input id="filename" label="Filename" />
<x-forms.button type="submit">Save</x-forms.button>
2024-09-02 21:58:48 +00:00
<x-modal-confirmation
2024-08-31 18:55:56 +00:00
title="Confirm init-script deletion?"
buttonTitle="Delete"
2024-09-02 21:58:48 +00:00
isErrorButton
2024-08-31 18:55:56 +00:00
submitAction="delete"
:actions="[
2024-09-02 21:58:48 +00:00
'The init-script of this database will be permanently deleted.',
2024-09-03 14:43:50 +00:00
'If you are actively using this init-script, it could cause errors on redeployment.'
2024-08-31 18:55:56 +00:00
]"
confirmationText="{{ $filename }}"
confirmationLabel="Please confirm the execution of the actions by entering the init-script name below"
shortConfirmationLabel="Init-script Name"
:confirmWithPassword=false
step2ButtonText="Permanently Delete Init-script"
/>
2024-03-22 10:34:15 +00:00
</div>
<x-forms.textarea id="content" label="Content" />
</form>