Browse Source

search integrated, setting new branch for full search functionality

rjsmall90 6 years ago
parent
commit
768413e3e1

+ 3
- 1
src/app/app.component.ts View File

6
 import { HomePage } from '../pages/home/home';
6
 import { HomePage } from '../pages/home/home';
7
 import { ListPage } from '../pages/list/list';
7
 import { ListPage } from '../pages/list/list';
8
 import { NewProfilePage } from '../pages/registerUser/registerUser';
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
 @Component({
13
 @Component({
28
       { title: 'List', component: ListPage },
29
       { title: 'List', component: ListPage },
29
       { title: 'Register User', component: NewProfilePage },
30
       { title: 'Register User', component: NewProfilePage },
30
       { title: 'Register Teacher', component: TeacherRegistrationPage }, 
31
       { title: 'Register Teacher', component: TeacherRegistrationPage }, 
32
+      { title: 'Search' , component: SearchPage },
31
     ];
33
     ];
32
 
34
 
33
   }
35
   }

+ 6
- 3
src/app/app.module.ts View File

7
 import { HomePage } from '../pages/home/home';
7
 import { HomePage } from '../pages/home/home';
8
 import { ListPage } from '../pages/list/list';
8
 import { ListPage } from '../pages/list/list';
9
 import { NewProfilePage } from '../pages/registerUser/registerUser';
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
 import { StatusBar } from '@ionic-native/status-bar';
14
 import { StatusBar } from '@ionic-native/status-bar';
20
     HomePage,
21
     HomePage,
21
     ListPage,
22
     ListPage,
22
     NewProfilePage,
23
     NewProfilePage,
23
-    TeacherRegistrationPage
24
+    TeacherRegistrationPage,
25
+    SearchPage,
24
   ],
26
   ],
25
   imports: [
27
   imports: [
26
     BrowserModule,
28
     BrowserModule,
33
     HomePage,
35
     HomePage,
34
     ListPage, 
36
     ListPage, 
35
     NewProfilePage,
37
     NewProfilePage,
36
-    TeacherRegistrationPage
38
+    TeacherRegistrationPage,
39
+    SearchPage,
37
   ],
40
   ],
38
   providers: [
41
   providers: [
39
     StatusBar,
42
     StatusBar,

+ 7
- 7
src/pages/search/search.html View File

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

+ 3
- 0
src/pages/search/search.scss View File

1
+page-search {
2
+
3
+}

+ 3
- 3
src/pages/search/search.ts View File

2
 import { NavController } from 'ionic-angular';
2
 import { NavController } from 'ionic-angular';
3
 
3
 
4
 @Component({
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
   constructor(public navCtrl: NavController) {
10
   constructor(public navCtrl: NavController) {
11
   }
11
   }