File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
src/app/modules/time-clock/components/project-list-hover Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 1
1
< app-search-project (changeFilterProject) ="filterProjects = $event "> </ app-search-project >
2
- < ul class ="list-group content-projects ">
3
- < div *ngFor ="let item of listProjects | filterProject:filterProjects; let i = index " class ="container ">
4
- < li *ngIf ="item.status === 'Active' " class ="list-group-item list-group-item-action d-flex justify-content-between align-items-center " (mouseenter) ="showButton = i " (mouseleave) ="showButton = -1 " (click) ="clockIn(item.id) " [ngClass] ="{ active: selectedId === item.id } ">
5
- {{ item.name }}
6
- < span *ngIf ="showButton != i " class ="badge badge-success "> {{ item.status }}</ span >
7
- < span *ngIf ="showButton === i && selectedId !== item.id " class ="badge badge-light "> Clock In</ span >
8
- </ li >
9
- </ div >
10
- </ ul >
2
+ < div class ="container-fluid border rounded ">
3
+ < ul class ="list-group list-group-flush content-projects mt-2 mb-2 ">
4
+ < div *ngFor ="let item of listProjects | filterProject:filterProjects; let i = index " class ="container ">
5
+ < li *ngIf ="item.status === 'Active' " class ="list-group-item list-group-item-action d-flex justify-content-between align-items-center " (mouseenter) ="showButton = i " (mouseleave) ="showButton = -1 " (click) ="clockIn(item.id) " [ngClass] ="{ active: selectedId === item.id } ">
6
+ {{ item.name }}
7
+ < span *ngIf ="showButton != i " class ="badge badge-success "> {{ item.status }}</ span >
8
+ < span *ngIf ="showButton === i && selectedId !== item.id " class ="badge badge-light "> Clock In</ span >
9
+ </ li >
10
+ </ div >
11
+ </ ul >
12
+ </ div >
You can’t perform that action at this time.
0 commit comments