lasthourcloud/resources/views/livewire/check-license.blade.php

26 lines
898 B
PHP
Raw Normal View History

2023-07-14 09:27:08 +00:00
<form wire:submit.prevent='submit' class="flex flex-col gap-2">
2023-07-14 10:09:56 +00:00
<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
2023-07-14 09:27:08 +00:00
</div>
<div class="flex gap-2">
<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/>
2023-07-14 10:09:56 +00:00
</div>
<div class="flex gap-2">
<x-forms.button type="submit">
Check License
</x-forms.button>
2023-07-14 09:27:08 +00:00
</div>
@if (session()->has('error'))
<div class="text-error">
2023-07-27 12:45:34 +00:00
{!! session('error') !!}
2023-07-14 09:27:08 +00:00
</div>
@endif
</form>