This commit is contained in:
Andras Bacsai
2023-07-14 12:09:56 +02:00
parent a96fb46296
commit 9f4342bd19
16 changed files with 100 additions and 49 deletions

View File

@@ -1,14 +1,21 @@
<form wire:submit.prevent='submit' class="flex flex-col gap-2">
<div class="w-32">
<x-forms.checkbox id="settings.is_resale_license_active" label="Is license active?" disabled />
<div>
@if ($settings->is_resale_license_active)
<div class="text-success">License is active</div>
@else
<div class="text-error">License is not active</div>
@endif
</div>
<div class="flex gap-2">
<x-forms.input id="settings.resale_license" label="License" />
<x-forms.input id="instance_id" label="Instance Id (do not change this)" disabled />
<x-forms.input type="password" id="settings.resale_license" placeholder="eg: BE558E91-0CC5-4AA2-B1C0-B6403C2988DD"
label="License Key" />
<x-forms.input type="password" id="instance_id" label="Instance Id (do not change this)" disabled />
</div>
<div class="flex gap-2">
<x-forms.button type="submit">
Check License
</x-forms.button>
</div>
<x-forms.button type="submit">
Check License
</x-forms.button>
@if (session()->has('error'))
<div class="text-error">
{{ session('error') }}