diff --git a/klu5/.editorconfig b/klu5/.editorconfig new file mode 100644 index 0000000..51873bc --- /dev/null +++ b/klu5/.editorconfig @@ -0,0 +1,17 @@ +# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs +# editorconfig.org + +root = true + +[*] +indent_style = space +indent_size = 2 + +# We recommend you to keep these unchanged +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false \ No newline at end of file diff --git a/klu5/.gitignore b/klu5/.gitignore new file mode 100644 index 0000000..faf0575 --- /dev/null +++ b/klu5/.gitignore @@ -0,0 +1,35 @@ +# Specifies intentionally untracked files to ignore when using Git +# http://git-scm.com/docs/gitignore + +*~ +*.sw[mnpcod] +*.log +*.tmp +*.tmp.* +log.txt +*.sublime-project +*.sublime-workspace +.vscode/ +npm-debug.log* + +.idea/ +.sourcemaps/ +.sass-cache/ +.tmp/ +.versions/ +coverage/ +dist/ +node_modules/ +tmp/ +temp/ +hooks/ +platforms/ +plugins/ +plugins/android.json +plugins/ios.json +www/ +$RECYCLE.BIN/ + +.DS_Store +Thumbs.db +UserInterfaceState.xcuserstate diff --git a/klu5/config.xml b/klu5/config.xml new file mode 100644 index 0000000..34acc7e --- /dev/null +++ b/klu5/config.xml @@ -0,0 +1,84 @@ + + + klu5 + An awesome Ionic/Cordova app. + Ionic Framework Team + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/klu5/ionic.config.json b/klu5/ionic.config.json new file mode 100644 index 0000000..b8f57f3 --- /dev/null +++ b/klu5/ionic.config.json @@ -0,0 +1,8 @@ +{ + "name": "klu5", + "app_id": "", + "type": "ionic-angular", + "integrations": { + "cordova": {} + } +} diff --git a/klu5/package.json b/klu5/package.json new file mode 100644 index 0000000..cd463f8 --- /dev/null +++ b/klu5/package.json @@ -0,0 +1,41 @@ +{ + "name": "klu5", + "version": "0.0.1", + "author": "Ionic Framework", + "homepage": "http://ionicframework.com/", + "private": true, + "scripts": { + "clean": "ionic-app-scripts clean", + "build": "ionic-app-scripts build", + "lint": "ionic-app-scripts lint", + "ionic:build": "ionic-app-scripts build", + "ionic:serve": "ionic-app-scripts serve" + }, + "dependencies": { + "@angular/common": "5.0.3", + "@angular/compiler": "5.0.3", + "@angular/compiler-cli": "5.0.3", + "@angular/core": "5.0.3", + "@angular/forms": "5.0.3", + "@angular/http": "5.0.3", + "@angular/platform-browser": "5.0.3", + "@angular/platform-browser-dynamic": "5.0.3", + "@ionic-native/core": "^4.5.3", + "@ionic-native/geolocation": "^4.5.3", + "@ionic-native/google-maps": "^4.5.3", + "@ionic-native/splash-screen": "4.4.0", + "@ionic-native/status-bar": "4.4.0", + "@ionic/pro": "1.0.19", + "@ionic/storage": "2.1.3", + "ionic-angular": "3.9.2", + "ionicons": "3.0.0", + "rxjs": "5.5.2", + "sw-toolbox": "3.6.0", + "zone.js": "0.8.18" + }, + "devDependencies": { + "@ionic/app-scripts": "3.1.8", + "typescript": "2.4.2" + }, + "description": "An Ionic project" +} diff --git a/klu5/resources/README.md b/klu5/resources/README.md new file mode 100644 index 0000000..46c696e --- /dev/null +++ b/klu5/resources/README.md @@ -0,0 +1,8 @@ +These are Cordova resources. You can replace icon.png and splash.png and run +`ionic cordova resources` to generate custom icons and splash screens for your +app. See `ionic cordova resources --help` for details. + +Cordova reference documentation: + +- Icons: https://cordova.apache.org/docs/en/latest/config_ref/images.html +- Splash Screens: https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-splashscreen/ diff --git a/klu5/resources/android/icon/drawable-hdpi-icon.png b/klu5/resources/android/icon/drawable-hdpi-icon.png new file mode 100644 index 0000000..b910093 Binary files /dev/null and b/klu5/resources/android/icon/drawable-hdpi-icon.png differ diff --git a/klu5/resources/android/icon/drawable-ldpi-icon.png b/klu5/resources/android/icon/drawable-ldpi-icon.png new file mode 100644 index 0000000..16cd5db Binary files /dev/null and b/klu5/resources/android/icon/drawable-ldpi-icon.png differ diff --git a/klu5/resources/android/icon/drawable-mdpi-icon.png b/klu5/resources/android/icon/drawable-mdpi-icon.png new file mode 100644 index 0000000..64a6cbc Binary files /dev/null and b/klu5/resources/android/icon/drawable-mdpi-icon.png differ diff --git a/klu5/resources/android/icon/drawable-xhdpi-icon.png b/klu5/resources/android/icon/drawable-xhdpi-icon.png new file mode 100644 index 0000000..1605f69 Binary files /dev/null and b/klu5/resources/android/icon/drawable-xhdpi-icon.png differ diff --git a/klu5/resources/android/icon/drawable-xxhdpi-icon.png b/klu5/resources/android/icon/drawable-xxhdpi-icon.png new file mode 100644 index 0000000..56fb29e Binary files /dev/null and b/klu5/resources/android/icon/drawable-xxhdpi-icon.png differ diff --git a/klu5/resources/android/icon/drawable-xxxhdpi-icon.png b/klu5/resources/android/icon/drawable-xxxhdpi-icon.png new file mode 100644 index 0000000..e4a9152 Binary files /dev/null and b/klu5/resources/android/icon/drawable-xxxhdpi-icon.png differ diff --git a/klu5/resources/android/splash/drawable-land-hdpi-screen.png b/klu5/resources/android/splash/drawable-land-hdpi-screen.png new file mode 100644 index 0000000..66b12fe Binary files /dev/null and b/klu5/resources/android/splash/drawable-land-hdpi-screen.png differ diff --git a/klu5/resources/android/splash/drawable-land-ldpi-screen.png b/klu5/resources/android/splash/drawable-land-ldpi-screen.png new file mode 100644 index 0000000..7dceec7 Binary files /dev/null and b/klu5/resources/android/splash/drawable-land-ldpi-screen.png differ diff --git a/klu5/resources/android/splash/drawable-land-mdpi-screen.png b/klu5/resources/android/splash/drawable-land-mdpi-screen.png new file mode 100644 index 0000000..0dc2ba7 Binary files /dev/null and b/klu5/resources/android/splash/drawable-land-mdpi-screen.png differ diff --git a/klu5/resources/android/splash/drawable-land-xhdpi-screen.png b/klu5/resources/android/splash/drawable-land-xhdpi-screen.png new file mode 100644 index 0000000..39ae00c Binary files /dev/null and b/klu5/resources/android/splash/drawable-land-xhdpi-screen.png differ diff --git a/klu5/resources/android/splash/drawable-land-xxhdpi-screen.png b/klu5/resources/android/splash/drawable-land-xxhdpi-screen.png new file mode 100644 index 0000000..3f591b1 Binary files /dev/null and b/klu5/resources/android/splash/drawable-land-xxhdpi-screen.png differ diff --git a/klu5/resources/android/splash/drawable-land-xxxhdpi-screen.png b/klu5/resources/android/splash/drawable-land-xxxhdpi-screen.png new file mode 100644 index 0000000..253e6f1 Binary files /dev/null and b/klu5/resources/android/splash/drawable-land-xxxhdpi-screen.png differ diff --git a/klu5/resources/android/splash/drawable-port-hdpi-screen.png b/klu5/resources/android/splash/drawable-port-hdpi-screen.png new file mode 100644 index 0000000..e0dbb62 Binary files /dev/null and b/klu5/resources/android/splash/drawable-port-hdpi-screen.png differ diff --git a/klu5/resources/android/splash/drawable-port-ldpi-screen.png b/klu5/resources/android/splash/drawable-port-ldpi-screen.png new file mode 100644 index 0000000..8e93c2d Binary files /dev/null and b/klu5/resources/android/splash/drawable-port-ldpi-screen.png differ diff --git a/klu5/resources/android/splash/drawable-port-mdpi-screen.png b/klu5/resources/android/splash/drawable-port-mdpi-screen.png new file mode 100644 index 0000000..0aaad62 Binary files /dev/null and b/klu5/resources/android/splash/drawable-port-mdpi-screen.png differ diff --git a/klu5/resources/android/splash/drawable-port-xhdpi-screen.png b/klu5/resources/android/splash/drawable-port-xhdpi-screen.png new file mode 100644 index 0000000..64c27f8 Binary files /dev/null and b/klu5/resources/android/splash/drawable-port-xhdpi-screen.png differ diff --git a/klu5/resources/android/splash/drawable-port-xxhdpi-screen.png b/klu5/resources/android/splash/drawable-port-xxhdpi-screen.png new file mode 100644 index 0000000..f605e6a Binary files /dev/null and b/klu5/resources/android/splash/drawable-port-xxhdpi-screen.png differ diff --git a/klu5/resources/android/splash/drawable-port-xxxhdpi-screen.png b/klu5/resources/android/splash/drawable-port-xxxhdpi-screen.png new file mode 100644 index 0000000..2b993cf Binary files /dev/null and b/klu5/resources/android/splash/drawable-port-xxxhdpi-screen.png differ diff --git a/klu5/resources/icon.png b/klu5/resources/icon.png new file mode 100644 index 0000000..bee7766 Binary files /dev/null and b/klu5/resources/icon.png differ diff --git a/klu5/resources/ios/icon/icon-1024.png b/klu5/resources/ios/icon/icon-1024.png new file mode 100644 index 0000000..bee7766 Binary files /dev/null and b/klu5/resources/ios/icon/icon-1024.png differ diff --git a/klu5/resources/ios/icon/icon-40.png b/klu5/resources/ios/icon/icon-40.png new file mode 100644 index 0000000..76cc53c Binary files /dev/null and b/klu5/resources/ios/icon/icon-40.png differ diff --git a/klu5/resources/ios/icon/icon-40@2x.png b/klu5/resources/ios/icon/icon-40@2x.png new file mode 100644 index 0000000..64b4906 Binary files /dev/null and b/klu5/resources/ios/icon/icon-40@2x.png differ diff --git a/klu5/resources/ios/icon/icon-40@3x.png b/klu5/resources/ios/icon/icon-40@3x.png new file mode 100644 index 0000000..9f8c8f0 Binary files /dev/null and b/klu5/resources/ios/icon/icon-40@3x.png differ diff --git a/klu5/resources/ios/icon/icon-50.png b/klu5/resources/ios/icon/icon-50.png new file mode 100644 index 0000000..8bd51df Binary files /dev/null and b/klu5/resources/ios/icon/icon-50.png differ diff --git a/klu5/resources/ios/icon/icon-50@2x.png b/klu5/resources/ios/icon/icon-50@2x.png new file mode 100644 index 0000000..2676f8f Binary files /dev/null and b/klu5/resources/ios/icon/icon-50@2x.png differ diff --git a/klu5/resources/ios/icon/icon-60.png b/klu5/resources/ios/icon/icon-60.png new file mode 100644 index 0000000..11f3912 Binary files /dev/null and b/klu5/resources/ios/icon/icon-60.png differ diff --git a/klu5/resources/ios/icon/icon-60@2x.png b/klu5/resources/ios/icon/icon-60@2x.png new file mode 100644 index 0000000..b521048 Binary files /dev/null and b/klu5/resources/ios/icon/icon-60@2x.png differ diff --git a/klu5/resources/ios/icon/icon-60@3x.png b/klu5/resources/ios/icon/icon-60@3x.png new file mode 100644 index 0000000..dbc8303 Binary files /dev/null and b/klu5/resources/ios/icon/icon-60@3x.png differ diff --git a/klu5/resources/ios/icon/icon-72.png b/klu5/resources/ios/icon/icon-72.png new file mode 100644 index 0000000..4e5a827 Binary files /dev/null and b/klu5/resources/ios/icon/icon-72.png differ diff --git a/klu5/resources/ios/icon/icon-72@2x.png b/klu5/resources/ios/icon/icon-72@2x.png new file mode 100644 index 0000000..56fb29e Binary files /dev/null and b/klu5/resources/ios/icon/icon-72@2x.png differ diff --git a/klu5/resources/ios/icon/icon-76.png b/klu5/resources/ios/icon/icon-76.png new file mode 100644 index 0000000..e66a90e Binary files /dev/null and b/klu5/resources/ios/icon/icon-76.png differ diff --git a/klu5/resources/ios/icon/icon-76@2x.png b/klu5/resources/ios/icon/icon-76@2x.png new file mode 100644 index 0000000..3f5c942 Binary files /dev/null and b/klu5/resources/ios/icon/icon-76@2x.png differ diff --git a/klu5/resources/ios/icon/icon-83.5@2x.png b/klu5/resources/ios/icon/icon-83.5@2x.png new file mode 100644 index 0000000..2b367cb Binary files /dev/null and b/klu5/resources/ios/icon/icon-83.5@2x.png differ diff --git a/klu5/resources/ios/icon/icon-small.png b/klu5/resources/ios/icon/icon-small.png new file mode 100644 index 0000000..de3146d Binary files /dev/null and b/klu5/resources/ios/icon/icon-small.png differ diff --git a/klu5/resources/ios/icon/icon-small@2x.png b/klu5/resources/ios/icon/icon-small@2x.png new file mode 100644 index 0000000..916a02e Binary files /dev/null and b/klu5/resources/ios/icon/icon-small@2x.png differ diff --git a/klu5/resources/ios/icon/icon-small@3x.png b/klu5/resources/ios/icon/icon-small@3x.png new file mode 100644 index 0000000..0efa99d Binary files /dev/null and b/klu5/resources/ios/icon/icon-small@3x.png differ diff --git a/klu5/resources/ios/icon/icon.png b/klu5/resources/ios/icon/icon.png new file mode 100644 index 0000000..89f8c00 Binary files /dev/null and b/klu5/resources/ios/icon/icon.png differ diff --git a/klu5/resources/ios/icon/icon@2x.png b/klu5/resources/ios/icon/icon@2x.png new file mode 100644 index 0000000..a6687a1 Binary files /dev/null and b/klu5/resources/ios/icon/icon@2x.png differ diff --git a/klu5/resources/ios/splash/Default-568h@2x~iphone.png b/klu5/resources/ios/splash/Default-568h@2x~iphone.png new file mode 100644 index 0000000..d2128a6 Binary files /dev/null and b/klu5/resources/ios/splash/Default-568h@2x~iphone.png differ diff --git a/klu5/resources/ios/splash/Default-667h.png b/klu5/resources/ios/splash/Default-667h.png new file mode 100644 index 0000000..fc23e64 Binary files /dev/null and b/klu5/resources/ios/splash/Default-667h.png differ diff --git a/klu5/resources/ios/splash/Default-736h.png b/klu5/resources/ios/splash/Default-736h.png new file mode 100644 index 0000000..71b16ca Binary files /dev/null and b/klu5/resources/ios/splash/Default-736h.png differ diff --git a/klu5/resources/ios/splash/Default-Landscape-736h.png b/klu5/resources/ios/splash/Default-Landscape-736h.png new file mode 100644 index 0000000..aaff74a Binary files /dev/null and b/klu5/resources/ios/splash/Default-Landscape-736h.png differ diff --git a/klu5/resources/ios/splash/Default-Landscape@2x~ipad.png b/klu5/resources/ios/splash/Default-Landscape@2x~ipad.png new file mode 100644 index 0000000..19770a2 Binary files /dev/null and b/klu5/resources/ios/splash/Default-Landscape@2x~ipad.png differ diff --git a/klu5/resources/ios/splash/Default-Landscape@~ipadpro.png b/klu5/resources/ios/splash/Default-Landscape@~ipadpro.png new file mode 100644 index 0000000..6438232 Binary files /dev/null and b/klu5/resources/ios/splash/Default-Landscape@~ipadpro.png differ diff --git a/klu5/resources/ios/splash/Default-Landscape~ipad.png b/klu5/resources/ios/splash/Default-Landscape~ipad.png new file mode 100644 index 0000000..6fe8925 Binary files /dev/null and b/klu5/resources/ios/splash/Default-Landscape~ipad.png differ diff --git a/klu5/resources/ios/splash/Default-Portrait@2x~ipad.png b/klu5/resources/ios/splash/Default-Portrait@2x~ipad.png new file mode 100644 index 0000000..3d06d86 Binary files /dev/null and b/klu5/resources/ios/splash/Default-Portrait@2x~ipad.png differ diff --git a/klu5/resources/ios/splash/Default-Portrait@~ipadpro.png b/klu5/resources/ios/splash/Default-Portrait@~ipadpro.png new file mode 100644 index 0000000..a370419 Binary files /dev/null and b/klu5/resources/ios/splash/Default-Portrait@~ipadpro.png differ diff --git a/klu5/resources/ios/splash/Default-Portrait~ipad.png b/klu5/resources/ios/splash/Default-Portrait~ipad.png new file mode 100644 index 0000000..53ad4c4 Binary files /dev/null and b/klu5/resources/ios/splash/Default-Portrait~ipad.png differ diff --git a/klu5/resources/ios/splash/Default@2x~iphone.png b/klu5/resources/ios/splash/Default@2x~iphone.png new file mode 100644 index 0000000..6a13316 Binary files /dev/null and b/klu5/resources/ios/splash/Default@2x~iphone.png differ diff --git a/klu5/resources/ios/splash/Default@2x~universal~anyany.png b/klu5/resources/ios/splash/Default@2x~universal~anyany.png new file mode 100644 index 0000000..960cb82 Binary files /dev/null and b/klu5/resources/ios/splash/Default@2x~universal~anyany.png differ diff --git a/klu5/resources/ios/splash/Default~iphone.png b/klu5/resources/ios/splash/Default~iphone.png new file mode 100644 index 0000000..0aaad62 Binary files /dev/null and b/klu5/resources/ios/splash/Default~iphone.png differ diff --git a/klu5/resources/splash.png b/klu5/resources/splash.png new file mode 100644 index 0000000..960cb82 Binary files /dev/null and b/klu5/resources/splash.png differ diff --git a/klu5/src/app/app.component.ts b/klu5/src/app/app.component.ts new file mode 100644 index 0000000..d954d35 --- /dev/null +++ b/klu5/src/app/app.component.ts @@ -0,0 +1,23 @@ +import { Component } from '@angular/core'; +import { Platform } from 'ionic-angular'; +import { StatusBar } from '@ionic-native/status-bar'; +import { SplashScreen } from '@ionic-native/splash-screen'; +import { LoginPage } from '../pages/login/login'; +import { HomePage } from '../pages/home/home'; + +@Component({ + templateUrl: 'app.html' +}) +export class MyApp { + + rootPage:any = LoginPage; + constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen) { + platform.ready().then(() => { + // Okay, so the platform is ready and our plugins are available. + // Here you can do any higher level native things you might need. + statusBar.styleDefault(); + splashScreen.hide(); + }); + } +} + diff --git a/klu5/src/app/app.html b/klu5/src/app/app.html new file mode 100644 index 0000000..7b88c96 --- /dev/null +++ b/klu5/src/app/app.html @@ -0,0 +1 @@ + diff --git a/klu5/src/app/app.module.ts b/klu5/src/app/app.module.ts new file mode 100644 index 0000000..d8e1cb5 --- /dev/null +++ b/klu5/src/app/app.module.ts @@ -0,0 +1,36 @@ +import { BrowserModule } from '@angular/platform-browser'; +import { ErrorHandler, NgModule } from '@angular/core'; +import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular'; +import { SplashScreen } from '@ionic-native/splash-screen'; +import { StatusBar } from '@ionic-native/status-bar'; +import { MyApp } from './app.component'; +import { HomePage } from '../pages/home/home'; +import { LoginPage } from '../pages/login/login'; +import { FirstPage } from '../pages/first/first'; +import { VijayPage } from '../pages/vijay/vijay'; +@NgModule({ + declarations: [ + MyApp, + HomePage, + LoginPage, + FirstPage, + VijayPage + + ], + imports: [BrowserModule,IonicModule.forRoot(MyApp) + ], + bootstrap: [IonicApp], + entryComponents: [ + MyApp, + HomePage, + LoginPage, + FirstPage, + VijayPage + ], + providers: [ + StatusBar, + SplashScreen, + {provide: ErrorHandler, useClass: IonicErrorHandler} + ] +}) +export class AppModule {} diff --git a/klu5/src/app/app.scss b/klu5/src/app/app.scss new file mode 100644 index 0000000..1392a6e --- /dev/null +++ b/klu5/src/app/app.scss @@ -0,0 +1,16 @@ +// http://ionicframework.com/docs/theming/ + + +// App Global Sass +// -------------------------------------------------- +// Put style rules here that you want to apply globally. These +// styles are for the entire app and not just one component. +// Additionally, this file can be also used as an entry point +// to import other Sass files to be included in the output CSS. +// +// Shared Sass variables, which can be used to adjust Ionic's +// default Sass variables, belong in "theme/variables.scss". +// +// To declare rules for a specific mode, create a child rule +// for the .md, .ios, or .wp mode classes. The mode class is +// automatically applied to the element in the app. diff --git a/klu5/src/app/main.ts b/klu5/src/app/main.ts new file mode 100644 index 0000000..6af7a5b --- /dev/null +++ b/klu5/src/app/main.ts @@ -0,0 +1,5 @@ +import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; + +import { AppModule } from './app.module'; + +platformBrowserDynamic().bootstrapModule(AppModule); diff --git a/klu5/src/assets/icon/favicon.ico b/klu5/src/assets/icon/favicon.ico new file mode 100644 index 0000000..d76fa29 Binary files /dev/null and b/klu5/src/assets/icon/favicon.ico differ diff --git a/klu5/src/assets/imgs/klubus.png b/klu5/src/assets/imgs/klubus.png new file mode 100644 index 0000000..a2fa6b8 Binary files /dev/null and b/klu5/src/assets/imgs/klubus.png differ diff --git a/klu5/src/assets/imgs/logo.png b/klu5/src/assets/imgs/logo.png new file mode 100644 index 0000000..80f631d Binary files /dev/null and b/klu5/src/assets/imgs/logo.png differ diff --git a/klu5/src/index.html b/klu5/src/index.html new file mode 100644 index 0000000..e254871 --- /dev/null +++ b/klu5/src/index.html @@ -0,0 +1,49 @@ + + + + + Ionic App + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/klu5/src/manifest.json b/klu5/src/manifest.json new file mode 100644 index 0000000..f6456bb --- /dev/null +++ b/klu5/src/manifest.json @@ -0,0 +1,13 @@ +{ + "name": "Ionic", + "short_name": "Ionic", + "start_url": "index.html", + "display": "standalone", + "icons": [{ + "src": "assets/imgs/logo.png", + "sizes": "512x512", + "type": "image/png" + }], + "background_color": "#4e8ef7", + "theme_color": "#4e8ef7" +} \ No newline at end of file diff --git a/klu5/src/pages/first/first.html b/klu5/src/pages/first/first.html new file mode 100644 index 0000000..8306b17 --- /dev/null +++ b/klu5/src/pages/first/first.html @@ -0,0 +1,25 @@ + + + + + + + + TENALI BUS ROUTES + + + + + + +

BUS TRACKING

+ +
diff --git a/klu5/src/pages/first/first.module.ts b/klu5/src/pages/first/first.module.ts new file mode 100644 index 0000000..44e472a --- /dev/null +++ b/klu5/src/pages/first/first.module.ts @@ -0,0 +1,13 @@ +import { NgModule } from '@angular/core'; +import { IonicPageModule } from 'ionic-angular'; +import { FirstPage } from './first'; + +@NgModule({ + declarations: [ + FirstPage, + ], + imports: [ + IonicPageModule.forChild(FirstPage), + ], +}) +export class FirstPageModule {} diff --git a/klu5/src/pages/first/first.scss b/klu5/src/pages/first/first.scss new file mode 100644 index 0000000..c6471f0 --- /dev/null +++ b/klu5/src/pages/first/first.scss @@ -0,0 +1,3 @@ +page-first { + +} diff --git a/klu5/src/pages/first/first.ts b/klu5/src/pages/first/first.ts new file mode 100644 index 0000000..0f22d3c --- /dev/null +++ b/klu5/src/pages/first/first.ts @@ -0,0 +1,21 @@ +import { Component } from '@angular/core'; +import { IonicPage, NavController, NavParams } from 'ionic-angular'; +/** + * Generated class for the FirstPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ + +@IonicPage() +@Component({ + selector: 'page-first', + templateUrl: 'first.html', +}) +export class FirstPage { + + constructor(public navCtrl: NavController, public navParams: NavParams) { + + } + +} diff --git a/klu5/src/pages/home/home.html b/klu5/src/pages/home/home.html new file mode 100644 index 0000000..bbe6e77 --- /dev/null +++ b/klu5/src/pages/home/home.html @@ -0,0 +1,14 @@ + + + + Ionic Blank + + + + + + The world is your oyster. +

+ If you get lost, the docs will be your guide. +

+
diff --git a/klu5/src/pages/home/home.scss b/klu5/src/pages/home/home.scss new file mode 100644 index 0000000..d4cc8fc --- /dev/null +++ b/klu5/src/pages/home/home.scss @@ -0,0 +1,3 @@ +page-home { + +} diff --git a/klu5/src/pages/home/home.ts b/klu5/src/pages/home/home.ts new file mode 100644 index 0000000..063c45d --- /dev/null +++ b/klu5/src/pages/home/home.ts @@ -0,0 +1,21 @@ +import { Component } from '@angular/core'; +import { NavController } from 'ionic-angular'; +import { FirstPage } from '../first/first'; +import { VijayPage } from '../vijay/vijay'; + +@Component({ + selector: 'page-home', + templateUrl: 'home.html' +}) +export class HomePage { + + constructor(public navCtrl: NavController) { + + } + TENALI(){ + this.navCtrl.push(FirstPage); +} +VIJAYAWADA(){ + this.navCtrl.push(VijayPage); +} +} \ No newline at end of file diff --git a/klu5/src/pages/login/login.html b/klu5/src/pages/login/login.html new file mode 100644 index 0000000..bf37e8d --- /dev/null +++ b/klu5/src/pages/login/login.html @@ -0,0 +1,60 @@ + +
+
+ +
+ + + + KLEF BUS TRACKING + + + +
+ + +
+ + + + Date + + + + + + + + + + + + + + + + CITIES + + + + +
+ +
+ +
+ +
+ +
+
+
diff --git a/klu5/src/pages/login/login.module.ts b/klu5/src/pages/login/login.module.ts new file mode 100644 index 0000000..ca073ba --- /dev/null +++ b/klu5/src/pages/login/login.module.ts @@ -0,0 +1,13 @@ +import { NgModule } from '@angular/core'; +import { IonicPageModule } from 'ionic-angular'; +import { LoginPage } from './login'; + +@NgModule({ + declarations: [ + LoginPage, + ], + imports: [ + IonicPageModule.forChild(LoginPage), + ], +}) +export class LoginPageModule {} diff --git a/klu5/src/pages/login/login.scss b/klu5/src/pages/login/login.scss new file mode 100644 index 0000000..dd313f7 --- /dev/null +++ b/klu5/src/pages/login/login.scss @@ -0,0 +1,9 @@ +page-login { + #login { + background: color($colors, light); + } + #manideep { + background: color($colors, light); + width: 95%; + } +} diff --git a/klu5/src/pages/login/login.ts b/klu5/src/pages/login/login.ts new file mode 100644 index 0000000..b56132c --- /dev/null +++ b/klu5/src/pages/login/login.ts @@ -0,0 +1,29 @@ +import { Component } from '@angular/core'; +import { IonicPage, NavController, NavParams } from 'ionic-angular'; + +import { HomePage } from '../home/home'; +import { FirstPage } from '../first/first'; +import { VijayPage } from '../vijay/vijay'; +@IonicPage() +@Component({ + selector: 'page-login', + templateUrl: 'login.html', +}) +export class LoginPage { + + + constructor(public navCtrl: NavController, public navParams: NavParams) { + } + TENALI(){ + this.navCtrl.setRoot(FirstPage); + } + VIJAYAWADA(){ + this.navCtrl.setRoot(VijayPage); + } + + ionViewDidLoad() { + + console.log('ionViewDidLoad SplashPage'); + } + +} diff --git a/klu5/src/pages/vijay/vijay.html b/klu5/src/pages/vijay/vijay.html new file mode 100644 index 0000000..666e202 --- /dev/null +++ b/klu5/src/pages/vijay/vijay.html @@ -0,0 +1,18 @@ + + + + + vijay + + + + + + +hi + diff --git a/klu5/src/pages/vijay/vijay.module.ts b/klu5/src/pages/vijay/vijay.module.ts new file mode 100644 index 0000000..ee6cbc7 --- /dev/null +++ b/klu5/src/pages/vijay/vijay.module.ts @@ -0,0 +1,13 @@ +import { NgModule } from '@angular/core'; +import { IonicPageModule } from 'ionic-angular'; +import { VijayPage } from './vijay'; + +@NgModule({ + declarations: [ + VijayPage, + ], + imports: [ + IonicPageModule.forChild(VijayPage), + ], +}) +export class VijayPageModule {} diff --git a/klu5/src/pages/vijay/vijay.scss b/klu5/src/pages/vijay/vijay.scss new file mode 100644 index 0000000..7852c6f --- /dev/null +++ b/klu5/src/pages/vijay/vijay.scss @@ -0,0 +1,3 @@ +page-vijay { + +} diff --git a/klu5/src/pages/vijay/vijay.ts b/klu5/src/pages/vijay/vijay.ts new file mode 100644 index 0000000..1a68f23 --- /dev/null +++ b/klu5/src/pages/vijay/vijay.ts @@ -0,0 +1,25 @@ +import { Component } from '@angular/core'; +import { IonicPage, NavController, NavParams } from 'ionic-angular'; + +/** + * Generated class for the VijayPage page. + * + * See https://ionicframework.com/docs/components/#navigation for more info on + * Ionic pages and navigation. + */ + +@IonicPage() +@Component({ + selector: 'page-vijay', + templateUrl: 'vijay.html', +}) +export class VijayPage { + + constructor(public navCtrl: NavController, public navParams: NavParams) { + } + + ionViewDidLoad() { + console.log('ionViewDidLoad VijayPage'); + } + +} diff --git a/klu5/src/service-worker.js b/klu5/src/service-worker.js new file mode 100644 index 0000000..ffbbb06 --- /dev/null +++ b/klu5/src/service-worker.js @@ -0,0 +1,31 @@ +/** + * Check out https://googlechromelabs.github.io/sw-toolbox/ for + * more info on how to use sw-toolbox to custom configure your service worker. + */ + + +'use strict'; +importScripts('./build/sw-toolbox.js'); + +self.toolbox.options.cache = { + name: 'ionic-cache' +}; + +// pre-cache our key assets +self.toolbox.precache( + [ + './build/main.js', + './build/vendor.js', + './build/main.css', + './build/polyfills.js', + 'index.html', + 'manifest.json' + ] +); + +// dynamically cache any other local assets +self.toolbox.router.any('/*', self.toolbox.fastest); + +// for any other requests go to the network, cache, +// and then only use that cached resource if your user goes offline +self.toolbox.router.default = self.toolbox.networkFirst; diff --git a/klu5/src/theme/variables.scss b/klu5/src/theme/variables.scss new file mode 100644 index 0000000..5c878e1 --- /dev/null +++ b/klu5/src/theme/variables.scss @@ -0,0 +1,89 @@ +// Ionic Variables and Theming. For more info, please see: +// http://ionicframework.com/docs/theming/ + +// Font path is used to include ionicons, +// roboto, and noto sans fonts +$font-path: "../assets/fonts"; + + +// The app direction is used to include +// rtl styles in your app. For more info, please see: +// http://ionicframework.com/docs/theming/rtl-support/ +$app-direction: ltr; + + +@import "ionic.globals"; + + +// Shared Variables +// -------------------------------------------------- +// To customize the look and feel of this app, you can override +// the Sass variables found in Ionic's source scss files. +// To view all the possible Ionic variables, see: +// http://ionicframework.com/docs/theming/overriding-ionic-variables/ + + + + +// Named Color Variables +// -------------------------------------------------- +// Named colors makes it easy to reuse colors on various components. +// It's highly recommended to change the default colors +// to match your app's branding. Ionic uses a Sass map of +// colors so you can add, rename and remove colors as needed. +// The "primary" color is the only required color in the map. + +$colors: ( + primary: #488aff, + secondary: #32db64, + danger: #f53d3d, + light: #f4f4f4, + dark: #222, + mani: rgb(196, 43, 157) +); + + +// App iOS Variables +// -------------------------------------------------- +// iOS only Sass variables can go here + + + + +// App Material Design Variables +// -------------------------------------------------- +// Material Design only Sass variables can go here + + + + +// App Windows Variables +// -------------------------------------------------- +// Windows only Sass variables can go here + + + + +// App Theme +// -------------------------------------------------- +// Ionic apps can have different themes applied, which can +// then be future customized. This import comes last +// so that the above variables are used and Ionic's +// default are overridden. + +@import "ionic.theme.default"; + + +// Ionicons +// -------------------------------------------------- +// The premium icon font for Ionic. For more info, please see: +// http://ionicframework.com/docs/ionicons/ + +@import "ionic.ionicons"; + + +// Fonts +// -------------------------------------------------- + +@import "roboto"; +@import "noto-sans"; diff --git a/klu5/tsconfig.json b/klu5/tsconfig.json new file mode 100644 index 0000000..5d53142 --- /dev/null +++ b/klu5/tsconfig.json @@ -0,0 +1,28 @@ +{ + "compilerOptions": { + "allowSyntheticDefaultImports": true, + "declaration": false, + "emitDecoratorMetadata": true, + "experimentalDecorators": true, + "lib": [ + "dom", + "es2015" + ], + "module": "es2015", + "moduleResolution": "node", + "sourceMap": true, + "target": "es5" + }, + "include": [ + "src/**/*.ts" + ], + "exclude": [ + "node_modules", + "src/**/*.spec.ts", + "src/**/__tests__/*.ts" + ], + "compileOnSave": false, + "atom": { + "rewriteTsconfig": false + } +} diff --git a/klu5/tslint.json b/klu5/tslint.json new file mode 100644 index 0000000..dd8e8d8 --- /dev/null +++ b/klu5/tslint.json @@ -0,0 +1,11 @@ +{ + "rules": { + "no-duplicate-variable": true, + "no-unused-variable": [ + true + ] + }, + "rulesDirectory": [ + "node_modules/tslint-eslint-rules/dist/rules" + ] +}