|
|
|
@ -154,8 +154,8 @@ const openDeleteModal = (user: UserType) => {
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
|
<div data-testid="nc-super-user-list"> |
|
|
|
|
<div class="max-w-195 mx-auto"> |
|
|
|
|
<div class="text-2xl my-4 text-left font-weight-bold">{{ $t('title.userManagement') }}</div> |
|
|
|
|
<div class="max-w-195 mx-auto h-full"> |
|
|
|
|
<div class="text-2xl text-left font-weight-bold">{{ $t('title.userManagement') }}</div> |
|
|
|
|
<div class="py-2 flex gap-4 items-center justify-between"> |
|
|
|
|
<a-input v-model:value="searchText" class="!max-w-90 !rounded-md" placeholder="Search members" @change="loadUsers()"> |
|
|
|
|
<template #prefix> |
|
|
|
@ -172,7 +172,8 @@ const openDeleteModal = (user: UserType) => {
|
|
|
|
|
</NcButton> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="w-full mt-5 border-1 rounded-md h-[613px] max-w-250"> |
|
|
|
|
<div class="mt-3 flex flex-col justify-between"> |
|
|
|
|
<div class="w-full border-1 rounded-md max-w-250 h-160"> |
|
|
|
|
<div class="flex w-full bg-gray-50 border-b-1"> |
|
|
|
|
<span class="py-3.5 text-gray-500 font-medium text-3.5 w-1/3 text-start pl-10">{{ $t('labels.email') }}</span> |
|
|
|
|
<span class="py-3.5 text-gray-500 font-medium text-3.5 w-1/3 text-start pl-20">{{ $t('objects.role') }}</span> |
|
|
|
@ -271,7 +272,7 @@ const openDeleteModal = (user: UserType) => {
|
|
|
|
|
</div> |
|
|
|
|
</section> |
|
|
|
|
</div> |
|
|
|
|
<div v-if="pagination.total > 10" class="flex items-center justify-center mt-7"> |
|
|
|
|
<div v-if="pagination.total > 10" class="flex items-center justify-center mt-4"> |
|
|
|
|
<a-pagination |
|
|
|
|
v-model:current="currentPage" |
|
|
|
|
:total="pagination.total" |
|
|
|
@ -279,6 +280,7 @@ const openDeleteModal = (user: UserType) => {
|
|
|
|
|
@change="loadUsers(currentPage, currentLimit)" |
|
|
|
|
/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<GeneralDeleteModal v-model:visible="isOpen" entity-name="User" :on-delete="() => deleteUser()"> |
|
|
|
|
<template #entity-preview> |
|
|
|
|
<span> |
|
|
|
|