2024-05-21 12:29:06 +00:00
< div >
2024-06-07 09:01:10 +00:00
< x - slot : title >
Team Admin | Coolify
</ x - slot >
2024-05-21 12:29:06 +00:00
< x - team . navbar />
< form wire : submit = " submitSearch " class = " flex flex-col gap-2 lg:flex-row " >
< x - forms . input wire : model = " search " placeholder = " Search for a user " />
< x - forms . button type = " submit " > Search </ x - forms . button >
</ form >
< h3 class = " pt-4 " > Users </ h3 >
< div class = " flex flex-col gap-2 " >
@ forelse ( $users as $user )
2024-12-09 09:52:38 +00:00
< div wire : key = " user- { { $user->id }} "
class = " flex items-center justify-center gap-2 bg-white box-without-bg dark:bg-coolgray-100 " >
2024-05-21 12:29:06 +00:00
< div > {{ $user -> name }} </ div >
< div > {{ $user -> email }} </ div >
< div class = " flex-1 " ></ div >
< div class = " flex items-center justify-center gap-2 mx-4 text-xs font-bold " >
2024-09-23 06:58:04 +00:00
< x - modal - confirmation title = " Confirm User Deletion? " buttonTitle = " Delete " isErrorButton
submitAction = " delete( { { $user->id }}) " : actions = " [
'The selected user will be permanently deleted from Coolify and the database.' ,
'All resources (application, databases, services, configurations, servers, private keys, tags, etc.) related to this user will be deleted from Coolify and from the server (if the server is reachable).' ,
] "
2024-09-04 19:14:18 +00:00
confirmationText = " { { $user->name }} "
2024-08-30 18:08:14 +00:00
confirmationLabel = " Please confirm the execution of the actions by entering the User Name below "
2024-09-23 06:58:04 +00:00
shortConfirmationLabel = " User Name " step3ButtonText = " Permanently Delete " />
2024-05-21 12:29:06 +00:00
</ div >
</ div >
@ empty
< div > No users found other than the root .</ div >
@ endforelse
2024-05-22 12:23:55 +00:00
@ if ( $lots_of_users )
< div > There are more users than shown . Please use the search bar to find the user you are looking for .</ div >
@ endif
2024-05-21 12:29:06 +00:00
</ div >
</ div >