11< div class ="text-center mt-5 ">
2- < div class ="card ">
3- < div class ="card-header ">
4- < div class ="row ">
5- < div class ="col-2 text-left ">
6- < strong > Time clock</ strong >
7- </ div >
8- < div class ="col-10 text-right ">
9- < i class ="far fa-question-circle "> </ i >
10- </ div >
11- </ div >
2+ < div class ="card ">
3+ < div class ="card-header ">
4+ < div class ="row ">
5+ < div class ="col-2 text-left ">
6+ < strong > Time clock</ strong >
127 </ div >
13-
14- < div class ="card-body ">
15- < p *ngIf ="!isClockIn " class ="card-title text-left "> < strong > {{ username }}</ strong > clocked < strong class ="text-success "> in</ strong > at < strong > {{ hour | number: '2.0-2' }}:{{ minute | number: '2.0-2' }}:{{ seconds | number: '2.0-2' }}</ strong > </ p >
16- < p *ngIf ="isClockIn " class ="card-title text-left "> < strong > {{ username }}</ strong > clocked < strong class ="text-danger "> out</ strong > at < strong > {{ hour | number: '2.0-2' }}:{{ minute | number: '2.0-2' }}:{{ seconds | number: '2.0-2' }}</ strong > </ p >
17- < h6 class ="text-left "> < strong > Totals</ strong > </ h6 >
18- < hr >
19- < div class ="row ">
20- < div class ="col-4 ">
21- < h6 > Current</ h6 >
22- < h3 > {{ hourCounterRealTime | number: '2.0-2' }}:{{ minuteCounterRealTime | number: '2.0-2' }}:{{ secondsCounterRealTime | number: '2.0-2' }}</ h3 >
23- </ div >
24- < div class ="col-4 ">
25- < h6 > Day</ h6 >
26- < h3 > 00:00</ h3 >
27- </ div >
28- < div class ="col-4 ">
29- < h6 > Week</ h6 >
30- < h3 > 00:00</ h3 >
31- </ div >
32- </ div >
33- < h6 class ="text-left "> < strong > Projects</ strong > </ h6 >
34- < p class ="text-left "> < i class ="fas fa-folder "> </ i > < strong > Top</ strong > </ p >
35- < ul class ="list-group ">
36- < app-project-list-hover [projects] ="projects " (showFields) ="setShowFields($event) "> </ app-project-list-hover >
37- </ ul >
38- < br >
39- < form *ngIf ="(!isClockIn || showFields) && !isHidenForm ">
40- < div class ="form-group row ">
41- < label for ="inputActivity " class ="col-sm-2 col-form-label text-center "> < strong > Activity</ strong > </ label >
42- < div class ="col-sm-10 ">
43- < input type ="text " class ="form-control ">
44- </ div >
45- </ div >
46- < div class ="form-group row ">
47- < label for ="inputJiraTicket " class ="col-sm-2 col-form-label text-center "> < strong > Jira Ticket</ strong > </ label >
48- < div class ="col-sm-10 ">
49- < input type ="text " class ="form-control ">
50- </ div >
51- </ div >
52- < div class ="form-group row ">
53- < label for ="inputTechnology " class ="col-sm-2 col-form-label text-center "> < strong > Technology</ strong > </ label >
54- < div class ="col-sm-10 ">
55- < input *ngIf ="!showAlertEnterTecnology " #data type ="text " (keyup) ="enterTechnology(data.value) " class ="form-control ">
56- < input *ngIf ="showAlertEnterTecnology " #data type ="text " (keyup) ="enterTechnology(data.value) " class ="form-control border-danger ">
57- < div >
58- < h6 *ngIf ="showAlertEnterTecnology " class ="text-danger text-left "> Technology field is required. Enter this field to clock out.</ h6 >
59- </ div >
60- </ div >
61- </ div >
62- </ form >
63- < hr >
64- < div class ="container ">
65- < div class ="row ">
66- < div class ="col text-left " id ="optionsContainer ">
67- < button class ="btn btn-light btn-sm dropdown-toggle " type ="button " data-toggle ="dropdown " aria-haspopup ="true " aria-expanded ="false ">
68- Options
69- </ button >
70- </ div >
71- < div class ="col text-right " id ="clockInOutContainer ">
72- < button *ngIf ="isClockIn " class ="btn btn-success btn-sm " type ="button " (click) ="employeClockIn() "> Clock In</ button >
73- < button *ngIf ="!isClockIn " class ="btn btn-danger btn-sm " type ="button " (click) ="employeClockOut() "> Clock Out</ button >
74- </ div >
75- </ div >
8+ < div class ="col-10 text-right ">
9+ < i class ="far fa-question-circle "> </ i >
10+ </ div >
11+ </ div >
12+ </ div >
13+ < div class ="card-body ">
14+ < p *ngIf ="!isClockIn " class ="card-title text-left "> < strong > {{ username }}</ strong > clocked < strong
15+ class ="text-success "> in</ strong > at
16+ < strong > {{ hour | number: '2.0-2' }}:{{ minute | number: '2.0-2' }}:{{ seconds | number: '2.0-2' }}</ strong > </ p >
17+ < p *ngIf ="isClockIn " class ="card-title text-left "> < strong > {{ username }}</ strong > clocked < strong
18+ class ="text-danger "> out</ strong > at
19+ < strong > {{ hour | number: '2.0-2' }}:{{ minute | number: '2.0-2' }}:{{ seconds | number: '2.0-2' }}</ strong > </ p >
20+ < h6 class ="text-left "> < strong > Totals</ strong > </ h6 >
21+ < hr >
22+ < div class ="row ">
23+ < div class ="col-4 ">
24+ < h6 > Current</ h6 >
25+ < h3 >
26+ {{ hourCounterRealTime | number: '2.0-2' }}:{{ minuteCounterRealTime | number: '2.0-2' }}:{{ secondsCounterRealTime | number: '2.0-2' }}
27+ </ h3 >
28+ </ div >
29+ < div class ="col-4 ">
30+ < h6 > Day</ h6 >
31+ < h3 > 00:00</ h3 >
32+ </ div >
33+ < div class ="col-4 ">
34+ < h6 > Week</ h6 >
35+ < h3 > 00:00</ h3 >
36+ </ div >
37+ </ div >
38+ < h6 class ="text-left "> < strong > Projects</ strong > </ h6 >
39+ < p class ="text-left "> < i class ="fas fa-folder "> </ i > < strong > Top</ strong > </ p >
40+ < ul class ="list-group ">
41+ < app-project-list-hover [projects] ="projects " (showFields) ="setShowFields($event) "> </ app-project-list-hover >
42+ </ ul >
43+ < br >
44+ < form *ngIf ="(!isClockIn || showFields) && !isHidenForm ">
45+ < div class ="form-group row ">
46+ < label for ="inputActivity " class ="col-sm-2 col-form-label text-center "> < strong > Activity</ strong > </ label >
47+ < div class ="col-sm-10 ">
48+ < input type ="text " class ="form-control ">
49+ </ div >
50+ </ div >
51+ < div class ="form-group row ">
52+ < label for ="inputJiraTicket " class ="col-sm-2 col-form-label text-center "> < strong > Jira Ticket</ strong > </ label >
53+ < div class ="col-sm-10 ">
54+ < input type ="text " class ="form-control ">
55+ </ div >
56+ </ div >
57+ < div class ="form-group row ">
58+ < label for ="inputTechnology " class ="col-sm-2 col-form-label text-center "> < strong > Technology</ strong > </ label >
59+ < div class ="col-sm-10 ">
60+ < input *ngIf ="!showAlertEnterTecnology " #data type ="text " (keyup) ="enterTechnology(data.value) "
61+ class ="form-control ">
62+ < input *ngIf ="showAlertEnterTecnology " #data type ="text " (keyup) ="enterTechnology(data.value) "
63+ class ="form-control border-danger ">
64+ < div >
65+ < h6 *ngIf ="showAlertEnterTecnology " class ="text-danger text-left "> Technology field is required. Enter this
66+ field to clock out.</ h6 >
7667 </ div >
68+ </ div >
69+ </ div >
70+ </ form >
71+ < hr >
72+ < div class ="container ">
73+ < div class ="row ">
74+ < div class ="col text-left " id ="optionsContainer ">
75+ < button class ="btn btn-light btn-sm dropdown-toggle " type ="button " data-toggle ="dropdown "
76+ aria-haspopup ="true " aria-expanded ="false ">
77+ Options
78+ </ button >
79+ </ div >
80+ < div class ="col text-right " id ="clockInOutContainer ">
81+ < button *ngIf ="isClockIn " class ="btn btn-success btn-sm " type ="button " (click) ="employeClockIn() "> Clock
82+ In</ button >
83+ < button *ngIf ="!isClockIn " class ="btn btn-danger btn-sm " type ="button " (click) ="employeClockOut() "> Clock
84+ Out</ button >
85+ </ div >
7786 </ div >
87+ </ div >
7888 </ div >
89+ </ div >
7990</ div >
0 commit comments