File tree Expand file tree Collapse file tree 7 files changed +100
-36
lines changed
activities-management/components/create-activity Expand file tree Collapse file tree 7 files changed +100
-36
lines changed Original file line number Diff line number Diff line change 3
3
< h1 class ="card-title "> Activity</ h1 >
4
4
< div class ="form-group ">
5
5
< label for ="name "> Name:</ label >
6
- < input
7
- class ="form-control "
8
- id ="name "
9
- type ="text "
10
- formControlName ="name "
11
- [class.is-invalid] ="name.invalid && name.touched "
12
- required
13
- />
6
+ < input class ="form-control " id ="name " type ="text " formControlName ="name "
7
+ [class.is-invalid] ="name.invalid && name.touched " required />
14
8
< div class ="text-danger " *ngIf ="(name.dirty || name.touched) && name.invalid && name.errors.required ">
15
9
Activity name is required.
16
10
</ div >
@@ -22,9 +16,7 @@ <h1 class="card-title">Activity</h1>
22
16
</ div >
23
17
24
18
< div class ="btn-toolbar " role ="toolbar ">
25
- < div class ="btn-group mr-2 " role ="group ">
26
- < button class ="btn save-button-style mb-2 " type ="submit " [disabled] ="!activityForm.valid "> Save</ button >
27
- </ div >
19
+ < button class ="btn btn-primary " type ="submit " [disabled] ="!activityForm.valid "> Save</ button >
28
20
</ div >
29
21
</ form >
30
- </ div >
22
+ </ div >
Original file line number Diff line number Diff line change 1
- < button (click) ="login() "> login</ button >
1
+ < div class ="login-container ">
2
+
3
+ < div class ="login-header ">
4
+ < img src ="../../../assets/img/ioet.png " />
5
+ </ div >
6
+ < div class ="login-body ">
7
+ < h3 > Please login</ h3 >
8
+ </ div >
9
+
10
+ < div class ="login-controls ">
11
+ < button (click) ="login() " class ="btn btn-primary "> login</ button >
12
+ </ div >
13
+
14
+ </ div >
Original file line number Diff line number Diff line change
1
+ @import ' ../../../styles/themes/orange-theme' ;
2
+
3
+ .login-container {
4
+ display : flex ;
5
+ flex-direction : column ;
6
+ justify-content : center ;
7
+ align-items : center ;
8
+ margin : auto ;
9
+ padding : 50px ;
10
+ }
11
+
12
+ .login-header {
13
+ margin : 5px ;
14
+ text-align : center ;
15
+
16
+ img {
17
+ max-width : 200px ;
18
+ height : auto ;
19
+ }
20
+ }
21
+
22
+ .login-body {
23
+ margin : 5px ;
24
+ text-align : center ;
25
+ }
26
+
27
+ .login-controls {
28
+ margin : 5px ;
29
+ display : flex ;
30
+ text-align : center ;
31
+ min-width : 250px ;
32
+
33
+ button {
34
+ flex-grow : 1 ;
35
+ }
36
+ }
37
+
38
+ h3 {
39
+ color : $dark ;
40
+ font-weight : normal ;
41
+ }
Original file line number Diff line number Diff line change @@ -57,24 +57,13 @@ <h6 class="text-left"><strong>Projects</strong></h6>
57
57
< hr />
58
58
< div class ="container ">
59
59
< div class ="row ">
60
- < div class ="col text-left ">
61
- < button
62
- class ="btn btn-light btn-sm dropdown-toggle "
63
- type ="button "
64
- data-toggle ="dropdown "
65
- aria-haspopup ="true "
66
- aria-expanded ="false "
67
- >
68
- Options
69
- </ button >
70
- </ div >
71
60
< div class ="col text-right ">
72
- < button *ngIf ="isClockIn " class ="btn button-clock-in-style btn-sm " type ="button " (click) ="employeClockIn() ">
61
+ < button *ngIf ="isClockIn " class ="btn btn-primary " type ="button " (click) ="employeClockIn() ">
73
62
Clock In
74
63
</ button >
75
64
< button
76
65
*ngIf ="!isClockIn "
77
- class ="btn button-clock-out-style btn-sm "
66
+ class ="btn btn-primary "
78
67
type ="button "
79
68
(click) ="employeClockOut() "
80
69
>
Original file line number Diff line number Diff line change 11
11
justify-content : center ;
12
12
}
13
13
14
- .button-clock-in-style {
15
- background-image : $button-primary-color ;
16
- color : white ;
17
- }
18
-
19
- .button-clock-out-style {
20
- background : $button-secondary-color ;
21
- color : white ;
22
- }
23
-
24
14
.text-clock-in-color {
25
15
color : $modal-button-secondary ;
26
16
}
Original file line number Diff line number Diff line change 1
1
/* You can add global styles to this file, and also import other style files */
2
+
3
+ @import " styles/themes/orange-theme" ;
4
+ @import " ~bootstrap/scss/bootstrap" ;
Original file line number Diff line number Diff line change
1
+ $primary :#fc5630 ;
2
+ $secondary :#ff3f56 ;
3
+ $success :#16bac5 ;
4
+ $info :#30bced ;
5
+ $warning :#fc5630 ;
6
+ $danger :#ff3663 ;
7
+ $light :#ffffff ;
8
+ $dark :#5c4e63 ;
9
+
10
+ .bg-primary ,
11
+ .btn-primary ,
12
+ .badge-primary ,
13
+ .alert-primary {
14
+ background-image : linear-gradient (to right ,
15
+ #ff3948 ,
16
+ #ff384d ,
17
+ #ff3752 ,
18
+ #ff3657 ,
19
+ #ff365c ,
20
+ #ff385a ,
21
+ #ff3b59 ,
22
+ #ff3d57 ,
23
+ #ff434e ,
24
+ #ff4944 ,
25
+ #fe4f3a ,
26
+ #fc5630 );
27
+ }
28
+
29
+ .bg-secondary ,
30
+ .btn-secondary ,
31
+ .badge-secondary ,
32
+ .alert-secondary {
33
+ background-image : linear-gradient (to right ,
34
+ #FF3663 ,
35
+ #A50D8A );
36
+ }
You can’t perform that action at this time.
0 commit comments