Skip to content

Commit

Permalink
Button loading animation added
Browse files Browse the repository at this point in the history
  • Loading branch information
mervekaraman committed Feb 9, 2024
1 parent 226c75c commit 5442a8d
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -42,7 +42,7 @@ class="bg-orange rounded-md text-white text-sm text-center w-full py-2 truncate
@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>
Expand All @@ -63,7 +63,7 @@ class="bg-green rounded-md text-white text-sm text-center w-full py-2 truncate h
@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"
>
Expand Down Expand Up @@ -148,7 +148,7 @@ class="bg-green rounded-md text-white text-sm text-center w-full py-2 truncate h
@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"
>
Expand Down

0 comments on commit 5442a8d

Please sign in to comment.