55 Ionic pages and navigation.
66-->
77< ion-header >
8- < ion-navbar >
9- < button ion-button menuToggle >
10- < ion-icon name ="menu "> </ ion-icon >
11- </ button >
12- < ion-title > Register</ ion-title >
13- </ ion-navbar >
8+ < ion-navbar >
9+ < button ion-button menuToggle >
10+ < ion-icon name ="menu "> </ ion-icon >
11+ </ button >
12+ < ion-title > Register</ ion-title >
13+ </ ion-navbar >
1414</ ion-header >
1515
1616< ion-content >
1919 < h1 id ="title "> INTRANSITION</ h1 >
2020 </ div >
2121
22- < ion-grid fixed >
22+ <!-- < ion-grid fixed>
2323
2424 <br>
2525
@@ -85,6 +85,84 @@ <h3 text-center>If you don't have an account yet, you can register now.</h3>
8585 <ion-col col-2></ion-col>
8686 </ion-row>
8787
88- </ ion-grid >
88+ </ion-grid> -->
89+
90+ < form [formGroup] ="loginCreds " (ngSubmit) ="logForm() ">
91+ < ion-grid >
92+
93+ < ion-row >
94+ < ion-col col-1 > </ ion-col >
95+ < ion-col >
96+ < h2 text-center > Transitioning from the military to civilian environment is more than just a job change.</ h2 >
97+ < br >
98+ < h2 id ="lifechange " text-center > It's a life change.</ h2 >
99+ </ ion-col >
100+ < ion-col col-1 > </ ion-col >
101+ </ ion-row >
102+
103+ < ion-row >
104+ < ion-col col-1 > </ ion-col >
105+ < ion-col >
106+ < ion-label class ="labels " style ="font-size: 25px " stacked > EMAIL ADDRESS</ ion-label >
107+ < ion-input formControlName ="email " class ="inputs " id ="email " type ="email "> </ ion-input >
108+ </ ion-col >
109+ < ion-col col-1 > </ ion-col >
110+ </ ion-row >
111+
112+ < ion-row >
113+ < ion-col col-1 > </ ion-col >
114+ < ion-col >
115+ < ion-item no-lines *ngIf ="!loginCreds.controls.email.valid && (loginCreds.controls.email.dirty || submitAttempt) ">
116+ < p class ="invalid-text "> Please enter a valid email</ p >
117+ </ ion-item > < br >
118+ </ ion-col >
119+ < ion-col col-1 > </ ion-col >
120+ </ ion-row >
121+
122+ < ion-row >
123+ < ion-col col-1 > </ ion-col >
124+ < ion-col >
125+ < ion-label class ="labels " style ="font-size: 25px " stacked > PASSWORD</ ion-label >
126+ < ion-input formControlName ="password " class ="inputs " id ="password " type ="password "> < button ion-button > Hi</ button > </ ion-input >
127+ </ ion-col >
128+ < ion-col col-1 > </ ion-col >
129+ </ ion-row >
130+
131+ < ion-row >
132+ < ion-col col-1 > </ ion-col >
133+ < ion-col >
134+ < ion-item no-lines *ngIf ="!loginCreds.controls.password.valid && (loginCreds.controls.password.dirty || submitAttempt) ">
135+ < p class ="invalid-text "> Please enter a password</ p >
136+ </ ion-item > < br >
137+ </ ion-col >
138+ < ion-col col-1 > </ ion-col >
139+ </ ion-row >
140+
141+ < ion-row >
142+ < ion-col col-2 > </ ion-col >
143+ < ion-col >
144+ < button (click) ="login() " id ="loginbutton " type ="submit " ion-button block [disabled] ="!loginCreds.valid "> LOGIN</ button >
145+ </ ion-col >
146+ < ion-col col-2 > </ ion-col >
147+ </ ion-row >
148+
149+ < ion-row >
150+ < ion-col col-1 > </ ion-col >
151+ < ion-col >
152+ < h3 text-center > If you don't have an account yet, you can register now.</ h3 >
153+ </ ion-col >
154+ < ion-col col-1 > </ ion-col >
155+ </ ion-row >
156+
157+ < ion-row style ="padding-bottom:30px; ">
158+ < ion-col col-2 > </ ion-col >
159+ < ion-col >
160+ < button (click) ="toRegisterPage() " id ="signupbutton " ion-button block > SIGN UP</ button >
161+ </ ion-col >
162+ < ion-col col-2 > </ ion-col >
163+ </ ion-row >
164+
165+ </ ion-grid >
166+ </ form >
89167
90168</ ion-content >
0 commit comments