add postgresql (#118)

This commit is contained in:
Saeed Vaziry
2024-03-16 01:04:57 +01:00
committed by GitHub
parent a406491160
commit 287c9c2a8a
25 changed files with 366 additions and 150 deletions

View File

@ -41,20 +41,22 @@ class="mt-1 w-full"
@enderror
</div>
<div class="mt-6">
<label for="user-remote" class="inline-flex items-center">
<input
id="user-remote"
type="checkbox"
x-model="remote"
name="remote"
class="rounded border-gray-300 text-indigo-600 shadow-sm focus:ring-indigo-500 dark:border-gray-700 dark:bg-gray-900 dark:focus:ring-indigo-600 dark:focus:ring-offset-gray-800"
/>
<span class="ml-2 text-sm text-gray-600 dark:text-gray-400">
{{ __("Enable remote access") }}
</span>
</label>
</div>
@if (in_array($server->database()?->name, config("core.database_features.remote")))
<div class="mt-6">
<label for="user-remote" class="inline-flex items-center">
<input
id="user-remote"
type="checkbox"
x-model="remote"
name="remote"
class="rounded border-gray-300 text-indigo-600 shadow-sm focus:ring-indigo-500 dark:border-gray-700 dark:bg-gray-900 dark:focus:ring-indigo-600 dark:focus:ring-offset-gray-800"
/>
<span class="ml-2 text-sm text-gray-600 dark:text-gray-400">
{{ __("Enable remote access") }}
</span>
</label>
</div>
@endif
<div x-show="remote">
<div class="mt-6">