This commit is contained in:
Andras Bacsai 2023-05-25 21:48:25 +02:00
parent aeefc34ae4
commit 353465cba7
3 changed files with 5 additions and 3 deletions

View File

@ -7,7 +7,7 @@
@if ($is_registration_enabled)
<a href="/register" class="flex justify-center pt-2 hover:no-underline">
<button
class="normal-case btn btn-sm btn-primary bg-coollabs-gradient">{{ __('auth.register-now') }}</button>
class="normal-case rounded-none btn btn-sm btn-primary bg-coollabs-gradient">{{ __('auth.register-now') }}</button>
</a>
@else
<div class="text-sm text-center">{{ __('auth.registration_disabled') }}</div>

View File

@ -6,7 +6,7 @@
<h1 class="pb-0">{{ __('auth.register') }}</h1>
<a href="/login" class="flex justify-center pt-2 hover:no-underline">
<button
class="normal-case btn btn-sm btn-primary bg-coollabs-gradient">{{ __('auth.already-registered') }}</button>
class="normal-case rounded-none btn btn-sm btn-primary bg-coollabs-gradient">{{ __('auth.already-registered') }}</button>
</a>
</div>
<form action="/register" method="POST" class="flex flex-col gap-2">

View File

@ -14,10 +14,12 @@
<div class="flex flex-col w-96">
@if ($server->id === 0)
<x-forms.input id="server.name" label="Name" readonly />
<x-forms.input id="server.description" label="Description" readonly required />
@else
<x-forms.input id="server.name" label="Name" required />
<x-forms.input id="server.description" label="Description" />
@endif
<x-forms.input id="server.description" label="Description" />
{{-- <x-forms.checkbox disabled type="checkbox" id="server.settings.is_part_of_swarm"
label="Is it part of a Swarm cluster?" /> --}}
</div>