File tree Expand file tree Collapse file tree 4 files changed +23
-23
lines changed Expand file tree Collapse file tree 4 files changed +23
-23
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ <h1 class="header">Login with Firebase or Social Providers</h1>
12
12
< input type ="password " class ="form-control " formControlName ="password ">
13
13
< label class ="error "> {{errorMessage}}</ label >
14
14
</ div >
15
- < button type ="submit " (click) ="tryLogin(loginForm.value) " class ="btn btn-default "> Login</ button >
15
+ < button type ="submit " (click) ="tryLogin(loginForm.value) " class ="btn btn-success "> Login</ button >
16
16
</ form >
17
17
</ div >
18
18
</ div >
@@ -28,12 +28,7 @@ <h1 class="header">Login with Firebase or Social Providers</h1>
28
28
</ div >
29
29
< div class ="row ">
30
30
< div class ="col-md-4 col-md-offset-4 ">
31
- < button type ="button " class ="btn btn-info btn-block " (click) ="tryTwitterLogin() "> Login with Twitter</ button >
32
- </ div >
33
- </ div >
34
- < div class ="row ">
35
- < div class ="col-md-4 col-md-offset-4 ">
36
- < p > No account yet? < a href ="/register "> Create an account</ a > </ p >
31
+ < p > No account yet? < a href ="/register "> Create an account</ a > </ p >
37
32
</ div >
38
33
</ div >
39
34
</ div >
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ <h1 class="header">Create an account with Firebase or Social Providers</h1>
13
13
< label class ="error "> {{errorMessage}}</ label >
14
14
< label class ="success "> {{successMessage}}</ label >
15
15
</ div >
16
- < button type ="submit " (click) ="tryRegister(registerForm.value) " class ="btn btn-default "> Register</ button >
16
+ < button type ="submit " (click) ="tryRegister(registerForm.value) " class ="btn btn-danger "> Register</ button >
17
17
</ form >
18
18
</ div >
19
19
</ div >
@@ -24,17 +24,12 @@ <h1 class="header">Create an account with Firebase or Social Providers</h1>
24
24
</ div >
25
25
< div class ="row ">
26
26
< div class ="col-md-4 col-md-offset-4 ">
27
- < button type ="button " class ="btn btn-danger btn-block " (click) ="tryGoogleLogin() "> Register with Google</ button >
27
+ < button type ="button " class ="btn btn-info btn-block " (click) ="tryGoogleLogin() "> Register with Google</ button >
28
28
</ div >
29
29
</ div >
30
30
< div class ="row ">
31
31
< div class ="col-md-4 col-md-offset-4 ">
32
- < button type ="button " class ="btn btn-info btn-block " (click) ="tryTwitterLogin() "> Register with Twitter</ button >
33
- </ div >
34
- </ div >
35
- < div class ="row ">
36
- < div class ="col-md-4 col-md-offset-4 ">
37
- < p > Already have an account? < a href ="/login "> Login</ a > </ p >
32
+ < p > Already have an account? < a href ="/login "> Login</ a > </ p >
38
33
</ div >
39
34
</ div >
40
35
</ div >
Original file line number Diff line number Diff line change 1
1
< div class ="container ">
2
- < div class ="row ">
3
- < div class ="col-md-4 col-md-offset-4 ">
4
- < div class ="card " style ="width: 20rem; margin-top: 50px; ">
5
- <!-- <img class="card-img-top image" [src]="user.image" alt="Card image cap">
2
+ < div class ="row " style ="margin-top: 50px; ">
3
+ < div class ="col-md-4 ">
4
+ < h4 class ="text-color "> Welcome to the second screen</ h4 >
5
+ </ div >
6
+ < div class ="col-md-4 ">
7
+ < div class ="card ">
8
+ < img class ="card-img-top image " [src] ="user.image " alt ="Card image cap ">
6
9
< div *ngIf ='user.provider != "password" 'class ="card-body ">
7
10
< h4 class ="card-title "> {{user.name}}</ h4 >
8
- <p class="card-text">This is an example of Social Authentication using Firebase in an Angular 5 web app. </p>
11
+ < p class ="card-text "> This is sample task using firebase authentication and Angular. </ p >
9
12
</ div >
10
13
< div *ngIf ='user.provider == "password" 'class ="card-body ">
11
14
< form [formGroup] ="profileForm ">
@@ -15,12 +18,11 @@ <h4 class="card-title">{{user.name}}</h4>
15
18
</ div >
16
19
</ form >
17
20
< a (click) ="save(profileForm.value) " class ="btn btn-primary "> Save</ a >
18
- </div> -->
19
- < h5 > Welcome to this screen</ h5 >
21
+ </ div >
20
22
</ div >
21
23
</ div >
22
24
< div class ="col-md-4 ">
23
- < button type ="button " (click) ="logout() " class ="btn btn-link "> Logout</ button >
25
+ < button type ="button " (click) ="logout() " class ="btn btn-success "> Logout</ button >
24
26
</ div >
25
27
</ div >
26
28
</ div >
Original file line number Diff line number Diff line change 1
1
.image {
2
2
width : 100%
3
3
}
4
+
5
+ .card {
6
+ width : 20rem !important ;
7
+ }
8
+
9
+ .text-color {
10
+ color : #4cae4c ;
11
+ }
You can’t perform that action at this time.
0 commit comments