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