From 3a6630883dc8df633804308e4a5f8e02a63b78c4 Mon Sep 17 00:00:00 2001 From: Pragati Sanepara Date: Fri, 23 Sep 2022 15:36:35 +0530 Subject: [PATCH] added cursor-pointer and changed checkbox of header --- .../components/table/table.component.html | 56 ++++++++++--------- 1 file changed, 31 insertions(+), 25 deletions(-) diff --git a/src/app/shared/components/table/table.component.html b/src/app/shared/components/table/table.component.html index 49bfeeb..5cc2ced 100644 --- a/src/app/shared/components/table/table.component.html +++ b/src/app/shared/components/table/table.component.html @@ -1,5 +1,5 @@ -
+
@@ -30,20 +30,21 @@ - + - + class="bg-white border-b dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-100 dark:hover:bg-gray-600"> @@ -89,20 +90,21 @@ {{ rowData[column?.dataProperty] | date:'shortDate'}} - + @@ -125,18 +127,18 @@
-
- -
-
+
+ class="fixed bottom-8 z-50 flex gap-1 justify-between items-center lg:w-1/3 md:w-1/2 w-10/12 text-xs md:m-3 m-1 py-2 md:px-5 px-1 rounded-full border border-gray-300 bg-white dark:bg-gray-800 shadow-xl"> -
{{ 'MESSAGE.SELECTED' | translate }} {{constant.table.selectedIds.length}}{{ +
{{ 'MESSAGE.SELECTED' | translate }} {{constant.table.selectedIds.length}}{{ 'MESSAGE.RECORD' | translate }}
-
+ class="w-4 h-4 cursor-pointer accent-gray-900 dark:accent-gray-100 rounded" + (change)="onHeaderCheckboxChange(constant.table.isHeaderChecked)" + [(ngModel)]="constant.table.isHeaderChecked">
+ {{ column?.title }}
+ class="w-4 h-4 cursor-pointer accent-gray-900 dark:accent-gray-100 rounded">
- +
@@ -115,7 +117,7 @@
+ [name]="'BUTTON.CLEAR_FILTER'" text="w-1/6">