Skip to content

Commit 6db0d8a

Browse files
committed
Production ready code
1 parent 26fd25a commit 6db0d8a

File tree

5 files changed

+12
-11
lines changed

5 files changed

+12
-11
lines changed

src/app/components/auth/signin.component.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ <h3>Social login</h3>
2727
</md-card-actions>
2828
</form>
2929

30-
<hr />
30+
<hr>
3131

3232
<h3>Login</h3>
3333
<form (ngSubmit)="onSignin(f)" #f="ngForm">
@@ -47,13 +47,13 @@ <h3>Login</h3>
4747
<hr>
4848

4949
<h3>Anonymous login</h3>
50+
<form (ngSubmit)="onSigninAnonymous(a)" #a="ngForm">
51+
<md-card-actions class="button">
52+
<button md-raised-button class="primary" type="submit">Login anonymously</button>
53+
</md-card-actions>
54+
</form>
5055

51-
<md-card-actions class="button">
52-
<button md-raised-button class="primary" (click)="onSigninAnonymous()">Login anonymously</button>
53-
</md-card-actions>
54-
-->
5556
</md-card>
56-
5757
<!-- TEMPORARY PLACE -->
5858
<!--
5959
<app-phone-signin></app-phone-signin>

src/app/components/misc/misc.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { MdDatepicker } from '@angular/material';
77
styleUrls: ['./misc.component.scss']
88
})
99
export class MiscComponent implements OnInit {
10+
answer: string;
1011

1112
constructor() { }
1213

src/app/components/profile/profile-settings.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ <h3>My profile settings</h3>
2121
</md-input-container> -->
2222

2323
<hr>
24-
25-
<md-card-actions class="button">
24+
25+
<!-- <md-card-actions class="button">
2626
<button md-raised-button class="primary" (click)="onSaveData()">Save Settings</button>
27-
</md-card-actions>
27+
</md-card-actions> -->
2828

2929
<md-card-actions class="button">
3030
<button md-raised-button class="primary" (click)="onLogout()">Logout</button>

src/app/components/profile/profile.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<hr />
1515

16-
<md-card-subtitle>{{profileBio}}</md-card-subtitle>
16+
<!-- <md-card-subtitle>{{profileBio}}</md-card-subtitle> -->
1717

1818
<md-card-actions class="button">
1919
<button md-raised-button class="primary" (click)="onPasswordReset()">Reset my password</button>

src/app/components/shared/layout/header/header.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class HeaderComponent {
1414
angularImage: string;
1515

1616
constructor(
17-
private authService: AuthService,
17+
public authService: AuthService,
1818
private alertService: AlertService,
1919
private userService: UserService
2020
) {

0 commit comments

Comments
 (0)