Button loading animation added

This commit is contained in:
merve karaman 2024-02-09 12:13:08 +03:00 committed by GitHub
parent 226c75ce37
commit 5442a8d876
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@
@else
<x-link
href="{{ route('apps.app.enable', $module->slug) }}"
class="bg-green rounded-md text-white text-sm text-center w-full py-2 truncate hover:bg-green-700"
class="relative bg-green rounded-md text-white text-sm text-center w-full py-2 truncate hover:bg-green-700"
override="class"
>
<x-link.loading>
@ -63,7 +63,7 @@
@else
<button type="button"
@click="onInstall('{{ $module->action_url }}', '{{ $module->slug }}', '{!! str_replace("'", "\'", $module->name) !!}', '{{ $module->version }}')"
class="bg-green disabled:bg-green-100 rounded-md text-white text-sm text-center w-full py-2 truncate hover:bg-green-700"
class="relative bg-green disabled:bg-green-100 rounded-md text-white text-sm text-center w-full py-2 truncate hover:bg-green-700"
id="install-module"
:disabled="installation.show"
>
@ -148,7 +148,7 @@
@else
<button type="button"
@click="onInstall('{{ $module->action_url }}', '{{ $module->slug }}', '{!! str_replace("'", "\'", $module->name) !!}', '{{ $module->version }}')"
class="bg-green disabled:bg-green-100 rounded-md text-white text-sm text-center w-full py-2 truncate hover:bg-green-700"
class="relative bg-green disabled:bg-green-100 rounded-md text-white text-sm text-center w-full py-2 truncate hover:bg-green-700"
id="install-module"
:disabled="installation.show"
>