mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-04 15:32:35 +00:00
- 2.x - sites (wip)
- improved ssh error handling - database soft deletes
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<div>
|
||||
<form wire:submit="submit">
|
||||
<form>
|
||||
{{ $this->form }}
|
||||
</form>
|
||||
<x-filament-actions::modals />
|
||||
|
@ -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>
|
||||
|
18
resources/views/web/fields/code-editor.blade.php
Normal file
18
resources/views/web/fields/code-editor.blade.php
Normal 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>
|
Reference in New Issue
Block a user