mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 06:56:15 +00:00
Migrate to HTMX (#114)
Dropped Livewire Added HTMX Added Blade code lint Drop Mysql and Redis Migrate to SQLite
This commit is contained in:
22
resources/views/php/partials/install-new-php.blade.php
Normal file
22
resources/views/php/partials/install-new-php.blade.php
Normal file
@ -0,0 +1,22 @@
|
||||
<x-dropdown>
|
||||
<x-slot name="trigger">
|
||||
<x-primary-button hx-disable>
|
||||
{{ __("Install PHP") }}
|
||||
<x-heroicon-o-chevron-up-down class="ml-1 h-5 w-5" />
|
||||
</x-primary-button>
|
||||
</x-slot>
|
||||
|
||||
<x-slot name="content">
|
||||
@foreach (config("core.php_versions") as $php)
|
||||
@if (! $phps->whereIn("version", $php)->first() && $php !== "none")
|
||||
<x-dropdown-link
|
||||
class="cursor-pointer"
|
||||
hx-post="{{ route('servers.php.install', ['server' => $server, 'version' => $php]) }}"
|
||||
hx-swap="none"
|
||||
>
|
||||
PHP {{ $php }}
|
||||
</x-dropdown-link>
|
||||
@endif
|
||||
@endforeach
|
||||
</x-slot>
|
||||
</x-dropdown>
|
Reference in New Issue
Block a user