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">
|
2024-04-10 13:00:46 +00:00
|
|
|
<h2>{{ data_get($resource, 'name', 'unknown') }}</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>
|
2023-09-25 10:49:55 +00:00
|
|
|
</div>
|
2023-09-29 19:38:11 +00:00
|
|
|
@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
|
2023-09-25 10:49:55 +00:00
|
|
|
</form>
|
2024-01-04 12:03:46 +00:00
|
|
|
</div>
|
|
|
|
</div>
|