lasthourcloud/resources/views/livewire/project/service/file-storage.blade.php

18 lines
796 B
PHP
Raw Normal View History

2024-04-08 07:51:14 +00:00
<div class="p-4 transition border rounded cursor-pointer border-coolgray-200">
<div class="flex flex-col justify-center pb-4 text-sm select-text">
<h2>{{ $service->name }}</h2>
2023-12-07 18:06:32 +00:00
<div>{{ $workdir }}{{ $fs_path }} -> {{ $fileStorage->mount_path }}</div>
2024-01-04 12:03:46 +00:00
</div>
2024-04-08 07:51:14 +00:00
<div>
2023-12-07 18:06:32 +00:00
<form wire:submit='submit' class="flex flex-col gap-2">
2023-09-26 12:45:52 +00:00
<div class="w-64">
<x-forms.checkbox instantSave label="Is directory?" id="fileStorage.is_directory"></x-forms.checkbox>
</div>
@if (!$fileStorage->is_directory)
2023-09-26 12:45:52 +00:00
<x-forms.textarea label="Content" rows="20" id="fileStorage.content"></x-forms.textarea>
<x-forms.button type="submit">Save</x-forms.button>
@endif
</form>
2024-01-04 12:03:46 +00:00
</div>
</div>