Commit f0ec92e6 authored by Manideep2897's avatar Manideep2897 Committed by GitHub

Add files via upload

parent bae73f65
......@@ -6,20 +6,24 @@
-->
<ion-header>
<ion-navbar>
<ion-icon name="arrow-back"></ion-icon>
<button ion-button icon-only (click)="viewCtrl.dismiss()"></button>
<ion-toolbar>
<ion-title>TENALI BUS ROUTES</ion-title>
</ion-navbar>
<p>TENALIROUTES</p>
</ion-toolbar>
</ion-header>
<ion-content padding>
<p>BUS TRACKING</p>
<button ion-button icon-start (click)="TENALI9D()">
<button ion-button icon-start (click)="TENALI()">
<ion-icon name="bus"></ion-icon>
TENALI 9D
TENALI
</button>
<button ion-button icon-start (click)="TEN()">
<ion-icon name="bus"></ion-icon>
TEN
</button>
</ion-content>
import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';
import { MapsPage} from '../maps/maps';
import { AngularFireModule } from 'angularfire2';
import { AngularFireDatabase } from 'angularfire2/database';
import {TablePage} from '../table/table';
/**
* Generated class for the FirstPage page.
*
......@@ -13,9 +17,19 @@ import { IonicPage, NavController, NavParams } from 'ionic-angular';
templateUrl: 'first.html',
})
export class FirstPage {
constructor(public navCtrl: NavController, public navParams: NavParams) {
location :any
constructor(public navCtrl: NavController, public navParams: NavParams) {
}
TENALI()
{
this.navCtrl.push(MapsPage);
}
TEN()
{
this.navCtrl.push(TablePage);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment