File tree 6 files changed +54
-13
lines changed
src/applications/settings-mr-app
6 files changed +54
-13
lines changed Original file line number Diff line number Diff line change 33
33
[stickyId] ="'profilesTable' "
34
34
(sortFunction) ="onSortChanged($event) " [customSort] ="true "
35
35
(onColResize) ="_columnsResizeManager.onColumnResize($event) ">
36
-
36
+ < ng-template pTemplate ="colgroup " let-columns >
37
+ < colgroup >
38
+ < col [ngStyle] ="{'padding-left': '1em'} ">
39
+ < col >
40
+ < col >
41
+ < col >
42
+ < col >
43
+ </ colgroup >
44
+ </ ng-template >
37
45
< ng-template pTemplate ="header ">
38
46
< tr >
39
- < th data-cid ="rule " [ngStyle] ="{'padding-left': '1em'} ">
47
+ < th data-cid ="rule " [ngStyle] ="{'padding-left': '1em'} " pResizableColumn >
40
48
{{'applications.settings.mr.report.rule' | translate}}
41
49
</ th >
42
50
< th data-cid ="date " pResizableColumn [pSortableColumn] ="'requestedDate' " [ngStyle] ="{'width': '120px'} ">
51
59
{{'applications.settings.mr.report.type' | translate}}
52
60
< p-sortIcon [field] ="'type' "> </ p-sortIcon >
53
61
</ th >
54
- < th data-cid ="download " [ngStyle] ="{'width': '180px'} ">
62
+ < th data-cid ="download " [ngStyle] ="{'width': '180px'} " pResizableColumn >
55
63
</ th >
56
64
</ tr >
57
65
</ ng-template >
58
66
59
67
< ng-template pTemplate ="body " let-report >
60
68
< tr >
61
- < td [ngStyle] ="{'padding-left': '1em'} ">
69
+ < td [ngStyle] ="{'padding-left': '1em'} " >
62
70
< span class ="kTableColumn ">
63
71
{{report.managedTasksProfileName}}
64
72
</ span >
Original file line number Diff line number Diff line change @@ -208,7 +208,11 @@ p-table ::ng-deep tr:not(:last-child) .nameHolder {
208
208
z-index : 1 ;
209
209
background-color : white ;
210
210
}
211
-
211
+ :host ::ng-deep p-table {
212
+ .p-datatable .p-datatable-thead > tr > th {
213
+ border-left : 1px solid $kGrayscale6 ;
214
+ }
215
+ }
212
216
@media screen and (max-width : 1310px ) {
213
217
.hideInLowRes {
214
218
display : none ;
Original file line number Diff line number Diff line change 48
48
[(selection)] ="_selectedReviews "
49
49
(sortFunction) ="onSortChanged($event) " [customSort] ="true "
50
50
(onColResize) ="_columnsResizeManager.onColumnResize($event) ">
51
-
51
+ < ng-template pTemplate ="colgroup " let-columns >
52
+ < colgroup >
53
+ < col [ngStyle] ="{'padding-left': '1.1em'} ">
54
+ < col >
55
+ < col >
56
+ < col >
57
+ < col >
58
+ < col >
59
+ < col >
60
+ < col >
61
+ </ colgroup >
62
+ </ ng-template >
52
63
< ng-template pTemplate ="header ">
53
64
< tr >
54
- < th class ="selectionColumn " [ngStyle] ="{'padding-left': '1.1em', 'width': '42px'} ">
65
+ < th class ="selectionColumn " [ngStyle] ="{'padding-left': '1.1em', 'width': '42px'} " pResizableColumn >
55
66
< p-tableHeaderCheckbox > </ p-tableHeaderCheckbox >
56
67
</ th >
57
68
< th data-cid ="name " [ngStyle] ="{'padding-left': '1em'} " pResizableColumn [pSortableColumn] ="'objectName' ">
58
69
{{'applications.settings.authentication.table.name' | translate}}
59
70
< p-sortIcon [field] ="'objectName' "> </ p-sortIcon >
60
71
</ th >
61
- < th data-cid ="id " [ngStyle] ="{'width': '120px'} " class ="hideInLowRes ">
72
+ < th data-cid ="id " [ngStyle] ="{'width': '120px'} " class ="hideInLowRes " pResizableColumn >
62
73
{{'applications.content.uploadControl.table.entryId' | translate}}
63
74
</ th >
64
75
< th data-cid ="type " pResizableColumn [ngStyle] ="{'width': '60px'} ">
76
87
< p-sortIcon [field] ="'plannedExecutionTime' "> </ p-sortIcon >
77
88
</ th >
78
89
79
- < th data-cid ="status " [ngStyle] ="{'width': '100px'} ">
90
+ < th data-cid ="status " [ngStyle] ="{'width': '100px'} " pResizableColumn >
80
91
{{'applications.settings.authentication.table.status' | translate}}
81
92
</ th >
82
93
< th [ngStyle] ="{'overflow': 'hidden', 'width': '70px'} "> </ th >
Original file line number Diff line number Diff line change @@ -247,7 +247,11 @@ p-table ::ng-deep tr:not(:last-child) .nameHolder {
247
247
z-index : 1 ;
248
248
background-color : white ;
249
249
}
250
-
250
+ :host ::ng-deep p-table {
251
+ .p-datatable .p-datatable-thead > tr > th {
252
+ border-left : 1px solid $kGrayscale6 ;
253
+ }
254
+ }
251
255
@media screen and (max-width : 1310px ) {
252
256
.hideInLowRes {
253
257
display : none ;
Original file line number Diff line number Diff line change 26
26
[stickyId] ="'profilesTable' "
27
27
(sortFunction) ="onSortChanged($event) " [customSort] ="true "
28
28
(onColResize) ="_columnsResizeManager.onColumnResize($event) ">
29
-
29
+ < ng-template pTemplate ="colgroup " let-columns >
30
+ < colgroup >
31
+ < col [ngStyle] ="{'padding-left': '1em'} ">
32
+ < col >
33
+ < col >
34
+ < col >
35
+ < col >
36
+ < col >
37
+ </ colgroup >
38
+ </ ng-template >
30
39
< ng-template pTemplate ="header ">
31
40
< tr >
32
41
< th data-cid ="name " [ngStyle] ="{'padding-left': '1em'} " pResizableColumn [pSortableColumn] ="'name' ">
33
42
{{'applications.settings.authentication.table.name' | translate}}
34
43
< p-sortIcon [field] ="'name' "> </ p-sortIcon >
35
44
</ th >
36
- < th data-cid ="description ">
45
+ < th data-cid ="description " pResizableColumn >
37
46
{{'applications.settings.authentication.table.description' | translate}}
38
47
</ th >
39
48
< th data-cid ="created " pResizableColumn [pSortableColumn] ="'createdAt' " [ngStyle] ="{'width': '100px'} ">
48
57
{{'applications.settings.mr.nextRun' | translate}}
49
58
< p-sortIcon [field] ="'nextRunDate' "> </ p-sortIcon >
50
59
</ th >
51
- < th data-cid ="status " [ngStyle] ="{'width': '70px'} ">
60
+ < th data-cid ="status " [ngStyle] ="{'width': '70px'} " pResizableColumn >
52
61
{{'applications.settings.authentication.table.status' | translate}}
53
62
</ th >
54
63
< th [ngStyle] ="{'overflow': 'hidden', 'width': '80px'} "> </ th >
Original file line number Diff line number Diff line change @@ -166,3 +166,8 @@ p-table ::ng-deep tr:not(:last-child) .nameHolder {
166
166
background-color : white ;
167
167
}
168
168
169
+ :host ::ng-deep p-table {
170
+ .p-datatable .p-datatable-thead > tr > th {
171
+ border-left : 1px solid $kGrayscale6 ;
172
+ }
173
+ }
You can’t perform that action at this time.
0 commit comments