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 />
2025-06-30 06:50:17 +00:00
< h2 > Admin View </ h2 >
< div class = " subtitle " >
Manage users of this instance .
</ div >
2024-05-21 12:29:06 +00:00
< 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 >
2025-06-30 06:50:17 +00:00
< h3 class = " py-4 " > Users </ h3 >
< div class = " grid grid-cols-1 gap-2 lg:grid-cols-2 " >
2024-05-21 12:29:06 +00:00
@ 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 = " [
2025-06-25 09:45:55 +00:00
'The selected user will be permanently deleted from Coolify\'s database.' ,
'All resources (application, databases, services, configurations, servers, private keys, tags, etc.) related to this user\'s default team will be deleted from Coolify\'s database.' ,
2024-09-23 06:58:04 +00:00
] "
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 "
2025-06-30 07:15:23 +00:00
shortConfirmationLabel = " User Name " />
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 >