feat: able to add dynamic configurations from proxy dashboard

This commit is contained in:
Andras Bacsai
2024-02-22 13:29:28 +01:00
parent 4d88638d4d
commit 154b1b05e4
15 changed files with 319 additions and 131 deletions

View File

@@ -0,0 +1,15 @@
<div class="flex gap-2">
<h3 class="text-white">File: {{ str_replace('|', '.', $fileName) }}</h3>
<div class="flex gap-2">
<x-slide-over>
<x-slot:title>Edit Configuration</x-slot:title>
<x-slot:content>
<livewire:server.proxy.new-dynamic-configuration :server_id="$server_id" :fileName="$fileName" :value="$value"
:newFile="$newFile" wire:key="{{ $fileName }}" />
</x-slot:content>
<button @click="slideOverOpen=true"
class="font-normal text-white normal-case border-none rounded btn btn-primary btn-sm no-animation">Edit</button>
</x-slide-over>
</div>
<x-forms.button isError wire:click="delete('{{ $fileName }}')">Delete</x-forms.button>
</div>