mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
init
This commit is contained in:
41
resources/views/livewire/php/default-cli.blade.php
Normal file
41
resources/views/livewire/php/default-cli.blade.php
Normal file
@ -0,0 +1,41 @@
|
||||
<div>
|
||||
<x-card-header>
|
||||
<x-slot name="title">{{ __("Default PHP Cli") }}</x-slot>
|
||||
<x-slot name="description">{{ __("You can see and manage your PHP installations") }}</x-slot>
|
||||
</x-card-header>
|
||||
|
||||
<a class="block">
|
||||
<x-item-card>
|
||||
<div class="flex items-start justify-center">
|
||||
<span class="mr-2">PHP {{ $defaultPHP->version }}</span>
|
||||
@include('livewire.services.partials.status', ['status' => $defaultPHP->status])
|
||||
</div>
|
||||
<div class="flex items-center">
|
||||
<div class="inline">
|
||||
<x-dropdown>
|
||||
<x-slot name="trigger">
|
||||
<x-secondary-button>
|
||||
{{ __("Change") }}
|
||||
<x-heroicon-m-chevron-down class="w-4 ml-1" />
|
||||
</x-secondary-button>
|
||||
</x-slot>
|
||||
<x-slot name="content">
|
||||
@foreach($phps as $php)
|
||||
@if($php->version != $defaultPHP->version)
|
||||
<x-dropdown-link class="cursor-pointer" wire:click="change('{{ $php->version }}')">
|
||||
PHP {{ $php->version }}
|
||||
</x-dropdown-link>
|
||||
@endif
|
||||
@endforeach
|
||||
@if(count($phps) == 1)
|
||||
<x-dropdown-link>
|
||||
{{ __("No other versions") }}
|
||||
</x-dropdown-link>
|
||||
@endif
|
||||
</x-slot>
|
||||
</x-dropdown>
|
||||
</div>
|
||||
</div>
|
||||
</x-item-card>
|
||||
</a>
|
||||
</div>
|
Reference in New Issue
Block a user