add missing cursor-pointer
This commit is contained in:
		| @@ -180,7 +180,7 @@ | ||||
|               modal_open = false; | ||||
|             }} | ||||
|             type="button" | ||||
|             class="w-full justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block" | ||||
|             class="cancel_modal_button" | ||||
|           > | ||||
|             {$_("cancel")} | ||||
|           </button> | ||||
|   | ||||
| @@ -189,7 +189,7 @@ | ||||
|               edit_modal_open = false; | ||||
|             }} | ||||
|             type="button" | ||||
|             class="w-full justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block" | ||||
|             class="cancel_modal_button" | ||||
|           > | ||||
|             {$_("cancel")} | ||||
|           </button> | ||||
|   | ||||
| @@ -103,7 +103,7 @@ | ||||
|           <button | ||||
|             on:click={submit} | ||||
|             type="button" | ||||
|             class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-red-600 text-base font-medium text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500" | ||||
|             class="confirm_deletion_button" | ||||
|           > | ||||
|             {$_("delete")} | ||||
|           </button> | ||||
| @@ -112,7 +112,7 @@ | ||||
|               modal_open = false; | ||||
|             }} | ||||
|             type="button" | ||||
|             class="w-full justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block" | ||||
|             class="cancel_modal_button" | ||||
|           > | ||||
|             {$_("cancel")} | ||||
|           </button> | ||||
|   | ||||
| @@ -469,7 +469,7 @@ | ||||
|               modal_open = false; | ||||
|             }} | ||||
|             type="button" | ||||
|             class="w-full justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block" | ||||
|             class="cancel_modal_button" | ||||
|           > | ||||
|             {$_("cancel")} | ||||
|           </button> | ||||
|   | ||||
| @@ -194,7 +194,7 @@ | ||||
|               payment_modal_open = false; | ||||
|             }} | ||||
|             type="button" | ||||
|             class="w-full justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block" | ||||
|             class="cancel_modal_button" | ||||
|           > | ||||
|             {$_("cancel")} | ||||
|           </button> | ||||
|   | ||||
| @@ -102,7 +102,7 @@ | ||||
|           <button | ||||
|             on:click={submit} | ||||
|             type="button" | ||||
|             class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-red-600 text-base font-medium text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500" | ||||
|             class="confirm_deletion_button" | ||||
|           > | ||||
|             {$_("delete")} | ||||
|           </button> | ||||
| @@ -111,7 +111,7 @@ | ||||
|               modal_open = false; | ||||
|             }} | ||||
|             type="button" | ||||
|             class="w-full justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block" | ||||
|             class="cancel_modal_button" | ||||
|           > | ||||
|             {$_("cancel")} | ||||
|           </button> | ||||
|   | ||||
| @@ -1,26 +1,28 @@ | ||||
| <script> | ||||
|   import { _ } from "svelte-i18n"; | ||||
|   import TableActions from "../shared/TableActions.svelte"; | ||||
| 	import { _ } from "svelte-i18n"; | ||||
| 	import TableActions from "../shared/TableActions.svelte"; | ||||
|  | ||||
|   export let detailsLink; | ||||
|   export let detailsAction; | ||||
|   export let deleteEnabled; | ||||
|   export let deleteAction; | ||||
|   export let paymentAction; | ||||
| 	export let detailsLink; | ||||
| 	export let detailsAction; | ||||
| 	export let deleteEnabled; | ||||
| 	export let deleteAction; | ||||
| 	export let paymentAction; | ||||
| </script> | ||||
|  | ||||
| {#if paymentAction} | ||||
| <button | ||||
|   on:click={paymentAction} | ||||
|   class="text-[#025a21] hover:text-green-900 mr-4">{$_("enter-payment")}</button | ||||
| > | ||||
| 	<button | ||||
| 		on:click={paymentAction} | ||||
| 		class="text-[#025a21] cursor-pointer hover:text-green-900 mr-4" | ||||
| 		>{$_("enter-payment")}</button | ||||
| 	> | ||||
| {:else} | ||||
| <span class="inline-block opacity-0 cursor-default mr-4" style="">{$_("enter-payment")}</span> | ||||
|  | ||||
| 	<span class="inline-block opacity-0 cursor-default mr-4" style="" | ||||
| 		>{$_("enter-payment")}</span | ||||
| 	> | ||||
| {/if} | ||||
| <TableActions | ||||
|   bind:detailsAction | ||||
|   bind:detailsLink | ||||
|   bind:deleteAction | ||||
|   bind:deleteEnabled | ||||
| 	bind:detailsAction | ||||
| 	bind:detailsLink | ||||
| 	bind:deleteAction | ||||
| 	bind:deleteEnabled | ||||
| /> | ||||
|   | ||||
| @@ -433,7 +433,7 @@ | ||||
|               modal_open = false; | ||||
|             }} | ||||
|             type="button" | ||||
|             class="w-full justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block" | ||||
|             class="cancel_modal_button" | ||||
|           > | ||||
|             {$_("cancel")} | ||||
|           </button> | ||||
|   | ||||
| @@ -72,14 +72,14 @@ | ||||
| 					<button | ||||
| 						on:click={deleteDonor} | ||||
| 						type="button" | ||||
| 						class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-red-600 text-base font-medium text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500" | ||||
| 						class="confirm_deletion_button" | ||||
| 					> | ||||
| 						{$_("confirm-delete-donor-with-all-donations")} | ||||
| 					</button> | ||||
| 					<button | ||||
| 						on:click={cancelDelete} | ||||
| 						type="button" | ||||
| 						class="w-full justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block" | ||||
| 						class="cancel_modal_button" | ||||
| 					> | ||||
| 						{$_("cancel-keep-donor")} | ||||
| 					</button> | ||||
|   | ||||
| @@ -174,7 +174,7 @@ | ||||
|               modal_open = false; | ||||
|             }} | ||||
|             type="button" | ||||
|             class="w-full justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block" | ||||
|             class="cancel_modal_button" | ||||
|           > | ||||
|             {$_("cancel")} | ||||
|           </button> | ||||
|   | ||||
| @@ -294,7 +294,7 @@ | ||||
|               modal_open = false; | ||||
|             }} | ||||
|             type="button" | ||||
|             class="w-full justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block" | ||||
|             class="cancel_modal_button" | ||||
|           > | ||||
|             {$_("cancel")} | ||||
|           </button> | ||||
|   | ||||
| @@ -86,14 +86,14 @@ | ||||
| 					<button | ||||
| 						on:click={deleteOrg} | ||||
| 						type="button" | ||||
| 						class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-red-600 text-base font-medium text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500" | ||||
| 						class="confirm_deletion_button" | ||||
| 					> | ||||
| 						{$_("confirm-delete-organization-and-associated-teams-runners")} | ||||
| 					</button> | ||||
| 					<button | ||||
| 						on:click={cancelDelete} | ||||
| 						type="button" | ||||
| 						class="w-full justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block" | ||||
| 						class="cancel_modal_button" | ||||
| 					> | ||||
| 						{$_("cancel-keep-organization")} | ||||
| 					</button> | ||||
|   | ||||
| @@ -338,7 +338,7 @@ | ||||
|               modal_open = false; | ||||
|             }} | ||||
|             type="button" | ||||
|             class="w-full justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block" | ||||
|             class="cancel_modal_button" | ||||
|           > | ||||
|             {$_("cancel")} | ||||
|           </button> | ||||
|   | ||||
| @@ -90,7 +90,7 @@ | ||||
|           <button | ||||
|             on:click={submit} | ||||
|             type="button" | ||||
|             class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-red-600 text-base font-medium text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500" | ||||
|             class="confirm_deletion_button" | ||||
|           > | ||||
|             {$_("delete")} | ||||
|           </button> | ||||
| @@ -99,7 +99,7 @@ | ||||
|               modal_open = false; | ||||
|             }} | ||||
|             type="button" | ||||
|             class="w-full justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block" | ||||
|             class="cancel_modal_button" | ||||
|           > | ||||
|             {$_("cancel")} | ||||
|           </button> | ||||
|   | ||||
| @@ -261,7 +261,7 @@ | ||||
| 										cancelModal(); | ||||
| 									}} | ||||
| 									type="button" | ||||
| 									class="w-full justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block" | ||||
| 									class="cancel_modal_button" | ||||
| 								> | ||||
| 									{$_("cancel")} | ||||
| 								</button> | ||||
| @@ -375,7 +375,7 @@ | ||||
| 										cancelModal(); | ||||
| 									}} | ||||
| 									type="button" | ||||
| 									class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-red-600 text-base font-medium text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500" | ||||
| 									class="confirm_deletion_button" | ||||
| 								> | ||||
| 									{$_("cancel")} | ||||
| 								</button> | ||||
|   | ||||
| @@ -195,7 +195,7 @@ | ||||
|               modal_open = false; | ||||
|             }} | ||||
|             type="button" | ||||
|             class="w-full justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block" | ||||
|             class="cancel_modal_button" | ||||
|           > | ||||
|             {$_("cancel")} | ||||
|           </button> | ||||
|   | ||||
| @@ -90,7 +90,7 @@ | ||||
|           <button | ||||
|             on:click={submit} | ||||
|             type="button" | ||||
|             class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-red-600 text-base font-medium text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500" | ||||
|             class="confirm_deletion_button" | ||||
|           > | ||||
|             {$_("delete")} | ||||
|           </button> | ||||
| @@ -99,7 +99,7 @@ | ||||
|               modal_open = false; | ||||
|             }} | ||||
|             type="button" | ||||
|             class="w-full justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block" | ||||
|             class="cancel_modal_button" | ||||
|           > | ||||
|             {$_("cancel")} | ||||
|           </button> | ||||
|   | ||||
| @@ -203,7 +203,7 @@ | ||||
|               modal_open = false; | ||||
|             }} | ||||
|             type="button" | ||||
|             class="w-full justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block" | ||||
|             class="cancel_modal_button" | ||||
|           > | ||||
|             {$_("cancel")} | ||||
|           </button> | ||||
|   | ||||
| @@ -82,14 +82,14 @@ | ||||
|           <button | ||||
|             on:click={deleteStation} | ||||
|             type="button" | ||||
|             class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-red-600 text-base font-medium text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500" | ||||
|             class="confirm_deletion_button" | ||||
|           > | ||||
|             {$_("confirm-delete-station-with-all-scans")} | ||||
|           </button> | ||||
|           <button | ||||
|             on:click={cancelDelete} | ||||
|             type="button" | ||||
|             class="w-full justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block" | ||||
|             class="cancel_modal_button" | ||||
|           > | ||||
|             {$_("cancel-keep-station")} | ||||
|           </button> | ||||
|   | ||||
| @@ -85,14 +85,14 @@ | ||||
|           <button | ||||
|             on:click={deleteMe} | ||||
|             type="button" | ||||
|             class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-red-600 text-base font-medium text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500" | ||||
|             class="confirm_deletion_button" | ||||
|           > | ||||
|             {$_("confirm-delete-my-user-profile")} | ||||
|           </button> | ||||
|           <button | ||||
|             on:click={cancelDelete} | ||||
|             type="button" | ||||
|             class="w-full justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block" | ||||
|             class="cancel_modal_button" | ||||
|           > | ||||
|             {$_("cancel-keep-my-profile")} | ||||
|           </button> | ||||
|   | ||||
| @@ -148,7 +148,7 @@ | ||||
|               modal_open = false; | ||||
|             }} | ||||
|             type="button" | ||||
|             class="w-full justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block" | ||||
|             class="cancel_modal_button" | ||||
|           > | ||||
|             {$_("cancel")} | ||||
|           </button> | ||||
|   | ||||
| @@ -81,14 +81,14 @@ | ||||
|           <button | ||||
|             on:click={deleteClient} | ||||
|             type="button" | ||||
|             class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-red-600 text-base font-medium text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500" | ||||
|             class="confirm_deletion_button" | ||||
|           > | ||||
|             {$_("confirm-delete-statsclient")} | ||||
|           </button> | ||||
|           <button | ||||
|             on:click={cancelDelete} | ||||
|             type="button" | ||||
|             class="w-full justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block" | ||||
|             class="cancel_modal_button" | ||||
|           > | ||||
|             {$_("cancel-keep-statsclient")} | ||||
|           </button> | ||||
|   | ||||
| @@ -199,7 +199,7 @@ | ||||
|               modal_open = false; | ||||
|             }} | ||||
|             type="button" | ||||
|             class="w-full justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block" | ||||
|             class="cancel_modal_button" | ||||
|           > | ||||
|             {$_("cancel")} | ||||
|           </button> | ||||
|   | ||||
| @@ -85,14 +85,14 @@ | ||||
| 					<button | ||||
| 						on:click={deleteTeam} | ||||
| 						type="button" | ||||
| 						class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-red-600 text-base font-medium text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500" | ||||
| 						class="confirm_deletion_button" | ||||
| 					> | ||||
| 						{$_("confirm-delete-team-and-associated-runners")} | ||||
| 					</button> | ||||
| 					<button | ||||
| 						on:click={cancelDelete} | ||||
| 						type="button" | ||||
| 						class="w-full justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block" | ||||
| 						class="cancel_modal_button" | ||||
| 					> | ||||
| 						{$_("cancel-keep-team")} | ||||
| 					</button> | ||||
|   | ||||
| @@ -230,7 +230,7 @@ | ||||
|               modal_open = false; | ||||
|             }} | ||||
|             type="button" | ||||
|             class="w-full justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block" | ||||
|             class="cancel_modal_button" | ||||
|           > | ||||
|             {$_("cancel")} | ||||
|           </button> | ||||
|   | ||||
| @@ -287,7 +287,7 @@ | ||||
|               modal_open = false; | ||||
|             }} | ||||
|             type="button" | ||||
|             class="w-full justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block" | ||||
|             class="cancel_modal_button" | ||||
|           > | ||||
|             {$_("cancel")} | ||||
|           </button> | ||||
|   | ||||
| @@ -31,3 +31,9 @@ | ||||
| .donation_active_tab { | ||||
| 	@apply min-w-0 flex-1 bg-blue-400 text-white first:border-s-0 border-s border-b-2 border-neutral-200 py-4 px-4 text-sm font-medium text-center overflow-hidden cursor-pointer focus:outline-hidden; | ||||
| } | ||||
| .confirm_deletion_button { | ||||
| 	@apply w-full cursor-pointer inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-red-600 text-base font-medium text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500; | ||||
| } | ||||
| .cancel_modal_button { | ||||
| 	@apply w-full cursor-pointer justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 hidden lg:block; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user