Browse Source

imports cleaned

robert2206 8 years ago
parent
commit
28200fce37

+ 1 - 1
src/app/app.module.ts

@@ -41,7 +41,7 @@ import { DoubleTap } from "../directives/double-tap";
         AboutPage,
         // Components
         OMasterHeader,
-        OMasterHeader,
+        OMasterFooter,
         ODetailHeader,
          // Pipes
         MenuPipe,

+ 1 - 1
src/components/omaster-footer/omaster-footer.ts

@@ -1,4 +1,4 @@
-import { Component, Input, Output, EventEmitter, ContentChild } from "@angular/core";
+import { Component, Input, Output, EventEmitter } from "@angular/core";
 import { Content } from "ionic-angular";
 
 @Component({

+ 7 - 10
src/pages/orders/orders.html

@@ -1,18 +1,15 @@
-<!--
-  Generated template for the Orders page.
-
-  See http://ionicframework.com/docs/v2/components/#navigation for more info on
-  Ionic pages and navigation.
--->
 <ion-header>
 
-  <ion-navbar>
-    <ion-title>orders</ion-title>
-  </ion-navbar>
+    <ion-navbar>
+        <button ion-button menuToggle>
+            <ion-icon name="menu"></ion-icon>
+        </button>
+        
+        <ion-title>Presupuestos</ion-title>
+    </ion-navbar>
 
 </ion-header>
 
-
 <ion-content padding>
 
 </ion-content>

+ 12 - 12
src/pages/products/products.ts

@@ -1,22 +1,22 @@
 import { Component } from '@angular/core';
 import { NavController, NavParams } from 'ionic-angular';
 
-/*
-  Generated class for the Products page.
-
-  See http://ionicframework.com/docs/v2/components/#navigation for more info on
-  Ionic pages and navigation.
-*/
 @Component({
-  selector: 'page-products',
-  templateUrl: 'products.html'
+    selector: 'page-products',
+    templateUrl: 'products.html'
 })
 export class ProductsPage {
 
-  constructor(public navCtrl: NavController, public navParams: NavParams) {}
+    constructor(
+        public navCtrl: NavController,
+        public navParams: NavParams
+    ) { }
 
-  ionViewDidLoad() {
-    console.log('ionViewDidLoad ProductsPage');
-  }
+    /**
+     *
+     */
+    ionViewDidLoad() {
+        console.log('ionViewDidLoad ProductsPage');
+    }
 
 }

+ 0 - 1
src/services/auth-service.ts

@@ -1,6 +1,5 @@
 import { Injectable } from "@angular/core";
 import { Observable } from "rxjs/Observable";
-import { Observer } from "rxjs/Observer";
 
 import { OdooRPCService } from "angular2-odoo-jsonrpc";
 import { PouchService } from "./pouch-service";

+ 0 - 2
src/services/pouch-service.ts

@@ -1,6 +1,5 @@
 import { Injectable } from "@angular/core";
 import { Observable } from "rxjs/Observable";
-import { Observer } from "rxjs/Observer";
 import PouchDB from "pouchdb";
 
 import * as PouchFind from "pouchdb-find";
@@ -8,7 +7,6 @@ import * as PouchFind from "pouchdb-find";
 import "rxjs/add/observable/throw";
 import "rxjs/add/observable/fromPromise";
 import "rxjs/add/observable/from";
-import "rxjs/add/operator/concat";
 import "rxjs/add/operator/concatMap";
 
 PouchDB.plugin(PouchFind);