|
|
@ -103,7 +103,7 @@ const columns = [ |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="flex flex-col gap-4 w-full"> |
|
|
|
<div class="h-full flex flex-col gap-4 w-full"> |
|
|
|
<div v-if="!appInfo.auditEnabled" class="text-red-500">Audit logs are currently disabled by administrators.</div> |
|
|
|
<div v-if="!appInfo.auditEnabled" class="text-red-500">Audit logs are currently disabled by administrators.</div> |
|
|
|
<div class="flex flex-row justify-between items-center"> |
|
|
|
<div class="flex flex-row justify-between items-center"> |
|
|
|
<h6 class="mb-4 first-letter:capital font-bold">Audit : {{ base.title }}</h6> |
|
|
|
<h6 class="mb-4 first-letter:capital font-bold">Audit : {{ base.title }}</h6> |
|
|
@ -116,6 +116,7 @@ const columns = [ |
|
|
|
</a-button> |
|
|
|
</a-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="h-[calc(100%_-_102px)] overflow-y-auto nc-scrollbar-thin"> |
|
|
|
<a-table |
|
|
|
<a-table |
|
|
|
class="nc-audit-table w-full" |
|
|
|
class="nc-audit-table w-full" |
|
|
|
size="small" |
|
|
|
size="small" |
|
|
@ -124,12 +125,15 @@ const columns = [ |
|
|
|
:pagination="false" |
|
|
|
:pagination="false" |
|
|
|
:loading="isLoading" |
|
|
|
:loading="isLoading" |
|
|
|
data-testid="audit-tab-table" |
|
|
|
data-testid="audit-tab-table" |
|
|
|
|
|
|
|
sticky |
|
|
|
|
|
|
|
bordered |
|
|
|
> |
|
|
|
> |
|
|
|
<template #emptyText> |
|
|
|
<template #emptyText> |
|
|
|
<a-empty :image="Empty.PRESENTED_IMAGE_SIMPLE" :description="$t('labels.noData')" /> |
|
|
|
<a-empty :image="Empty.PRESENTED_IMAGE_SIMPLE" :description="$t('labels.noData')" /> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</a-table> |
|
|
|
</a-table> |
|
|
|
<div class="flex flex-row justify-center items-center"> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div v-if="+totalRows > currentLimit" class="flex flex-row justify-center items-center"> |
|
|
|
<a-pagination |
|
|
|
<a-pagination |
|
|
|
v-model:current="currentPage" |
|
|
|
v-model:current="currentPage" |
|
|
|
v-model:page-size="currentLimit" |
|
|
|
v-model:page-size="currentLimit" |
|
|
@ -151,6 +155,7 @@ const columns = [ |
|
|
|
font-size: unset; |
|
|
|
font-size: unset; |
|
|
|
font-family: unset; |
|
|
|
font-family: unset; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.pagination { |
|
|
|
.pagination { |
|
|
|
.ant-select-dropdown { |
|
|
|
.ant-select-dropdown { |
|
|
|
@apply !border-1 !border-gray-200; |
|
|
|
@apply !border-1 !border-gray-200; |
|
|
|