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