Migrate to HTMX (#114)

Dropped Livewire
Added HTMX
Added Blade code lint
Drop Mysql and Redis
Migrate to SQLite
This commit is contained in:
Saeed Vaziry
2024-03-06 17:02:59 +01:00
committed by GitHub
parent 5b2c419e91
commit b2083fc6b2
486 changed files with 8609 additions and 8707 deletions

View File

@ -0,0 +1,40 @@
<x-card>
<x-slot name="title">{{ __("Update VHost") }}</x-slot>
<x-slot name="description">
{{ __("You can change your site's VHost configuration") }}
</x-slot>
<div
id="update-vhost-container"
hx-get="{{ route("servers.sites.settings.vhost", ["server" => $server, "site" => $site]) }}"
hx-trigger="load"
hx-target="#vhost"
hx-select="#vhost"
hx-swap="outerHTML"
>
<form
id="update-vhost"
hx-post="{{ route("servers.sites.settings.vhost", ["server" => $server, "site" => $site]) }}"
hx-swap="outerHTML"
hx-target="#update-vhost-container"
hx-select="#update-vhost-container"
class="space-y-6"
>
<div>
<x-textarea id="vhost" name="vhost" rows="10" class="mt-1 block w-full">
{{ session()->has("vhost") ? session()->get("vhost") : "Loading..." }}
</x-textarea>
@error("vhost")
<x-input-error class="mt-2" :messages="$message" />
@enderror
</div>
</form>
</div>
<x-slot name="actions">
<x-primary-button form="update-vhost" hx-disable>
{{ __("Save") }}
</x-primary-button>
</x-slot>
</x-card>