- 2.x - sites (wip)

- improved ssh error handling
- database soft deletes
This commit is contained in:
Saeed Vaziry
2024-10-04 21:34:07 +02:00
parent ecdba02bc9
commit d1f2add699
64 changed files with 1340 additions and 421 deletions

View File

@ -1,5 +1,5 @@
<div>
<form wire:submit="submit">
<form>
{{ $this->form }}
</form>
<x-filament-actions::modals />

View File

@ -1,13 +1,11 @@
<div {{ $this->getExtraAttributesBag() }}>
<x-filament-panels::page>
@if (method_exists($this, "getSecondSubNavigation"))
@if (method_exists($this, "getSecondSubNavigation") && count($this->getSecondSubNavigation()) > 0)
<x-filament-panels::page.sub-navigation.tabs class="!flex" :navigation="$this->getSecondSubNavigation()" />
@endif
@foreach ($this->getWidgets() as $key => $widget)
@livewire($widget[0], $widget[1] ?? [], key(class_basename($widget[0]) . "-" . $key))
@endforeach
<x-filament-actions::modals />
</x-filament-panels::page>
</div>

View File

@ -0,0 +1,18 @@
<x-dynamic-component :component="$getFieldWrapperView()" :field="$field" :label-sr-only="$isLabelHidden()">
<div
wire:ignore
x-data="codeEditorFormComponent({
state: $wire.{{ $applyStateBindingModifiers('entangle(\'' . $getStatePath() . '\')') }},
options: @js($getOptions()),
})"
>
<div>
<div
id="{{ $getId() }}"
{{ $attributes->merge(["class" => "mt-1 min-h-[400px] w-full border border-gray-100 dark:border-gray-700"]) }}
class="ace-vito ace_dark"
></div>
<textarea id="textarea-{{ $getId() }}" style="display: none" x-model="state"></textarea>
</div>
</div>
</x-dynamic-component>