lasthourcloud/resources/views/livewire/project/shared/storages/add.blade.php

15 lines
682 B
PHP
Raw Normal View History

2023-07-13 11:16:24 +00:00
<dialog id="newStorage" class="modal">
2023-12-07 18:06:32 +00:00
<form method="dialog" class="flex flex-col gap-2 rounded modal-box" wire:submit='submit'>
2023-07-13 11:19:54 +00:00
<h3 class="text-lg font-bold">Add Storage Volume</h3>
2023-08-11 18:19:42 +00:00
<x-forms.input placeholder="pv-name" id="name" label="Name" required />
<x-forms.input placeholder="/root" id="host_path" label="Source Path" />
<x-forms.input placeholder="/tmp/root" id="mount_path" label="Destination Path" required />
2023-07-13 11:16:24 +00:00
<x-forms.button onclick="newStorage.close()" type="submit">
Save
</x-forms.button>
</form>
<form method="dialog" class="modal-backdrop">
<button>close</button>
</form>
</dialog>