vito/resources/views/livewire/services/install-phpmyadmin.blade.php
Saeed Vaziry 4bd4b34d24
phpmyadmin (#66)
* add phpmyadmin

* add tests
2023-10-10 17:15:58 +02:00

34 lines
1.2 KiB
PHP

<x-modal name="install-phpmyadmin">
<form wire:submit.prevent="install" class="p-6">
<h2 class="text-lg font-medium text-gray-900 dark:text-gray-100">
{{ __('Install PHPMyAdmin') }}
</h2>
<div class="mt-6">
<x-input-label for="allowed_ip" :value="__('Allowed IP')" />
<x-text-input wire:model.defer="allowed_ip" id="allowed_ip" name="allowed_ip" class="mt-1 w-full" />
@error('allowed_ip')
<x-input-error class="mt-2" :messages="$message" />
@enderror
</div>
<div class="mt-6">
<x-input-label for="port" :value="__('Port')" />
<x-text-input wire:model.defer="port" id="port" name="port" class="mt-1 w-full" />
@error('port')
<x-input-error class="mt-2" :messages="$message" />
@enderror
</div>
<div class="mt-6 flex justify-end">
<x-secondary-button type="button" x-on:click="$dispatch('close')">
{{ __('Cancel') }}
</x-secondary-button>
<x-primary-button class="ml-3" @started.window="$dispatch('close')">
{{ __('Install') }}
</x-primary-button>
</div>
</form>
</x-modal>