Przeglądaj źródła

deleted login page, replaced with mainMenu page

Kris Blassingame 6 lat temu
rodzic
commit
f598a6408c

+ 3
- 3
frontEnd/src/app/app.module.ts Wyświetl plik

@@ -7,15 +7,15 @@ import { StatusBar } from '@ionic-native/status-bar';
7 7
 import { MyApp } from './app.component';
8 8
 import { GoogleMapComponent } from '../components/google-map/google-map';
9 9
 import { HomePage } from '../pages/home/home';
10
-import { LoginPage } from '../pages/login/login';
11 10
 import { RegisterPage } from '../pages/register/register';
11
+import { MainMenuPage } from '../pages/main-menu/main-menu';
12 12
 
13 13
 @NgModule({
14 14
   declarations: [
15 15
     MyApp,
16 16
     HomePage,
17 17
     GoogleMapComponent,
18
-    LoginPage,
18
+    MainMenuPage,
19 19
     RegisterPage
20 20
     
21 21
   ],
@@ -28,7 +28,7 @@ import { RegisterPage } from '../pages/register/register';
28 28
     MyApp,
29 29
     HomePage,
30 30
     GoogleMapComponent,
31
-    LoginPage,
31
+    MainMenuPage,
32 32
     RegisterPage
33 33
   ],
34 34
   providers: [

+ 2
- 2
frontEnd/src/pages/home/home.ts Wyświetl plik

@@ -1,7 +1,7 @@
1 1
 import { Component } from '@angular/core';
2 2
 import { NavController } from 'ionic-angular';
3
-import { LoginPage } from '../login/login';
4 3
 import { RegisterPage } from '../register/register';
4
+import { MainMenuPage } from '../main-menu/main-menu';
5 5
 
6 6
 @Component({
7 7
   selector: 'page-home',
@@ -14,7 +14,7 @@ export class HomePage {
14 14
   }
15 15
 
16 16
   login() {
17
-    this.navCtrl.push(LoginPage);
17
+    this.navCtrl.push(MainMenuPage);
18 18
   }
19 19
 
20 20
   register() {

+ 0
- 12
frontEnd/src/pages/login/login.html Wyświetl plik

@@ -1,12 +0,0 @@
1
-<ion-header>
2
-
3
-  <ion-navbar>
4
-    <ion-title>Login</ion-title>
5
-  </ion-navbar>
6
-
7
-</ion-header>
8
-
9
-
10
-<ion-content padding>
11
-
12
-</ion-content>

+ 0
- 3
frontEnd/src/pages/login/login.scss Wyświetl plik

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

+ 18
- 0
frontEnd/src/pages/main-menu/main-menu.html Wyświetl plik

@@ -0,0 +1,18 @@
1
+<!--
2
+  Generated template for the MainMenuPage page.
3
+
4
+  See http://ionicframework.com/docs/components/#navigation for more info on
5
+  Ionic pages and navigation.
6
+-->
7
+<ion-header>
8
+
9
+  <ion-navbar>
10
+    <ion-title>mainMenu</ion-title>
11
+  </ion-navbar>
12
+
13
+</ion-header>
14
+
15
+
16
+<ion-content padding>
17
+
18
+</ion-content>

frontEnd/src/pages/login/login.module.ts → frontEnd/src/pages/main-menu/main-menu.module.ts Wyświetl plik

@@ -1,13 +1,13 @@
1 1
 import { NgModule } from '@angular/core';
2 2
 import { IonicPageModule } from 'ionic-angular';
3
-import { LoginPage } from './login';
3
+import { MainMenuPage } from './main-menu';
4 4
 
5 5
 @NgModule({
6 6
   declarations: [
7
-    LoginPage,
7
+    MainMenuPage,
8 8
   ],
9 9
   imports: [
10
-    IonicPageModule.forChild(LoginPage),
10
+    IonicPageModule.forChild(MainMenuPage),
11 11
   ],
12 12
 })
13
-export class LoginPageModule {}
13
+export class MainMenuPageModule {}

+ 3
- 0
frontEnd/src/pages/main-menu/main-menu.scss Wyświetl plik

@@ -0,0 +1,3 @@
1
+page-main-menu {
2
+
3
+}

frontEnd/src/pages/login/login.ts → frontEnd/src/pages/main-menu/main-menu.ts Wyświetl plik

@@ -2,7 +2,7 @@ import { Component } from '@angular/core';
2 2
 import { IonicPage, NavController, NavParams } from 'ionic-angular';
3 3
 
4 4
 /**
5
- * Generated class for the LoginPage page.
5
+ * Generated class for the MainMenuPage page.
6 6
  *
7 7
  * See https://ionicframework.com/docs/components/#navigation for more info on
8 8
  * Ionic pages and navigation.
@@ -10,16 +10,16 @@ import { IonicPage, NavController, NavParams } from 'ionic-angular';
10 10
 
11 11
 @IonicPage()
12 12
 @Component({
13
-  selector: 'page-login',
14
-  templateUrl: 'login.html',
13
+  selector: 'page-main-menu',
14
+  templateUrl: 'main-menu.html',
15 15
 })
16
-export class LoginPage {
16
+export class MainMenuPage {
17 17
 
18 18
   constructor(public navCtrl: NavController, public navParams: NavParams) {
19 19
   }
20 20
 
21 21
   ionViewDidLoad() {
22
-    console.log('ionViewDidLoad LoginPage');
22
+    console.log('ionViewDidLoad MainMenuPage');
23 23
   }
24 24
 
25 25
 }