This commit is contained in:
Andras Bacsai
2023-09-28 09:54:21 +02:00
parent 99c8607ff4
commit 199881c596
9 changed files with 30 additions and 478 deletions

View File

@@ -1,17 +1,12 @@
<x-collapsible>
<x-slot:title>
<div>{{ $fileStorage->mount_path }}
@if (is_null($fileStorage->content) && !$fileStorage->is_directory)
<span class="text-xs text-error">(required)</span>
@endif
</div>
<div>{{ $fileStorage->mount_path }} </div>
</x-slot:title>
<x-slot:action>
<form wire:submit.prevent='submit' class="flex flex-col gap-2">
<div class="w-64">
<x-forms.checkbox instantSave label="Is directory?" id="fileStorage.is_directory"></x-forms.checkbox>
</div>
@if ($fileStorage->is_directory)
<x-forms.input readonly label="Directory on Filesystem (save files here)" id="fs_path"></x-forms.input>
@else

View File

@@ -10,9 +10,6 @@
@click.prevent="activeTab = 'general'; window.location.hash = 'general'" href="#">General</a>
<a :class="activeTab === 'storages' && 'text-white'"
@click.prevent="activeTab = 'storages'; window.location.hash = 'storages'" href="#">Storages
@if ($serviceApplication?->configurationRequired() || $serviceDatabase?->configurationRequired())
<span class="text-red-500">(?)</span>
@endif
</a>
</div>
<div class="w-full pl-8">

View File

@@ -22,7 +22,7 @@
<livewire:project.shared.storages.show wire:key="storage-{{ $storage->id }}" :storage="$storage" />
@endif
@empty
<div class="text-neutral-500">No storages found.</div>
<div class="text-neutral-500">No volume storages found.</div>
@endforelse
</div>
</div>