File tree 4 files changed +19
-7
lines changed
4 files changed +19
-7
lines changed Original file line number Diff line number Diff line change
1
+ < ngb-auth-firebaseui-progress-bar *ngIf ="authProcess.isLoading " class ="mb-2 ">
2
+ </ ngb-auth-firebaseui-progress-bar >
1
3
< ngb-tabset #tabs >
2
4
<!--Reset password tab-->
3
5
< ngb-tab *ngIf ="passwordResetWished " title ="Reset Password " id ="reset_password ">
46
48
</ ngb-alert >
47
49
</ div >
48
50
49
- < div *ngIf ="authProcess.isLoading " class ="progress mt-2 ">
50
- < div class ="progress-bar progress-bar-striped progress-bar-animated " role ="progressbar "
51
- aria-valuenow ="75 " aria-valuemin ="0 " aria-valuemax ="100 " style ="width: 100% "> </ div >
52
- </ div >
53
-
54
51
</ form >
55
52
</ ng-template >
56
53
</ ngb-tab >
159
156
< ngb-tab >
160
157
< ng-template ngbTabTitle > Register</ ng-template >
161
158
< ng-template ngbTabContent >
162
- < div *ngIf ="!authProcess.emailConfirmationSent;then register else confirm "> </ div >
159
+ < ng-container *ngIf ="!authProcess.emailConfirmationSent;then register else confirm "> </ ng-container >
163
160
< ng-template #register >
164
161
< form #signUpPasswordForm ="ngForm "
165
162
class ="mt-3 "
Original file line number Diff line number Diff line change
1
+ < div class ="progress mt-2 ">
2
+ < div class ="progress-bar progress-bar-striped progress-bar-animated " role ="progressbar "
3
+ aria-valuenow ="75 " aria-valuemin ="0 " aria-valuemax ="100 "> </ div >
4
+ </ div >
Original file line number Diff line number Diff line change
1
+ :host {
2
+ display : block ;
3
+ }
4
+
5
+ .progress-bar {
6
+ width : 100% ;
7
+ }
Original file line number Diff line number Diff line change @@ -12,11 +12,13 @@ import {HttpClientModule} from '@angular/common/http';
12
12
import { AngularFireAuthModule } from 'angularfire2/auth' ;
13
13
import { NgbModule } from '@ng-bootstrap/ng-bootstrap' ;
14
14
import { EmailConfirmationComponent } from './components/email-confirmation/email-confirmation.component' ;
15
+ import { ProgressBarComponent } from './components/progress-bar/progress-bar.component' ;
15
16
16
17
// Export module's public API
17
18
// components
18
19
export { AuthComponent } from './components/auth/auth.component' ;
19
20
export { EmailConfirmationComponent } from './components/email-confirmation/email-confirmation.component' ;
21
+ export { ProgressBarComponent } from './components/progress-bar/progress-bar.component' ;
20
22
21
23
// services
22
24
export { AuthProcessService , AuthProvider } from './services/auth-process.service' ;
@@ -41,13 +43,15 @@ export const NgBootstrapAuthFirebaseUIConfigToken = new InjectionToken<NgBootstr
41
43
[
42
44
AuthComponent ,
43
45
EmailConfirmationComponent ,
46
+ ProgressBarComponent ,
44
47
AngularFireAuthModule ,
45
48
AngularFirestoreModule
46
49
] ,
47
50
declarations :
48
51
[
49
52
AuthComponent ,
50
- EmailConfirmationComponent
53
+ EmailConfirmationComponent ,
54
+ ProgressBarComponent
51
55
]
52
56
} )
53
57
export class NgbAuthFirebaseUIModule {
You can’t perform that action at this time.
0 commit comments