Pārlūkot izejas kodu

search integrated, setting new branch for full search functionality

rjsmall90 6 gadus atpakaļ
vecāks
revīzija
768413e3e1

+ 3
- 1
src/app/app.component.ts Parādīt failu

@@ -6,7 +6,8 @@ import { SplashScreen } from '@ionic-native/splash-screen';
6 6
 import { HomePage } from '../pages/home/home';
7 7
 import { ListPage } from '../pages/list/list';
8 8
 import { NewProfilePage } from '../pages/registerUser/registerUser';
9
-import {TeacherRegistrationPage } from '../pages/registerTeacher/registerTeacher'
9
+import { TeacherRegistrationPage } from '../pages/registerTeacher/registerTeacher';
10
+import { SearchPage } from '../pages/search/search';
10 11
 
11 12
 
12 13
 @Component({
@@ -28,6 +29,7 @@ export class MyApp {
28 29
       { title: 'List', component: ListPage },
29 30
       { title: 'Register User', component: NewProfilePage },
30 31
       { title: 'Register Teacher', component: TeacherRegistrationPage }, 
32
+      { title: 'Search' , component: SearchPage },
31 33
     ];
32 34
 
33 35
   }

+ 6
- 3
src/app/app.module.ts Parādīt failu

@@ -7,7 +7,8 @@ import { MyApp } from './app.component';
7 7
 import { HomePage } from '../pages/home/home';
8 8
 import { ListPage } from '../pages/list/list';
9 9
 import { NewProfilePage } from '../pages/registerUser/registerUser';
10
-import {TeacherRegistrationPage } from '../pages/registerTeacher/registerTeacher'
10
+import { TeacherRegistrationPage } from '../pages/registerTeacher/registerTeacher';
11
+import { SearchPage } from '../pages/search/search';
11 12
 
12 13
 
13 14
 import { StatusBar } from '@ionic-native/status-bar';
@@ -20,7 +21,8 @@ import { ConnectionProvider } from '../providers/connection/connection';
20 21
     HomePage,
21 22
     ListPage,
22 23
     NewProfilePage,
23
-    TeacherRegistrationPage
24
+    TeacherRegistrationPage,
25
+    SearchPage,
24 26
   ],
25 27
   imports: [
26 28
     BrowserModule,
@@ -33,7 +35,8 @@ import { ConnectionProvider } from '../providers/connection/connection';
33 35
     HomePage,
34 36
     ListPage, 
35 37
     NewProfilePage,
36
-    TeacherRegistrationPage
38
+    TeacherRegistrationPage,
39
+    SearchPage,
37 40
   ],
38 41
   providers: [
39 42
     StatusBar,

+ 7
- 7
src/pages/search/search.html Parādīt failu

@@ -1,10 +1,10 @@
1 1
 <ion-header>
2 2
   <ion-navbar>
3
-    <button ion-button menuToggle>
3
+    <!-- <button ion-button menuToggle>
4 4
       <ion-icon name="menu"></ion-icon>
5
-    </button>
5
+    </button> -->
6 6
     <ion-title>
7
-      Search Home Page
7
+      Search Page
8 8
     </ion-title>
9 9
   </ion-navbar>
10 10
 </ion-header>
@@ -27,20 +27,20 @@
27 27
   </div>
28 28
   <ion-list id="searchHomePage-list19">
29 29
     <ion-item color="none" id="searchHomePage-list-item10">
30
-      School District #1
30
+   
31 31
     </ion-item>
32 32
   </ion-list>
33 33
   <ion-list id="searchHomePage-list20">
34 34
     <ion-item color="none" id="searchHomePage-list-item11">
35
-      School District #2
35
+     
36 36
     </ion-item>
37 37
   </ion-list>
38 38
   <ion-list id="searchHomePage-list21">
39 39
     <ion-item color="none" id="searchHomePage-list-item15">
40
-      School District #3
40
+      
41 41
     </ion-item>
42 42
     <ion-item color="none" id="searchHomePage-list-item16">
43
-      School District #4
43
+    
44 44
     </ion-item>
45 45
   </ion-list>
46 46
   <button id="searchHomePage-button10" ion-button color="balanced" full large>

+ 3
- 0
src/pages/search/search.scss Parādīt failu

@@ -0,0 +1,3 @@
1
+page-search {
2
+
3
+}

+ 3
- 3
src/pages/search/search.ts Parādīt failu

@@ -2,10 +2,10 @@ import { Component } from '@angular/core';
2 2
 import { NavController } from 'ionic-angular';
3 3
 
4 4
 @Component({
5
-  selector: 'page-search-home-page',
6
-  templateUrl: 'search-home-page.html'
5
+  selector: 'page-search',
6
+  templateUrl: 'search.html'
7 7
 })
8
-export class SearchHomePagePage {
8
+export class SearchPage {
9 9
 
10 10
   constructor(public navCtrl: NavController) {
11 11
   }