Kaynağa Gözat

Added input fields to register page

Kris Blassingame 6 yıl önce
ebeveyn
işleme
e1e70fb52d

+ 2
- 1
frontEnd/src/app/app.component.ts Dosyayı Görüntüle

@@ -3,12 +3,13 @@ import { Platform } from 'ionic-angular';
3 3
 import { StatusBar } from '@ionic-native/status-bar';
4 4
 import { SplashScreen } from '@ionic-native/splash-screen';
5 5
 import { HomePage } from '../pages/home/home';
6
+import { RegisterPage } from '../pages/register/register';
6 7
 
7 8
 @Component({
8 9
   templateUrl: 'app.html'
9 10
 })
10 11
 export class MyApp {
11
-  rootPage:any = HomePage;
12
+  rootPage:any = RegisterPage;
12 13
 
13 14
   constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen) {
14 15
     platform.ready().then(() => {

+ 12
- 2
frontEnd/src/pages/register/register.html Dosyayı Görüntüle

@@ -7,6 +7,16 @@
7 7
 </ion-header>
8 8
 
9 9
 
10
-<ion-content padding>
10
+<ion-content>
11
+    <ion-list>
11 12
 
12
-</ion-content>
13
+        <ion-item>
14
+          <ion-input type="text" placeholder="Username"></ion-input>
15
+        </ion-item>
16
+      
17
+        <ion-item>
18
+          <ion-input type="password" placeholder="Password"></ion-input>
19
+        </ion-item>
20
+      
21
+      </ion-list>
22
+</ion-content>