├── .editorconfig ├── .gitignore ├── 590.jpg ├── README.md ├── config.xml ├── ionic.config.json ├── package.json ├── promobloodcenter.jpg ├── resources ├── README.md ├── android │ ├── icon │ │ ├── drawable-hdpi-icon.png │ │ ├── drawable-ldpi-icon.png │ │ ├── drawable-mdpi-icon.png │ │ ├── drawable-xhdpi-icon.png │ │ ├── drawable-xxhdpi-icon.png │ │ └── drawable-xxxhdpi-icon.png │ └── splash │ │ ├── drawable-land-hdpi-screen.png │ │ ├── drawable-land-ldpi-screen.png │ │ ├── drawable-land-mdpi-screen.png │ │ ├── drawable-land-xhdpi-screen.png │ │ ├── drawable-land-xxhdpi-screen.png │ │ ├── drawable-land-xxxhdpi-screen.png │ │ ├── drawable-port-hdpi-screen.png │ │ ├── drawable-port-ldpi-screen.png │ │ ├── drawable-port-mdpi-screen.png │ │ ├── drawable-port-xhdpi-screen.png │ │ ├── drawable-port-xxhdpi-screen.png │ │ └── drawable-port-xxxhdpi-screen.png ├── icon.png ├── ios │ ├── icon │ │ ├── icon-1024.png │ │ ├── icon-40.png │ │ ├── icon-40@2x.png │ │ ├── icon-40@3x.png │ │ ├── icon-50.png │ │ ├── icon-50@2x.png │ │ ├── icon-60.png │ │ ├── icon-60@2x.png │ │ ├── icon-60@3x.png │ │ ├── icon-72.png │ │ ├── icon-72@2x.png │ │ ├── icon-76.png │ │ ├── icon-76@2x.png │ │ ├── icon-83.5@2x.png │ │ ├── icon-small.png │ │ ├── icon-small@2x.png │ │ ├── icon-small@3x.png │ │ ├── icon.png │ │ └── icon@2x.png │ └── splash │ │ ├── Default-568h@2x~iphone.png │ │ ├── Default-667h.png │ │ ├── Default-736h.png │ │ ├── Default-Landscape-736h.png │ │ ├── Default-Landscape@2x~ipad.png │ │ ├── Default-Landscape@~ipadpro.png │ │ ├── Default-Landscape~ipad.png │ │ ├── Default-Portrait@2x~ipad.png │ │ ├── Default-Portrait@~ipadpro.png │ │ ├── Default-Portrait~ipad.png │ │ ├── Default@2x~iphone.png │ │ ├── Default@2x~universal~anyany.png │ │ └── Default~iphone.png └── splash.png ├── src ├── app │ ├── app.component.ts │ ├── app.html │ ├── app.module.ts │ ├── app.scss │ └── main.ts ├── assets │ └── icon │ │ └── favicon.ico ├── index.html ├── manifest.json ├── pages │ ├── home │ │ ├── home.html │ │ ├── home.scss │ │ └── home.ts │ ├── intro │ │ ├── intro.html │ │ ├── intro.module.ts │ │ ├── intro.scss │ │ └── intro.ts │ ├── list │ │ ├── list.html │ │ ├── list.scss │ │ └── list.ts │ └── register │ │ ├── register.html │ │ ├── register.module.ts │ │ ├── register.scss │ │ └── register.ts ├── service-worker.js └── theme │ └── variables.scss ├── tsconfig.json └── tslint.json /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs 2 | # editorconfig.org 3 | 4 | root = true 5 | 6 | [*] 7 | indent_style = space 8 | indent_size = 2 9 | 10 | # We recommend you to keep these unchanged 11 | end_of_line = lf 12 | charset = utf-8 13 | trim_trailing_whitespace = true 14 | insert_final_newline = true 15 | 16 | [*.md] 17 | trim_trailing_whitespace = false -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Specifies intentionally untracked files to ignore when using Git 2 | # http://git-scm.com/docs/gitignore 3 | 4 | *~ 5 | *.sw[mnpcod] 6 | *.log 7 | *.tmp 8 | *.tmp.* 9 | log.txt 10 | *.sublime-project 11 | *.sublime-workspace 12 | .vscode/ 13 | npm-debug.log* 14 | 15 | .idea/ 16 | .sass-cache/ 17 | .tmp/ 18 | .versions/ 19 | coverage/ 20 | dist/ 21 | node_modules/ 22 | tmp/ 23 | temp/ 24 | hooks/ 25 | platforms/ 26 | plugins/ 27 | plugins/android.json 28 | plugins/ios.json 29 | www/ 30 | $RECYCLE.BIN/ 31 | 32 | .DS_Store 33 | Thumbs.db 34 | UserInterfaceState.xcuserstate 35 | -------------------------------------------------------------------------------- /590.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/590.jpg -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # BloodCenter App Ionic3 Angular4 Php Restful API 2 | 3 | The BloodCenter is an Open Source mobile application developed in Ionic 3, Angular 4, Php & Slim Restful API. It’s a NON PROFIT activity purely done to serve and fulfill one task of tackling maximum emergency situations with minimum infrastructure involved. The backend is designed in Php to manage all app functionality. 4 | 5 | ##### Buy From Envato : https://codecanyon.net/item/blood-center-blood-donation-app-android-ios-php-admin-dashboard-rest-api/23529296 6 | 7 | ## This is only BoilerPlate 8 | 9 | # Under Development.... 10 | 11 | ### Happy Open Source.... 12 | 13 | 14 | -------------------------------------------------------------------------------- /config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | MyApp 4 | An awesome Ionic/Cordova app. 5 | Ionic Framework Team 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /ionic.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bloodbank", 3 | "app_id": "8223f524", 4 | "type": "ionic-angular", 5 | "integrations": { 6 | "cordova": {} 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bloodbank", 3 | "version": "0.0.1", 4 | "author": "Ionic Framework", 5 | "homepage": "http://ionicframework.com/", 6 | "private": true, 7 | "scripts": { 8 | "clean": "ionic-app-scripts clean", 9 | "build": "ionic-app-scripts build", 10 | "lint": "ionic-app-scripts lint", 11 | "ionic:build": "ionic-app-scripts build", 12 | "ionic:serve": "ionic-app-scripts serve" 13 | }, 14 | "dependencies": { 15 | "@angular/common": "4.1.3", 16 | "@angular/compiler": "4.1.3", 17 | "@angular/compiler-cli": "4.1.3", 18 | "@angular/core": "4.1.3", 19 | "@angular/forms": "4.1.3", 20 | "@angular/http": "4.1.3", 21 | "@angular/platform-browser": "4.1.3", 22 | "@angular/platform-browser-dynamic": "4.1.3", 23 | "@ionic-native/core": "3.12.1", 24 | "@ionic-native/splash-screen": "3.12.1", 25 | "@ionic-native/status-bar": "3.12.1", 26 | "@ionic/storage": "2.0.1", 27 | "cordova-android": "~5.1.1", 28 | "cordova-plugin-device": "^2.0.2", 29 | "cordova-plugin-ionic-keyboard": "^2.0.5", 30 | "cordova-plugin-ionic-webview": "^1.1.19", 31 | "cordova-plugin-splashscreen": "^5.0.2", 32 | "cordova-plugin-statusbar": "^2.4.2", 33 | "cordova-plugin-whitelist": "^1.3.3", 34 | "ionic-angular": "3.6.0", 35 | "ionicons": "3.0.0", 36 | "rxjs": "5.4.0", 37 | "sw-toolbox": "3.6.0", 38 | "zone.js": "0.8.12" 39 | }, 40 | "devDependencies": { 41 | "@ionic/app-scripts": "2.1.3", 42 | "typescript": "2.3.4" 43 | }, 44 | "description": "An Ionic project", 45 | "cordova": { 46 | "plugins": { 47 | "cordova-plugin-whitelist": {}, 48 | "cordova-plugin-device": {}, 49 | "cordova-plugin-splashscreen": {}, 50 | "cordova-plugin-ionic-keyboard": {}, 51 | "cordova-plugin-statusbar": {} 52 | }, 53 | "platforms": [ 54 | "android" 55 | ] 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /promobloodcenter.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/promobloodcenter.jpg -------------------------------------------------------------------------------- /resources/README.md: -------------------------------------------------------------------------------- 1 | These are Cordova resources. You can replace icon.png and splash.png and run 2 | `ionic cordova resources` to generate custom icons and splash screens for your 3 | app. See `ionic cordova resources --help` for details. 4 | 5 | Cordova reference documentation: 6 | 7 | - Icons: https://cordova.apache.org/docs/en/latest/config_ref/images.html 8 | - Splash Screens: https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-splashscreen/ 9 | -------------------------------------------------------------------------------- /resources/android/icon/drawable-hdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/android/icon/drawable-hdpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-ldpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/android/icon/drawable-ldpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-mdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/android/icon/drawable-mdpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-xhdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/android/icon/drawable-xhdpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-xxhdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/android/icon/drawable-xxhdpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-xxxhdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/android/icon/drawable-xxxhdpi-icon.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-hdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/android/splash/drawable-land-hdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-ldpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/android/splash/drawable-land-ldpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-mdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/android/splash/drawable-land-mdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-xhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/android/splash/drawable-land-xhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-xxhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/android/splash/drawable-land-xxhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-xxxhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/android/splash/drawable-land-xxxhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-hdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/android/splash/drawable-port-hdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-ldpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/android/splash/drawable-port-ldpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-mdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/android/splash/drawable-port-mdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-xhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/android/splash/drawable-port-xhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-xxhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/android/splash/drawable-port-xxhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-xxxhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/android/splash/drawable-port-xxxhdpi-screen.png -------------------------------------------------------------------------------- /resources/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/icon.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/icon/icon-1024.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/icon/icon-40.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/icon/icon-40@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/icon/icon-40@3x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/icon/icon-50.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-50@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/icon/icon-50@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/icon/icon-60.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/icon/icon-60@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/icon/icon-60@3x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/icon/icon-72.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-72@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/icon/icon-72@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/icon/icon-76.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/icon/icon-76@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/icon/icon-83.5@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/icon/icon-small.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-small@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/icon/icon-small@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-small@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/icon/icon-small@3x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/icon/icon.png -------------------------------------------------------------------------------- /resources/ios/icon/icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/icon/icon@2x.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-568h@2x~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/splash/Default-568h@2x~iphone.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-667h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/splash/Default-667h.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/splash/Default-736h.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Landscape-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/splash/Default-Landscape-736h.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Landscape@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/splash/Default-Landscape@2x~ipad.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Landscape@~ipadpro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/splash/Default-Landscape@~ipadpro.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Landscape~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/splash/Default-Landscape~ipad.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Portrait@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/splash/Default-Portrait@2x~ipad.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Portrait@~ipadpro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/splash/Default-Portrait@~ipadpro.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Portrait~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/splash/Default-Portrait~ipad.png -------------------------------------------------------------------------------- /resources/ios/splash/Default@2x~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/splash/Default@2x~iphone.png -------------------------------------------------------------------------------- /resources/ios/splash/Default@2x~universal~anyany.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/splash/Default@2x~universal~anyany.png -------------------------------------------------------------------------------- /resources/ios/splash/Default~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/ios/splash/Default~iphone.png -------------------------------------------------------------------------------- /resources/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/resources/splash.png -------------------------------------------------------------------------------- /src/app/app.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, ViewChild } from '@angular/core'; 2 | import { Nav, Platform } from 'ionic-angular'; 3 | import { StatusBar } from '@ionic-native/status-bar'; 4 | import { SplashScreen } from '@ionic-native/splash-screen'; 5 | 6 | import { HomePage } from '../pages/home/home'; 7 | import { ListPage } from '../pages/list/list'; 8 | import { IntroPage } from '../pages/intro/intro'; 9 | 10 | @Component({ 11 | templateUrl: 'app.html' 12 | }) 13 | export class MyApp { 14 | @ViewChild(Nav) nav: Nav; 15 | 16 | rootPage: any = IntroPage; 17 | 18 | pages: Array<{title: string, component: any}>; 19 | 20 | constructor(public platform: Platform, public statusBar: StatusBar, public splashScreen: SplashScreen) { 21 | this.initializeApp(); 22 | 23 | // used for an example of ngFor and navigation 24 | this.pages = [ 25 | { title: 'Home', component: HomePage }, 26 | { title: 'List', component: ListPage } 27 | ]; 28 | 29 | } 30 | 31 | initializeApp() { 32 | this.platform.ready().then(() => { 33 | // Okay, so the platform is ready and our plugins are available. 34 | // Here you can do any higher level native things you might need. 35 | this.statusBar.styleDefault(); 36 | this.splashScreen.hide(); 37 | }); 38 | } 39 | 40 | openPage(page) { 41 | // Reset the content nav to have just this page 42 | // we wouldn't want the back button to show in this scenario 43 | this.nav.setRoot(page.component); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /src/app/app.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Menu 5 | 6 | 7 | 8 | 9 | 10 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/app/app.module.ts: -------------------------------------------------------------------------------- 1 | import { BrowserModule } from '@angular/platform-browser'; 2 | import { ErrorHandler, NgModule } from '@angular/core'; 3 | import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular'; 4 | import { IntroPage } from '../pages/intro/intro'; 5 | 6 | import { MyApp } from './app.component'; 7 | import { HomePage } from '../pages/home/home'; 8 | import { ListPage } from '../pages/list/list'; 9 | import { RegisterPage } from '../pages/register/register'; 10 | 11 | import { StatusBar } from '@ionic-native/status-bar'; 12 | import { SplashScreen } from '@ionic-native/splash-screen'; 13 | 14 | @NgModule({ 15 | declarations: [ 16 | MyApp, 17 | HomePage, 18 | ListPage, 19 | IntroPage, 20 | RegisterPage 21 | ], 22 | imports: [ 23 | BrowserModule, 24 | IonicModule.forRoot(MyApp), 25 | ], 26 | bootstrap: [IonicApp], 27 | entryComponents: [ 28 | MyApp, 29 | HomePage, 30 | ListPage, 31 | IntroPage, 32 | RegisterPage 33 | ], 34 | providers: [ 35 | StatusBar, 36 | SplashScreen, 37 | {provide: ErrorHandler, useClass: IonicErrorHandler} 38 | ] 39 | }) 40 | export class AppModule {} 41 | -------------------------------------------------------------------------------- /src/app/app.scss: -------------------------------------------------------------------------------- 1 | /* cyrillic-ext */ 2 | @font-face { 3 | font-family: 'Ubuntu'; 4 | font-style: normal; 5 | font-weight: 300; 6 | src: local('Ubuntu Light'), local('Ubuntu-Light'), url(../assets/fonts/X_EdMnknKUltk57alVVbVxJtnKITppOI_IvcXXDNrsc.woff2) format('woff2'); 7 | unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; 8 | } 9 | /* cyrillic */ 10 | @font-face { 11 | font-family: 'Ubuntu'; 12 | font-style: normal; 13 | font-weight: 300; 14 | src: local('Ubuntu Light'), local('Ubuntu-Light'), url(../assets/fonts/nBF2d6Y3AbOwfkBM-9HcWBJtnKITppOI_IvcXXDNrsc.woff2) format('woff2'); 15 | unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; 16 | } 17 | /* greek-ext */ 18 | @font-face { 19 | font-family: 'Ubuntu'; 20 | font-style: normal; 21 | font-weight: 300; 22 | src: local('Ubuntu Light'), local('Ubuntu-Light'), url(../assets/fonts/CdlIlwqST01WNAKqZbtZkhJtnKITppOI_IvcXXDNrsc.woff2) format('woff2'); 23 | unicode-range: U+1F00-1FFF; 24 | } 25 | /* greek */ 26 | @font-face { 27 | font-family: 'Ubuntu'; 28 | font-style: normal; 29 | font-weight: 300; 30 | src: local('Ubuntu Light'), local('Ubuntu-Light'), url(../assets/fonts/7k0RmqCN8EFxqS6sChuRzRJtnKITppOI_IvcXXDNrsc.woff2) format('woff2'); 31 | unicode-range: U+0370-03FF; 32 | } 33 | /* latin-ext */ 34 | @font-face { 35 | font-family: 'Ubuntu'; 36 | font-style: normal; 37 | font-weight: 300; 38 | src: local('Ubuntu Light'), local('Ubuntu-Light'), url(../assets/fonts/WtcvfJHWXKxx4x0kuS1koRJtnKITppOI_IvcXXDNrsc.woff2) format('woff2'); 39 | unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; 40 | } 41 | /* latin */ 42 | @font-face { 43 | font-family: 'Ubuntu'; 44 | font-style: normal; 45 | font-weight: 300; 46 | src: local('Ubuntu Light'), local('Ubuntu-Light'), url(../assets/fonts/_aijTyevf54tkVDLy-dlnFtXRa8TVwTICgirnJhmVJw.woff2) format('woff2'); 47 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; 48 | } 49 | /* cyrillic-ext */ 50 | @font-face { 51 | font-family: 'Ubuntu'; 52 | font-style: normal; 53 | font-weight: 400; 54 | src: local('Ubuntu Regular'), local('Ubuntu-Regular'), url(../assets/fonts/ODszJI8YqNw8V2xPulzjO_esZW2xOQ-xsNqO47m55DA.woff2) format('woff2'); 55 | unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; 56 | } 57 | /* cyrillic */ 58 | @font-face { 59 | font-family: 'Ubuntu'; 60 | font-style: normal; 61 | font-weight: 400; 62 | src: local('Ubuntu Regular'), local('Ubuntu-Regular'), url(../assets/fonts/iQ9VJx1UMASKNiGywyyCXvesZW2xOQ-xsNqO47m55DA.woff2) format('woff2'); 63 | unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; 64 | } 65 | /* greek-ext */ 66 | @font-face { 67 | font-family: 'Ubuntu'; 68 | font-style: normal; 69 | font-weight: 400; 70 | src: local('Ubuntu Regular'), local('Ubuntu-Regular'), url(../assets/fonts/WkvQmvwsfw_KKeau9SlQ2_esZW2xOQ-xsNqO47m55DA.woff2) format('woff2'); 71 | unicode-range: U+1F00-1FFF; 72 | } 73 | /* greek */ 74 | @font-face { 75 | font-family: 'Ubuntu'; 76 | font-style: normal; 77 | font-weight: 400; 78 | src: local('Ubuntu Regular'), local('Ubuntu-Regular'), url(../assets/fonts/gYAtqXUikkQjyJA1SnpDLvesZW2xOQ-xsNqO47m55DA.woff2) format('woff2'); 79 | unicode-range: U+0370-03FF; 80 | } 81 | /* latin-ext */ 82 | @font-face { 83 | font-family: 'Ubuntu'; 84 | font-style: normal; 85 | font-weight: 400; 86 | src: local('Ubuntu Regular'), local('Ubuntu-Regular'), url(../assets/fonts/Wu5Iuha-XnKDBvqRwQzAG_esZW2xOQ-xsNqO47m55DA.woff2) format('woff2'); 87 | unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; 88 | } 89 | /* latin */ 90 | @font-face { 91 | font-family: 'Ubuntu'; 92 | font-style: normal; 93 | font-weight: 400; 94 | src: local('Ubuntu Regular'), local('Ubuntu-Regular'), url(../assets/fonts/sDGTilo5QRsfWu6Yc11AXg.woff2) format('woff2'); 95 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; 96 | } 97 | /* cyrillic-ext */ 98 | @font-face { 99 | font-family: 'Ubuntu'; 100 | font-style: normal; 101 | font-weight: 500; 102 | src: local('Ubuntu Medium'), local('Ubuntu-Medium'), url(../assets/fonts/MLKvhAbswThSVACnSTWCpxJtnKITppOI_IvcXXDNrsc.woff2) format('woff2'); 103 | unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; 104 | } 105 | /* cyrillic */ 106 | @font-face { 107 | font-family: 'Ubuntu'; 108 | font-style: normal; 109 | font-weight: 500; 110 | src: local('Ubuntu Medium'), local('Ubuntu-Medium'), url(../assets/fonts/IiMFELcoPB-OzGzq14k4ehJtnKITppOI_IvcXXDNrsc.woff2) format('woff2'); 111 | unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; 112 | } 113 | /* greek-ext */ 114 | @font-face { 115 | font-family: 'Ubuntu'; 116 | font-style: normal; 117 | font-weight: 500; 118 | src: local('Ubuntu Medium'), local('Ubuntu-Medium'), url(../assets/fonts/H2j4_4xA-HIuoc_A3BIwVBJtnKITppOI_IvcXXDNrsc.woff2) format('woff2'); 119 | unicode-range: U+1F00-1FFF; 120 | } 121 | /* greek */ 122 | @font-face { 123 | font-family: 'Ubuntu'; 124 | font-style: normal; 125 | font-weight: 500; 126 | src: local('Ubuntu Medium'), local('Ubuntu-Medium'), url(../assets/fonts/EtSRPnpS3nIR-zKYiR-sDBJtnKITppOI_IvcXXDNrsc.woff2) format('woff2'); 127 | unicode-range: U+0370-03FF; 128 | } 129 | /* latin-ext */ 130 | @font-face { 131 | font-family: 'Ubuntu'; 132 | font-style: normal; 133 | font-weight: 500; 134 | src: local('Ubuntu Medium'), local('Ubuntu-Medium'), url(../assets/fonts/gMhvhm-nVj1086DvGgmzBxJtnKITppOI_IvcXXDNrsc.woff2) format('woff2'); 135 | unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; 136 | } 137 | /* latin */ 138 | @font-face { 139 | font-family: 'Ubuntu'; 140 | font-style: normal; 141 | font-weight: 500; 142 | src: local('Ubuntu Medium'), local('Ubuntu-Medium'), url(../assets/fonts/OsJ2DjdpjqFRVUSto6IffFtXRa8TVwTICgirnJhmVJw.woff2) format('woff2'); 143 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; 144 | } 145 | /* cyrillic-ext */ 146 | @font-face { 147 | font-family: 'Ubuntu'; 148 | font-style: normal; 149 | font-weight: 700; 150 | src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(../assets/fonts/oxrPYIm05JrY_0rFIEQ_oRJtnKITppOI_IvcXXDNrsc.woff2) format('woff2'); 151 | unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; 152 | } 153 | /* cyrillic */ 154 | @font-face { 155 | font-family: 'Ubuntu'; 156 | font-style: normal; 157 | font-weight: 700; 158 | src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(../assets/fonts/4z2U46_RRLOfkoHsWJG3vxJtnKITppOI_IvcXXDNrsc.woff2) format('woff2'); 159 | unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; 160 | } 161 | /* greek-ext */ 162 | @font-face { 163 | font-family: 'Ubuntu'; 164 | font-style: normal; 165 | font-weight: 700; 166 | src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(../assets/fonts/2vaWVxeAxHVkFcnCBCQCyRJtnKITppOI_IvcXXDNrsc.woff2) format('woff2'); 167 | unicode-range: U+1F00-1FFF; 168 | } 169 | /* greek */ 170 | @font-face { 171 | font-family: 'Ubuntu'; 172 | font-style: normal; 173 | font-weight: 700; 174 | src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(../assets/fonts/M-Ii49WH_TYYnOjQyLgTMBJtnKITppOI_IvcXXDNrsc.woff2) format('woff2'); 175 | unicode-range: U+0370-03FF; 176 | } 177 | /* latin-ext */ 178 | @font-face { 179 | font-family: 'Ubuntu'; 180 | font-style: normal; 181 | font-weight: 700; 182 | src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(../assets/fonts/nsLtvfQoT-rVwGTHHnkeJhJtnKITppOI_IvcXXDNrsc.woff2) format('woff2'); 183 | unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; 184 | } 185 | /* latin */ 186 | @font-face { 187 | font-family: 'Ubuntu'; 188 | font-style: normal; 189 | font-weight: 700; 190 | src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(../assets/fonts/0ihfXUL2emPh0ROJezvraFtXRa8TVwTICgirnJhmVJw.woff2) format('woff2'); 191 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; 192 | } 193 | /* cyrillic-ext */ 194 | @font-face { 195 | font-family: 'Ubuntu'; 196 | font-style: italic; 197 | font-weight: 300; 198 | src: local('Ubuntu Light Italic'), local('Ubuntu-LightItalic'), url(../assets/fonts/DZ_YjBPqZ88vcZCcIXm6VjTOQ_MqJVwkKsUn0wKzc2I.woff2) format('woff2'); 199 | unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; 200 | } 201 | /* cyrillic */ 202 | @font-face { 203 | font-family: 'Ubuntu'; 204 | font-style: italic; 205 | font-weight: 300; 206 | src: local('Ubuntu Light Italic'), local('Ubuntu-LightItalic'), url(../assets/fonts/DZ_YjBPqZ88vcZCcIXm6VjUj_cnvWIuuBMVgbX098Mw.woff2) format('woff2'); 207 | unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; 208 | } 209 | /* greek-ext */ 210 | @font-face { 211 | font-family: 'Ubuntu'; 212 | font-style: italic; 213 | font-weight: 300; 214 | src: local('Ubuntu Light Italic'), local('Ubuntu-LightItalic'), url(../assets/fonts/DZ_YjBPqZ88vcZCcIXm6VkbcKLIaa1LC45dFaAfauRA.woff2) format('woff2'); 215 | unicode-range: U+1F00-1FFF; 216 | } 217 | /* greek */ 218 | @font-face { 219 | font-family: 'Ubuntu'; 220 | font-style: italic; 221 | font-weight: 300; 222 | src: local('Ubuntu Light Italic'), local('Ubuntu-LightItalic'), url(../assets/fonts/DZ_YjBPqZ88vcZCcIXm6Vmo_sUJ8uO4YLWRInS22T3Y.woff2) format('woff2'); 223 | unicode-range: U+0370-03FF; 224 | } 225 | /* latin-ext */ 226 | @font-face { 227 | font-family: 'Ubuntu'; 228 | font-style: italic; 229 | font-weight: 300; 230 | src: local('Ubuntu Light Italic'), local('Ubuntu-LightItalic'), url(../assets/fonts/DZ_YjBPqZ88vcZCcIXm6ViYE0-AqJ3nfInTTiDXDjU4.woff2) format('woff2'); 231 | unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; 232 | } 233 | /* latin */ 234 | @font-face { 235 | font-family: 'Ubuntu'; 236 | font-style: italic; 237 | font-weight: 300; 238 | src: local('Ubuntu Light Italic'), local('Ubuntu-LightItalic'), url(../assets/fonts/DZ_YjBPqZ88vcZCcIXm6Vo4P5ICox8Kq3LLUNMylGO4.woff2) format('woff2'); 239 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; 240 | } 241 | /* cyrillic-ext */ 242 | @font-face { 243 | font-family: 'Ubuntu'; 244 | font-style: italic; 245 | font-weight: 400; 246 | src: local('Ubuntu Italic'), local('Ubuntu-Italic'), url(../assets/fonts/w3OQMu9Ox3bN1d9i3mbh2xTbgVql8nDJpwnrE27mub0.woff2) format('woff2'); 247 | unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; 248 | } 249 | /* cyrillic */ 250 | @font-face { 251 | font-family: 'Ubuntu'; 252 | font-style: italic; 253 | font-weight: 400; 254 | src: local('Ubuntu Italic'), local('Ubuntu-Italic'), url(../assets/fonts/LYvzNpa5ecqVXi8cf4pj-hTbgVql8nDJpwnrE27mub0.woff2) format('woff2'); 255 | unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; 256 | } 257 | /* greek-ext */ 258 | @font-face { 259 | font-family: 'Ubuntu'; 260 | font-style: italic; 261 | font-weight: 400; 262 | src: local('Ubuntu Italic'), local('Ubuntu-Italic'), url(../assets/fonts/T0N0BD55aMuIijZeoZ4TJBTbgVql8nDJpwnrE27mub0.woff2) format('woff2'); 263 | unicode-range: U+1F00-1FFF; 264 | } 265 | /* greek */ 266 | @font-face { 267 | font-family: 'Ubuntu'; 268 | font-style: italic; 269 | font-weight: 400; 270 | src: local('Ubuntu Italic'), local('Ubuntu-Italic'), url(../assets/fonts/RunG4-izX6wYOuWLUJmsihTbgVql8nDJpwnrE27mub0.woff2) format('woff2'); 271 | unicode-range: U+0370-03FF; 272 | } 273 | /* latin-ext */ 274 | @font-face { 275 | font-family: 'Ubuntu'; 276 | font-style: italic; 277 | font-weight: 400; 278 | src: local('Ubuntu Italic'), local('Ubuntu-Italic'), url(../assets/fonts/IZYv9ktJI5s8uIr0hWnbSBTbgVql8nDJpwnrE27mub0.woff2) format('woff2'); 279 | unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; 280 | } 281 | /* latin */ 282 | @font-face { 283 | font-family: 'Ubuntu'; 284 | font-style: italic; 285 | font-weight: 400; 286 | src: local('Ubuntu Italic'), local('Ubuntu-Italic'), url(../assets/fonts/WB6rgjTg_oRfj6mlXZJbb_esZW2xOQ-xsNqO47m55DA.woff2) format('woff2'); 287 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; 288 | } 289 | /* cyrillic-ext */ 290 | @font-face { 291 | font-family: 'Ubuntu'; 292 | font-style: italic; 293 | font-weight: 500; 294 | src: local('Ubuntu Medium Italic'), local('Ubuntu-MediumItalic'), url(../assets/fonts/ohKfORL_YnhBMzkCPoIqwjTOQ_MqJVwkKsUn0wKzc2I.woff2) format('woff2'); 295 | unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; 296 | } 297 | /* cyrillic */ 298 | @font-face { 299 | font-family: 'Ubuntu'; 300 | font-style: italic; 301 | font-weight: 500; 302 | src: local('Ubuntu Medium Italic'), local('Ubuntu-MediumItalic'), url(../assets/fonts/ohKfORL_YnhBMzkCPoIqwjUj_cnvWIuuBMVgbX098Mw.woff2) format('woff2'); 303 | unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; 304 | } 305 | /* greek-ext */ 306 | @font-face { 307 | font-family: 'Ubuntu'; 308 | font-style: italic; 309 | font-weight: 500; 310 | src: local('Ubuntu Medium Italic'), local('Ubuntu-MediumItalic'), url(../assets/fonts/ohKfORL_YnhBMzkCPoIqwkbcKLIaa1LC45dFaAfauRA.woff2) format('woff2'); 311 | unicode-range: U+1F00-1FFF; 312 | } 313 | /* greek */ 314 | @font-face { 315 | font-family: 'Ubuntu'; 316 | font-style: italic; 317 | font-weight: 500; 318 | src: local('Ubuntu Medium Italic'), local('Ubuntu-MediumItalic'), url(../assets/fonts/ohKfORL_YnhBMzkCPoIqwmo_sUJ8uO4YLWRInS22T3Y.woff2) format('woff2'); 319 | unicode-range: U+0370-03FF; 320 | } 321 | /* latin-ext */ 322 | @font-face { 323 | font-family: 'Ubuntu'; 324 | font-style: italic; 325 | font-weight: 500; 326 | src: local('Ubuntu Medium Italic'), local('Ubuntu-MediumItalic'), url(../assets/fonts/ohKfORL_YnhBMzkCPoIqwiYE0-AqJ3nfInTTiDXDjU4.woff2) format('woff2'); 327 | unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; 328 | } 329 | /* latin */ 330 | @font-face { 331 | font-family: 'Ubuntu'; 332 | font-style: italic; 333 | font-weight: 500; 334 | src: local('Ubuntu Medium Italic'), local('Ubuntu-MediumItalic'), url(../assets/fonts/ohKfORL_YnhBMzkCPoIqwo4P5ICox8Kq3LLUNMylGO4.woff2) format('woff2'); 335 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; 336 | } 337 | /* cyrillic-ext */ 338 | @font-face { 339 | font-family: 'Ubuntu'; 340 | font-style: italic; 341 | font-weight: 700; 342 | src: local('Ubuntu Bold Italic'), local('Ubuntu-BoldItalic'), url(../assets/fonts/OMD20Sg9RTs7sUORCEN-7TTOQ_MqJVwkKsUn0wKzc2I.woff2) format('woff2'); 343 | unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; 344 | } 345 | /* cyrillic */ 346 | @font-face { 347 | font-family: 'Ubuntu'; 348 | font-style: italic; 349 | font-weight: 700; 350 | src: local('Ubuntu Bold Italic'), local('Ubuntu-BoldItalic'), url(../assets/fonts/OMD20Sg9RTs7sUORCEN-7TUj_cnvWIuuBMVgbX098Mw.woff2) format('woff2'); 351 | unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; 352 | } 353 | /* greek-ext */ 354 | @font-face { 355 | font-family: 'Ubuntu'; 356 | font-style: italic; 357 | font-weight: 700; 358 | src: local('Ubuntu Bold Italic'), local('Ubuntu-BoldItalic'), url(../assets/fonts/OMD20Sg9RTs7sUORCEN-7UbcKLIaa1LC45dFaAfauRA.woff2) format('woff2'); 359 | unicode-range: U+1F00-1FFF; 360 | } 361 | /* greek */ 362 | @font-face { 363 | font-family: 'Ubuntu'; 364 | font-style: italic; 365 | font-weight: 700; 366 | src: local('Ubuntu Bold Italic'), local('Ubuntu-BoldItalic'), url(../assets/fonts/OMD20Sg9RTs7sUORCEN-7Wo_sUJ8uO4YLWRInS22T3Y.woff2) format('woff2'); 367 | unicode-range: U+0370-03FF; 368 | } 369 | /* latin-ext */ 370 | @font-face { 371 | font-family: 'Ubuntu'; 372 | font-style: italic; 373 | font-weight: 700; 374 | src: local('Ubuntu Bold Italic'), local('Ubuntu-BoldItalic'), url(../assets/fonts/OMD20Sg9RTs7sUORCEN-7SYE0-AqJ3nfInTTiDXDjU4.woff2) format('woff2'); 375 | unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; 376 | } 377 | /* latin */ 378 | @font-face { 379 | font-family: 'Ubuntu'; 380 | font-style: italic; 381 | font-weight: 700; 382 | src: local('Ubuntu Bold Italic'), local('Ubuntu-BoldItalic'), url(../assets/fonts/OMD20Sg9RTs7sUORCEN-7Y4P5ICox8Kq3LLUNMylGO4.woff2) format('woff2'); 383 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; 384 | } -------------------------------------------------------------------------------- /src/app/main.ts: -------------------------------------------------------------------------------- 1 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; 2 | 3 | import { AppModule } from './app.module'; 4 | 5 | platformBrowserDynamic().bootstrapModule(AppModule); 6 | -------------------------------------------------------------------------------- /src/assets/icon/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajayrandhawa/BloodCenter-App-Ionic3-Angular4-Php-Restful-API/465f1657c4250ac58356a524eda1c470890a6dc3/src/assets/icon/favicon.ico -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Ionic App 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /src/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Ionic", 3 | "short_name": "Ionic", 4 | "start_url": "index.html", 5 | "display": "standalone", 6 | "icons": [{ 7 | "src": "assets/imgs/logo.png", 8 | "sizes": "512x512", 9 | "type": "image/png" 10 | }], 11 | "background_color": "#4e8ef7", 12 | "theme_color": "#4e8ef7" 13 | } -------------------------------------------------------------------------------- /src/pages/home/home.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | Doners 7 | 8 |
9 |
10 |

Doner of the Week

11 |

John Doe
Amritsar

12 |
13 | 14 |
15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 |

Doner ID : BLDBK1023

26 | AB+ 27 |
28 | 29 | 30 |

Mobile No : 7696355852

31 |

State : Punjab

32 |

City : Tarn Taran

33 |
34 | 35 | 36 | 37 |
38 |
39 |
40 |
41 |
42 | 43 | 44 | 45 | 46 | 47 | 48 |
49 | 50 |

Doner ID : BLDBK1023

51 | AB+ 52 |
53 | 54 | 55 |

Mobile No : 7696355852

56 |

State : Punjab

57 |

City : Tarn Taran

58 |
59 | 60 | 61 | 62 |
63 |
64 |
65 |
66 |
67 | 68 | 69 | 70 | 71 | 72 | 73 |
74 | 75 |

Doner ID : BLDBK1023

76 | AB+ 77 |
78 | 79 | 80 |

Mobile No : 7696355852

81 |

State : Punjab

82 |

City : Tarn Taran

83 |
84 | 85 | 86 | 87 |
88 |
89 |
90 |
91 |
92 | 93 | 94 | 95 | 96 | 97 | 98 |
99 | 100 |

Doner ID : BLDBK1023

101 | AB+ 102 |
103 | 104 | 105 |

Mobile No : 7696355852

106 |

State : Punjab

107 |

City : Tarn Taran

108 |
109 | 110 | 111 | 112 |
113 |
114 |
115 |
116 |
117 | 118 |
119 | -------------------------------------------------------------------------------- /src/pages/home/home.scss: -------------------------------------------------------------------------------- 1 | *{ 2 | margin:0; 3 | padding:0; 4 | font-family: Ubuntu; 5 | 6 | } 7 | 8 | .toolbar-title{ 9 | color:#ffffff; 10 | font-size: 20px; 11 | font-weight: 500; 12 | } 13 | 14 | .toolbar-background{ 15 | background: #ea2429; 16 | } 17 | 18 | .toolbar{ 19 | height:60px; 20 | } 21 | 22 | ion-card img{ 23 | float: left; 24 | width:25%; 25 | } 26 | 27 | .donerweek{ 28 | margin:10px; 29 | } 30 | 31 | .donerweek div{ 32 | margin-left:10%; 33 | float: left; 34 | text-align: center; 35 | } 36 | 37 | .donerweek img{ 38 | width:20%; 39 | border-radius: 50%; 40 | float: right; 41 | margin-right:10%; 42 | } 43 | 44 | .col{ 45 | padding:0px; 46 | } 47 | 48 | .ctndonr{ 49 | padding:5px; 50 | border-bottom: 1px solid #e7e7e7; 51 | } 52 | 53 | .ctndonr img{ 54 | border-radius:4%; 55 | } 56 | 57 | .datactn{ 58 | padding-left:10px; 59 | } 60 | 61 | .datactn p{ 62 | padding:5px 0px 0px 0px; 63 | } 64 | 65 | .bgroup{ 66 | color:#ea2429; 67 | } 68 | 69 | ion-icon{ 70 | font-size:30px; 71 | } 72 | 73 | .callbtn{ 74 | margin-top:5px; 75 | color:#ea2429; 76 | background: #ffffff; 77 | } 78 | -------------------------------------------------------------------------------- /src/pages/home/home.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | import { NavController } from 'ionic-angular'; 3 | import { StatusBar } from '@ionic-native/status-bar'; 4 | 5 | @Component({ 6 | selector: 'page-home', 7 | templateUrl: 'home.html' 8 | }) 9 | export class HomePage { 10 | 11 | datadic = ""; 12 | 13 | constructor(public navCtrl: NavController,private statusBar: StatusBar) { 14 | this.statusBar.backgroundColorByHexString('#ea2429'); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/pages/intro/intro.html: -------------------------------------------------------------------------------- 1 | 2 |

3 | 4 | 5 | 6 |
7 |

A life may depend on a gesture
from you, a bottle of Blood.

8 |
9 |
10 | 11 | 12 |

Tears of a mother cannot save
her Child. But your Blood Can.

13 |
14 | 15 | 16 |

Share a little, care a little
Donate Blood.

17 |
18 |
19 | 20 | 23 | 26 |
27 | -------------------------------------------------------------------------------- /src/pages/intro/intro.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { IonicPageModule } from 'ionic-angular'; 3 | import { IntroPage } from './intro'; 4 | 5 | @NgModule({ 6 | declarations: [ 7 | IntroPage, 8 | ], 9 | imports: [ 10 | IonicPageModule.forChild(IntroPage), 11 | ], 12 | }) 13 | export class IntroPageModule {} 14 | -------------------------------------------------------------------------------- /src/pages/intro/intro.scss: -------------------------------------------------------------------------------- 1 | .logo{ 2 | text-align:center; 3 | position: fixed; 4 | top:90px; 5 | left:0; 6 | right:0; 7 | } 8 | 9 | .logo img{ 10 | width:30%; 11 | } 12 | 13 | .tx1{ 14 | color:#ea2429; 15 | font-family:ubuntu; 16 | font-weight: 500; 17 | font-size:15px; 18 | text-align:center; 19 | position: relative; 20 | margin-top:70%; 21 | } 22 | 23 | .swiper-pagination-bullet { 24 | background: #ea2429; 25 | opacity: 0.3; 26 | } 27 | 28 | .swiper-pagination-fraction, .swiper-pagination-custom, .swiper-container-horizontal > .swiper-pagination-bullets{ 29 | bottom:5%; 30 | } 31 | 32 | .swiper-pagination-bullet-active { 33 | background: #ea2429; 34 | opacity: 1; 35 | } 36 | 37 | .btn1{ 38 | position: fixed; 39 | bottom: 20%; 40 | width:55%; 41 | left:0; 42 | right:0; 43 | margin: 0 auto; 44 | background:#ea2429; 45 | color:#ffffff; 46 | font-family:ubuntu; 47 | font-weight: bold; 48 | font-size:18px; 49 | } 50 | 51 | .btn2{ 52 | position: fixed; 53 | bottom: 10%; 54 | width:55%; 55 | left:0; 56 | right:0; 57 | margin: 0 auto; 58 | background:#ea2429; 59 | color:#ffffff; 60 | font-family:ubuntu; 61 | font-weight: bold; 62 | font-size:18px; 63 | } -------------------------------------------------------------------------------- /src/pages/intro/intro.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | import { IonicPage, NavController, NavParams } from 'ionic-angular'; 3 | import { HomePage } from '../home/home'; 4 | import { StatusBar } from '@ionic-native/status-bar'; 5 | import { RegisterPage } from '../../pages/register/register'; 6 | 7 | @IonicPage() 8 | @Component({ 9 | selector: 'page-intro', 10 | templateUrl: 'intro.html', 11 | }) 12 | export class IntroPage { 13 | 14 | constructor(public navCtrl: NavController, public navParams: NavParams, private statusBar: StatusBar) { 15 | this.statusBar.overlaysWebView(true); 16 | 17 | // set status bar to white 18 | this.statusBar.hide(); 19 | } 20 | 21 | ionViewDidLoad() { 22 | console.log('ionViewDidLoad IntroPage'); 23 | } 24 | 25 | gotohome(){ 26 | this.navCtrl.setRoot(HomePage); 27 | } 28 | 29 | gotoregister(){ 30 | this.navCtrl.push(RegisterPage); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/pages/list/list.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | List 7 | 8 | 9 | 10 | 11 | 12 | 19 | 20 |
21 | You navigated here from {{selectedItem.title}} 22 |
23 |
24 | -------------------------------------------------------------------------------- /src/pages/list/list.scss: -------------------------------------------------------------------------------- 1 | page-list { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /src/pages/list/list.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | import { NavController, NavParams } from 'ionic-angular'; 3 | 4 | @Component({ 5 | selector: 'page-list', 6 | templateUrl: 'list.html' 7 | }) 8 | export class ListPage { 9 | selectedItem: any; 10 | icons: string[]; 11 | items: Array<{title: string, note: string, icon: string}>; 12 | 13 | constructor(public navCtrl: NavController, public navParams: NavParams) { 14 | // If we navigated to this page, we will have an item available as a nav param 15 | this.selectedItem = navParams.get('item'); 16 | 17 | // Let's populate this page with some filler content for funzies 18 | this.icons = ['flask', 'wifi', 'beer', 'football', 'basketball', 'paper-plane', 19 | 'american-football', 'boat', 'bluetooth', 'build']; 20 | 21 | this.items = []; 22 | for (let i = 1; i < 11; i++) { 23 | this.items.push({ 24 | title: 'Item ' + i, 25 | note: 'This is item #' + i, 26 | icon: this.icons[Math.floor(Math.random() * this.icons.length)] 27 | }); 28 | } 29 | } 30 | 31 | itemTapped(event, item) { 32 | // That's right, we're pushing to ourselves! 33 | this.navCtrl.push(ListPage, { 34 | item: item 35 | }); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/pages/register/register.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Become a Doner 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | Full Name 14 | 15 | 16 | 17 | 18 | Mobile Number 19 | 20 | 21 | 22 | 23 | Email ID 24 | 25 | 26 | 27 | 28 | DOB 29 | 30 | 31 | 32 | 33 | Gender 34 | 35 | Male 36 | Female 37 | 38 | 39 | 40 | 41 | Blood Group 42 | 43 | A+ 44 | A- 45 | B+ 46 | B- 47 | AB+ 48 | AB- 49 | O+ 50 | O- 51 | 52 | 53 | 54 | 55 | State 56 | 57 | {{sState.name}} 58 | 59 | 60 | 61 | 62 | City 63 | 64 | {{sDistrict.name}} 65 | 66 | 67 | 68 | 69 | Address 70 | 71 | 72 | 73 | 74 | Message 75 | 76 | 77 | 78 |
79 | 82 |
83 | 84 |
-------------------------------------------------------------------------------- /src/pages/register/register.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { IonicPageModule } from 'ionic-angular'; 3 | import { RegisterPage } from './register'; 4 | 5 | @NgModule({ 6 | declarations: [ 7 | RegisterPage, 8 | ], 9 | imports: [ 10 | IonicPageModule.forChild(RegisterPage), 11 | ], 12 | }) 13 | export class RegisterPageModule {} 14 | -------------------------------------------------------------------------------- /src/pages/register/register.scss: -------------------------------------------------------------------------------- 1 | .back-button { 2 | color: #ffffff; 3 | margin-left: 10px; 4 | } 5 | 6 | .back-button-text { 7 | display: none; 8 | } 9 | 10 | .ctnbtn{ 11 | margin: 0 auto; 12 | widows: 100%; 13 | text-align: center; 14 | } 15 | 16 | .regbutton { 17 | width:55%; 18 | margin: 40px auto 20px auto; 19 | background:#ea2429; 20 | color:#ffffff; 21 | font-family:ubuntu; 22 | font-weight: bold; 23 | font-size:18px; 24 | } 25 | -------------------------------------------------------------------------------- /src/pages/register/register.ts: -------------------------------------------------------------------------------- 1 | import { Component } from "@angular/core"; 2 | import { IonicPage, NavController, NavParams } from "ionic-angular"; 3 | 4 | /** 5 | * Generated class for the RegisterPage page. 6 | * 7 | * See http://ionicframework.com/docs/components/#navigation for more info 8 | * on Ionic pages and navigation. 9 | */ 10 | 11 | @IonicPage() 12 | @Component({ 13 | selector: "page-register", 14 | templateUrl: "register.html" 15 | }) 16 | export class RegisterPage { 17 | public states: any[]; 18 | public districts: any[]; 19 | 20 | public selectedDistricts: any[]; 21 | 22 | public sState: any; 23 | public sDistrict: any; 24 | 25 | constructor(public navCtrl: NavController, public navParams: NavParams) { 26 | this.initializeState(); 27 | this.initializeDistrict(); 28 | } 29 | 30 | ionViewDidLoad() { 31 | console.log("ionViewDidLoad RegisterPage"); 32 | } 33 | 34 | initializeState() { 35 | this.states = [ 36 | { id: 1, name: "Andaman & Nicobar" }, 37 | { id: 2, name: "Andhra Pradesh" }, 38 | { id: 3, name: "Arunachal Pradesh" }, 39 | { id: 4, name: "Assam" }, 40 | { id: 4, name: "Bihar" } 41 | 42 | ]; 43 | } 44 | 45 | initializeDistrict() { 46 | this.districts = [ 47 | //Andaman & Nicobar 48 | 49 | { name: " Alipur ", state_id: 1 }, 50 | { name: " Andaman Island ", state_id: 1 }, 51 | { name: " Anderson Island ", state_id: 1 }, 52 | { name: " Arainj-Laka-Punga ", state_id: 1 }, 53 | { name: " Austinabad ", state_id: 1 }, 54 | { name: " Bamboo Flat ", state_id: 1 }, 55 | { name: " Barren Island ", state_id: 1 }, 56 | { name: " Beadonabad ", state_id: 1 }, 57 | { name: " Betapur ", state_id: 1 }, 58 | { name: " Bindraban ", state_id: 1 }, 59 | { name: " Bonington ", state_id: 1 }, 60 | { name: " Brookesabad ", state_id: 1 }, 61 | { name: " Cadell Point ", state_id: 1 }, 62 | { name: " Calicut ", state_id: 1 }, 63 | { name: " Chetamale ", state_id: 1 }, 64 | { name: " Cinque Islands ", state_id: 1 }, 65 | { name: " Defence Island ", state_id: 1 }, 66 | { name: " Digilpur ", state_id: 1 }, 67 | { name: " Dolyganj ", state_id: 1 }, 68 | { name: " Flat Island ", state_id: 1 }, 69 | { name: " Geinyale ", state_id: 1 }, 70 | { name: " Great Coco Island ", state_id: 1 }, 71 | { name: " Haddo ", state_id: 1 }, 72 | { name: " Havelock Island ", state_id: 1 }, 73 | { name: " Henry Lawrence Island ", state_id: 1 }, 74 | { name: " Herbertabad ", state_id: 1 }, 75 | { name: " Hobdaypur ", state_id: 1 }, 76 | { name: " Ilichar ", state_id: 1 }, 77 | { name: " Ingoie ", state_id: 1 }, 78 | { name: " Inteview Island ", state_id: 1 }, 79 | { name: " Jangli Ghat ", state_id: 1 }, 80 | { name: " Jhon Lawrence Island ", state_id: 1 }, 81 | { name: " Karen ", state_id: 1 }, 82 | { name: " Kartara ", state_id: 1 }, 83 | { name: " KYD Islannd ", state_id: 1 }, 84 | { name: " Landfall Island ", state_id: 1 }, 85 | { name: " Little Andmand ", state_id: 1 }, 86 | { name: " Little Coco Island ", state_id: 1 }, 87 | { name: " Long Island ", state_id: 1 }, 88 | { name: " Maimyo ", state_id: 1 }, 89 | { name: " Malappuram ", state_id: 1 }, 90 | { name: " Manglutan ", state_id: 1 }, 91 | { name: " Manpur ", state_id: 1 }, 92 | { name: " Mitha Khari ", state_id: 1 }, 93 | { name: " Neill Island ", state_id: 1 }, 94 | { name: " Nicobar Island ", state_id: 1 }, 95 | { name: " North Brother Island ", state_id: 1 }, 96 | { name: " North Passage Island ", state_id: 1 }, 97 | { name: " North Sentinel Island ", state_id: 1 }, 98 | { name: " Nothen Reef Island ", state_id: 1 }, 99 | { name: " Outram Island ", state_id: 1 }, 100 | { name: " Pahlagaon ", state_id: 1 }, 101 | { name: " Palalankwe ", state_id: 1 }, 102 | { name: " Passage Island ", state_id: 1 }, 103 | { name: " Phaiapong ", state_id: 1 }, 104 | { name: " Phoenix Island ", state_id: 1 }, 105 | { name: " Port Blair ", state_id: 1 }, 106 | { name: " Preparis Island ", state_id: 1 }, 107 | { name: " Protheroepur ", state_id: 1 }, 108 | { name: " Rangachang ", state_id: 1 }, 109 | { name: " Rongat ", state_id: 1 }, 110 | { name: " Rutland Island ", state_id: 1 }, 111 | { name: " Sabari ", state_id: 1 }, 112 | { name: " Saddle Peak ", state_id: 1 }, 113 | { name: " Shadipur ", state_id: 1 }, 114 | { name: " Smith Island ", state_id: 1 }, 115 | { name: " Sound Island ", state_id: 1 }, 116 | { name: " South Sentinel Island ", state_id: 1 }, 117 | { name: " Spike Island ", state_id: 1 }, 118 | { name: " Tarmugli Island ", state_id: 1 }, 119 | { name: " Taylerabad ", state_id: 1 }, 120 | { name: " Titaije ", state_id: 1 }, 121 | { name: " Toibalawe ", state_id: 1 }, 122 | { name: " Tusonabad ", state_id: 1 }, 123 | { name: " West Island ", state_id: 1 }, 124 | { name: " Wimberleyganj ", state_id: 1 }, 125 | { name: " Yadita ", state_id: 1 }, 126 | 127 | //Andhra Pradesh 128 | 129 | { name: " Achampet ", state_id: 2 }, 130 | { name: " Adilabad ", state_id: 2 }, 131 | { name: " Adoni ", state_id: 2 }, 132 | { name: " Alampur ", state_id: 2 }, 133 | { name: " Allagadda ", state_id: 2 }, 134 | { name: " Alur ", state_id: 2 }, 135 | { name: " Amalapuram ", state_id: 2 }, 136 | { name: " Amangallu ", state_id: 2 }, 137 | { name: " Anakapalle ", state_id: 2 }, 138 | { name: " Anantapur ", state_id: 2 }, 139 | { name: " Andole ", state_id: 2 }, 140 | { name: " Araku ", state_id: 2 }, 141 | { name: " Armoor ", state_id: 2 }, 142 | { name: " Asifabad ", state_id: 2 }, 143 | { name: " Aswaraopet ", state_id: 2 }, 144 | { name: " Atmakur ", state_id: 2 }, 145 | { name: " B. Kothakota ", state_id: 2 }, 146 | { name: " Badvel ", state_id: 2 }, 147 | { name: " Banaganapalle ", state_id: 2 }, 148 | { name: " Bandar ", state_id: 2 }, 149 | { name: " Bangarupalem ", state_id: 2 }, 150 | { name: " Banswada ", state_id: 2 }, 151 | { name: " Bapatla ", state_id: 2 }, 152 | { name: " Bellampalli ", state_id: 2 }, 153 | { name: " Bhadrachalam ", state_id: 2 }, 154 | { name: " Bhainsa ", state_id: 2 }, 155 | { name: " Bheemunipatnam ", state_id: 2 }, 156 | { name: " Bhimadole ", state_id: 2 }, 157 | { name: " Bhimavaram ", state_id: 2 }, 158 | { name: " Bhongir ", state_id: 2 }, 159 | { name: " Bhooragamphad ", state_id: 2 }, 160 | { name: " Boath ", state_id: 2 }, 161 | { name: " Bobbili ", state_id: 2 }, 162 | { name: " Bodhan ", state_id: 2 }, 163 | { name: " Chandoor ", state_id: 2 }, 164 | { name: " Chavitidibbalu ", state_id: 2 }, 165 | { name: " Chejerla ", state_id: 2 }, 166 | { name: " Chepurupalli ", state_id: 2 }, 167 | { name: " Cherial ", state_id: 2 }, 168 | { name: " Chevella ", state_id: 2 }, 169 | { name: " Chinnor ", state_id: 2 }, 170 | { name: " Chintalapudi ", state_id: 2 }, 171 | { name: " Chintapalle ", state_id: 2 }, 172 | { name: " Chirala ", state_id: 2 }, 173 | { name: " Chittoor ", state_id: 2 }, 174 | { name: " Chodavaram ", state_id: 2 }, 175 | { name: " Cuddapah ", state_id: 2 }, 176 | { name: " Cumbum ", state_id: 2 }, 177 | { name: " Darsi ", state_id: 2 }, 178 | { name: " Devarakonda ", state_id: 2 }, 179 | { name: " Dharmavaram ", state_id: 2 }, 180 | { name: " Dichpalli ", state_id: 2 }, 181 | { name: " Divi ", state_id: 2 }, 182 | { name: " Donakonda ", state_id: 2 }, 183 | { name: " Dronachalam ", state_id: 2 }, 184 | { name: " East Godavari ", state_id: 2 }, 185 | { name: " Eluru ", state_id: 2 }, 186 | { name: " Eturnagaram ", state_id: 2 }, 187 | { name: " Gadwal ", state_id: 2 }, 188 | { name: " Gajapathinagaram ", state_id: 2 }, 189 | { name: " Gajwel ", state_id: 2 }, 190 | { name: " Garladinne ", state_id: 2 }, 191 | { name: " Giddalur ", state_id: 2 }, 192 | { name: " Godavari ", state_id: 2 }, 193 | { name: " Gooty ", state_id: 2 }, 194 | { name: " Gudivada ", state_id: 2 }, 195 | { name: " Gudur ", state_id: 2 }, 196 | { name: " Guntur ", state_id: 2 }, 197 | { name: " Hindupur ", state_id: 2 }, 198 | { name: " Hunsabad ", state_id: 2 }, 199 | { name: " Huzurabad ", state_id: 2 }, 200 | { name: " Huzurnagar ", state_id: 2 }, 201 | { name: " Hyderabad ", state_id: 2 }, 202 | { name: " Ibrahimpatnam ", state_id: 2 }, 203 | { name: " Jaggayyapet ", state_id: 2 }, 204 | { name: " Jagtial ", state_id: 2 }, 205 | { name: " Jammalamadugu ", state_id: 2 }, 206 | { name: " Jangaon ", state_id: 2 }, 207 | { name: " Jangareddygudem ", state_id: 2 }, 208 | { name: " Jannaram ", state_id: 2 }, 209 | { name: " Kadiri ", state_id: 2 }, 210 | { name: " Kaikaluru ", state_id: 2 }, 211 | { name: " Kakinada ", state_id: 2 }, 212 | { name: " Kalwakurthy ", state_id: 2 }, 213 | { name: " Kalyandurg ", state_id: 2 }, 214 | { name: " Kamalapuram ", state_id: 2 }, 215 | { name: " Kamareddy ", state_id: 2 }, 216 | { name: " Kambadur ", state_id: 2 }, 217 | { name: " Kanaganapalle ", state_id: 2 }, 218 | { name: " Kandukuru ", state_id: 2 }, 219 | { name: " Kanigiri ", state_id: 2 }, 220 | { name: " Karimnagar ", state_id: 2 }, 221 | { name: " Kavali ", state_id: 2 }, 222 | { name: " Khammam ", state_id: 2 }, 223 | { name: " Khanapur (AP) ", state_id: 2 }, 224 | { name: " Kodangal ", state_id: 2 }, 225 | { name: " Koduru ", state_id: 2 }, 226 | { name: " Koilkuntla ", state_id: 2 }, 227 | { name: " Kollapur ", state_id: 2 }, 228 | { name: " Kothagudem ", state_id: 2 }, 229 | { name: " Kovvur ", state_id: 2 }, 230 | { name: " Krishna ", state_id: 2 }, 231 | { name: " Krosuru ", state_id: 2 }, 232 | { name: " Kuppam ", state_id: 2 }, 233 | { name: " Kurnool ", state_id: 2 }, 234 | { name: " Lakkireddipalli ", state_id: 2 }, 235 | { name: " Madakasira ", state_id: 2 }, 236 | { name: " Madanapalli ", state_id: 2 }, 237 | { name: " Madhira ", state_id: 2 }, 238 | { name: " Madnur ", state_id: 2 }, 239 | { name: " Mahabubabad ", state_id: 2 }, 240 | { name: " Mahabubnagar ", state_id: 2 }, 241 | { name: " Mahadevapur ", state_id: 2 }, 242 | { name: " Makthal ", state_id: 2 }, 243 | { name: " Mancherial ", state_id: 2 }, 244 | { name: " Mandapeta ", state_id: 2 }, 245 | { name: " Mangalagiri ", state_id: 2 }, 246 | { name: " Manthani ", state_id: 2 }, 247 | { name: " Markapur ", state_id: 2 }, 248 | { name: " Marturu ", state_id: 2 }, 249 | { name: " Medachal ", state_id: 2 }, 250 | { name: " Medak ", state_id: 2 }, 251 | { name: " Medarmetla ", state_id: 2 }, 252 | { name: " Metpalli ", state_id: 2 }, 253 | { name: " Mriyalguda ", state_id: 2 }, 254 | { name: " Mulug ", state_id: 2 }, 255 | { name: " Mylavaram ", state_id: 2 }, 256 | { name: " Nagarkurnool ", state_id: 2 }, 257 | { name: " Nalgonda ", state_id: 2 }, 258 | { name: " Nallacheruvu ", state_id: 2 }, 259 | { name: " Nampalle ", state_id: 2 }, 260 | { name: " Nandigama ", state_id: 2 }, 261 | { name: " Nandikotkur ", state_id: 2 }, 262 | { name: " Nandyal ", state_id: 2 }, 263 | { name: " Narasampet ", state_id: 2 }, 264 | { name: " Narasaraopet ", state_id: 2 }, 265 | { name: " Narayanakhed ", state_id: 2 }, 266 | { name: " Narayanpet ", state_id: 2 }, 267 | { name: " Narsapur ", state_id: 2 }, 268 | { name: " Narsipatnam ", state_id: 2 }, 269 | { name: " Nazvidu ", state_id: 2 }, 270 | { name: " Nelloe ", state_id: 2 }, 271 | { name: " Nellore ", state_id: 2 }, 272 | { name: " Nidamanur ", state_id: 2 }, 273 | { name: " Nirmal ", state_id: 2 }, 274 | { name: " Nizamabad ", state_id: 2 }, 275 | { name: " Nuguru ", state_id: 2 }, 276 | { name: " Ongole ", state_id: 2 }, 277 | { name: " Outsarangapalle ", state_id: 2 }, 278 | { name: " Paderu ", state_id: 2 }, 279 | { name: " Pakala ", state_id: 2 }, 280 | { name: " Palakonda ", state_id: 2 }, 281 | { name: " Paland ", state_id: 2 }, 282 | { name: " Palmaneru ", state_id: 2 }, 283 | { name: " Pamuru ", state_id: 2 }, 284 | { name: " Pargi ", state_id: 2 }, 285 | { name: " Parkal ", state_id: 2 }, 286 | { name: " Parvathipuram ", state_id: 2 }, 287 | { name: " Pathapatnam ", state_id: 2 }, 288 | { name: " Pattikonda ", state_id: 2 }, 289 | { name: " Peapalle ", state_id: 2 }, 290 | { name: " Peddapalli ", state_id: 2 }, 291 | { name: " Peddapuram ", state_id: 2 }, 292 | { name: " Penukonda ", state_id: 2 }, 293 | { name: " Piduguralla ", state_id: 2 }, 294 | { name: " Piler ", state_id: 2 }, 295 | { name: " Pithapuram ", state_id: 2 }, 296 | { name: " Podili ", state_id: 2 }, 297 | { name: " Polavaram ", state_id: 2 }, 298 | { name: " Prakasam ", state_id: 2 }, 299 | { name: " Proddatur ", state_id: 2 }, 300 | { name: " Pulivendla ", state_id: 2 }, 301 | { name: " Punganur ", state_id: 2 }, 302 | { name: " Putturu ", state_id: 2 }, 303 | { name: " Rajahmundri ", state_id: 2 }, 304 | { name: " Rajampeta ", state_id: 2 }, 305 | { name: " Ramachandrapuram ", state_id: 2 }, 306 | { name: " Ramannapet ", state_id: 2 }, 307 | { name: " Rampachodavaram ", state_id: 2 }, 308 | { name: " Rangareddy ", state_id: 2 }, 309 | { name: " Rapur ", state_id: 2 }, 310 | { name: " Rayachoti ", state_id: 2 }, 311 | { name: " Rayadurg ", state_id: 2 }, 312 | { name: " Razole ", state_id: 2 }, 313 | { name: " Repalle ", state_id: 2 }, 314 | { name: " Saluru ", state_id: 2 }, 315 | { name: " Sangareddy ", state_id: 2 }, 316 | { name: " Sathupalli ", state_id: 2 }, 317 | { name: " Sattenapalle ", state_id: 2 }, 318 | { name: " Satyavedu ", state_id: 2 }, 319 | { name: " Shadnagar ", state_id: 2 }, 320 | { name: " Siddavattam ", state_id: 2 }, 321 | { name: " Siddipet ", state_id: 2 }, 322 | { name: " Sileru ", state_id: 2 }, 323 | { name: " Sircilla ", state_id: 2 }, 324 | { name: " Sirpur Kagaznagar ", state_id: 2 }, 325 | { name: " Sodam ", state_id: 2 }, 326 | { name: " Sompeta ", state_id: 2 }, 327 | { name: " Srikakulam ", state_id: 2 }, 328 | { name: " Srikalahasthi ", state_id: 2 }, 329 | { name: " Srisailam ", state_id: 2 }, 330 | { name: " Srungavarapukota ", state_id: 2 }, 331 | { name: " Sudhimalla ", state_id: 2 }, 332 | { name: " Sullarpet ", state_id: 2 }, 333 | { name: " Tadepalligudem ", state_id: 2 }, 334 | { name: " Tadipatri ", state_id: 2 }, 335 | { name: " Tanduru ", state_id: 2 }, 336 | { name: " Tanuku ", state_id: 2 }, 337 | { name: " Tekkali ", state_id: 2 }, 338 | { name: " Tenali ", state_id: 2 }, 339 | { name: " Thungaturthy ", state_id: 2 }, 340 | { name: " Tirivuru ", state_id: 2 }, 341 | { name: " Tirupathi ", state_id: 2 }, 342 | { name: " Tuni ", state_id: 2 }, 343 | { name: " Udaygiri ", state_id: 2 }, 344 | { name: " Ulvapadu ", state_id: 2 }, 345 | { name: " Uravakonda ", state_id: 2 }, 346 | { name: " Utnor ", state_id: 2 }, 347 | { name: " V.R. Puram ", state_id: 2 }, 348 | { name: " Vaimpalli ", state_id: 2 }, 349 | { name: " Vayalpad ", state_id: 2 }, 350 | { name: " Venkatgiri ", state_id: 2 }, 351 | { name: " Venkatgirikota ", state_id: 2 }, 352 | { name: " Vijayawada ", state_id: 2 }, 353 | { name: " Vikrabad ", state_id: 2 }, 354 | { name: " Vinjamuru ", state_id: 2 }, 355 | { name: " Vinukonda ", state_id: 2 }, 356 | { name: " Visakhapatnam ", state_id: 2 }, 357 | { name: " Vizayanagaram ", state_id: 2 }, 358 | { name: " Vizianagaram ", state_id: 2 }, 359 | { name: " Vuyyuru ", state_id: 2 }, 360 | { name: " Wanaparthy ", state_id: 2 }, 361 | { name: " Warangal ", state_id: 2 }, 362 | { name: " Wardhannapet ", state_id: 2 }, 363 | { name: " Yelamanchili ", state_id: 2 }, 364 | { name: " Yelavaram ", state_id: 2 }, 365 | { name: " Yeleswaram ", state_id: 2 }, 366 | { name: " Yellandu ", state_id: 2 }, 367 | { name: " Yellanuru ", state_id: 2 }, 368 | { name: " Yellareddy ", state_id: 2 }, 369 | { name: " Yerragondapalem ", state_id: 2 }, 370 | { name: " Zahirabad ", state_id: 2 }, 371 | 372 | //Arunachal Pradesh 373 | 374 | { name: " Along ", state_id: 3 }, 375 | { name: " Anini ", state_id: 3 }, 376 | { name: " Anjaw ", state_id: 3 }, 377 | { name: " Bameng ", state_id: 3 }, 378 | { name: " Basar ", state_id: 3 }, 379 | { name: " Changlang ", state_id: 3 }, 380 | { name: " Chowkhem ", state_id: 3 }, 381 | { name: " Daporizo ", state_id: 3 }, 382 | { name: " Dibang Valley ", state_id: 3 }, 383 | { name: " Dirang ", state_id: 3 }, 384 | { name: " Hayuliang ", state_id: 3 }, 385 | { name: " Huri ", state_id: 3 }, 386 | { name: " Itanagar ", state_id: 3 }, 387 | { name: " Jairampur ", state_id: 3 }, 388 | { name: " Kalaktung ", state_id: 3 }, 389 | { name: " Kameng ", state_id: 3 }, 390 | { name: " Khonsa ", state_id: 3 }, 391 | { name: " Kolaring ", state_id: 3 }, 392 | { name: " Kurung Kumey ", state_id: 3 }, 393 | { name: " Lohit ", state_id: 3 }, 394 | { name: " Lower Dibang Valley ", state_id: 3 }, 395 | { name: " Lower Subansiri ", state_id: 3 }, 396 | { name: " Mariyang ", state_id: 3 }, 397 | { name: " Mechuka ", state_id: 3 }, 398 | { name: " Miao ", state_id: 3 }, 399 | { name: " Nefra ", state_id: 3 }, 400 | { name: " Pakkekesang ", state_id: 3 }, 401 | { name: " Pangin ", state_id: 3 }, 402 | { name: " Papum Pare ", state_id: 3 }, 403 | { name: " Passighat ", state_id: 3 }, 404 | { name: " Roing ", state_id: 3 }, 405 | { name: " Sagalee ", state_id: 3 }, 406 | { name: " Seppa ", state_id: 3 }, 407 | { name: " Siang ", state_id: 3 }, 408 | { name: " Tali ", state_id: 3 }, 409 | { name: " Taliha ", state_id: 3 }, 410 | { name: " Tawang ", state_id: 3 }, 411 | { name: " Tezu ", state_id: 3 }, 412 | { name: " Tirap ", state_id: 3 }, 413 | { name: " Tuting ", state_id: 3 }, 414 | { name: " Upper Siang ", state_id: 3 }, 415 | { name: " Upper Subansiri ", state_id: 3 }, 416 | { name: " Yiang Kiag ", state_id: 3 }, 417 | { name: "", state_id: 3 }, 418 | 419 | //Assam 420 | 421 | { name: " Abhayapuri ", state_id: 4 }, 422 | { name: " Baithalangshu ", state_id: 4 }, 423 | { name: " Barama ", state_id: 4 }, 424 | { name: " Barpeta Road ", state_id: 4 }, 425 | { name: " Bihupuria ", state_id: 4 }, 426 | { name: " Bijni ", state_id: 4 }, 427 | { name: " Bilasipara ", state_id: 4 }, 428 | { name: " Bokajan ", state_id: 4 }, 429 | { name: " Bokakhat ", state_id: 4 }, 430 | { name: " Boko ", state_id: 4 }, 431 | { name: " Bongaigaon ", state_id: 4 }, 432 | { name: " Cachar ", state_id: 4 }, 433 | { name: " Cachar Hills ", state_id: 4 }, 434 | { name: " Darrang ", state_id: 4 }, 435 | { name: " Dhakuakhana ", state_id: 4 }, 436 | { name: " Dhemaji ", state_id: 4 }, 437 | { name: " Dhubri ", state_id: 4 }, 438 | { name: " Dibrugarh ", state_id: 4 }, 439 | { name: " Digboi ", state_id: 4 }, 440 | { name: " Diphu ", state_id: 4 }, 441 | { name: " Goalpara ", state_id: 4 }, 442 | { name: " Gohpur ", state_id: 4 }, 443 | { name: " Golaghat ", state_id: 4 }, 444 | { name: " Guwahati ", state_id: 4 }, 445 | { name: " Hailakandi ", state_id: 4 }, 446 | { name: " Hajo ", state_id: 4 }, 447 | { name: " Halflong ", state_id: 4 }, 448 | { name: " Hojai ", state_id: 4 }, 449 | { name: " Howraghat ", state_id: 4 }, 450 | { name: " Jorhat ", state_id: 4 }, 451 | { name: " Kamrup ", state_id: 4 }, 452 | { name: " Karbi Anglong ", state_id: 4 }, 453 | { name: " Karimganj ", state_id: 4 }, 454 | { name: " Kokarajhar ", state_id: 4 }, 455 | { name: " Kokrajhar ", state_id: 4 }, 456 | { name: " Lakhimpur ", state_id: 4 }, 457 | { name: " Maibong ", state_id: 4 }, 458 | { name: " Majuli ", state_id: 4 }, 459 | { name: " Mangaldoi ", state_id: 4 }, 460 | { name: " Mariani ", state_id: 4 }, 461 | { name: " Marigaon ", state_id: 4 }, 462 | { name: " Moranhat ", state_id: 4 }, 463 | { name: " Morigaon ", state_id: 4 }, 464 | { name: " Nagaon ", state_id: 4 }, 465 | { name: " Nalbari ", state_id: 4 }, 466 | { name: " Rangapara ", state_id: 4 }, 467 | { name: " Sadiya ", state_id: 4 }, 468 | { name: " Sibsagar ", state_id: 4 }, 469 | { name: " Silchar ", state_id: 4 }, 470 | { name: " Sivasagar ", state_id: 4 }, 471 | { name: " Sonitpur ", state_id: 4 }, 472 | { name: " Tarabarihat ", state_id: 4 }, 473 | { name: " Tezpur ", state_id: 4 }, 474 | { name: " Tinsukia ", state_id: 4 }, 475 | { name: " Udalgiri ", state_id: 4 }, 476 | { name: " Udalguri ", state_id: 4 }, 477 | { name: " UdarbondhBarpeta ", state_id: 4 }, 478 | 479 | //Bihar 480 | 481 | { name: " Adhaura ", state_id: 5 }, 482 | { name: " Amarpur ", state_id: 5 }, 483 | { name: " Araria ", state_id: 5 }, 484 | { name: " Areraj ", state_id: 5 }, 485 | { name: " Arrah ", state_id: 5 }, 486 | { name: " Arwal ", state_id: 5 }, 487 | { name: " Aurangabad ", state_id: 5 }, 488 | { name: " Bagaha ", state_id: 5 }, 489 | { name: " Banka ", state_id: 5 }, 490 | { name: " Banmankhi ", state_id: 5 }, 491 | { name: " Barachakia ", state_id: 5 }, 492 | { name: " Barauni ", state_id: 5 }, 493 | { name: " Barh ", state_id: 5 }, 494 | { name: " Barosi ", state_id: 5 }, 495 | { name: " Begusarai ", state_id: 5 }, 496 | { name: " Benipatti ", state_id: 5 }, 497 | { name: " Benipur ", state_id: 5 }, 498 | { name: " Bettiah ", state_id: 5 }, 499 | { name: " Bhabhua ", state_id: 5 }, 500 | { name: " Bhagalpur ", state_id: 5 }, 501 | { name: " Bhojpur ", state_id: 5 }, 502 | { name: " Bidupur ", state_id: 5 }, 503 | { name: " Biharsharif ", state_id: 5 }, 504 | { name: " Bikram ", state_id: 5 }, 505 | { name: " Bikramganj ", state_id: 5 }, 506 | { name: " Birpur ", state_id: 5 }, 507 | { name: " Buxar ", state_id: 5 }, 508 | { name: " Chakai ", state_id: 5 }, 509 | { name: " Champaran ", state_id: 5 }, 510 | { name: " Chapara ", state_id: 5 }, 511 | { name: " Dalsinghsarai ", state_id: 5 }, 512 | { name: " Danapur ", state_id: 5 }, 513 | { name: " Darbhanga ", state_id: 5 }, 514 | { name: " Daudnagar ", state_id: 5 }, 515 | { name: " Dhaka ", state_id: 5 }, 516 | { name: " Dhamdaha ", state_id: 5 }, 517 | { name: " Dumraon ", state_id: 5 }, 518 | { name: " Ekma ", state_id: 5 }, 519 | { name: " Forbesganj ", state_id: 5 }, 520 | { name: " Gaya ", state_id: 5 }, 521 | { name: " Gogri ", state_id: 5 }, 522 | { name: " Gopalganj ", state_id: 5 }, 523 | { name: " H.Kharagpur ", state_id: 5 }, 524 | { name: " Hajipur ", state_id: 5 }, 525 | { name: " Hathua ", state_id: 5 }, 526 | { name: " Hilsa ", state_id: 5 }, 527 | { name: " Imamganj ", state_id: 5 }, 528 | { name: " Jahanabad ", state_id: 5 }, 529 | { name: " Jainagar ", state_id: 5 }, 530 | { name: " Jamshedpur ", state_id: 5 }, 531 | { name: " Jamui ", state_id: 5 }, 532 | { name: " Jehanabad ", state_id: 5 }, 533 | { name: " Jhajha ", state_id: 5 }, 534 | { name: " Jhanjharpur ", state_id: 5 }, 535 | { name: " Kahalgaon ", state_id: 5 }, 536 | { name: " Kaimur (Bhabua) ", state_id: 5 }, 537 | { name: " Katihar ", state_id: 5 }, 538 | { name: " Katoria ", state_id: 5 }, 539 | { name: " Khagaria ", state_id: 5 }, 540 | { name: " Kishanganj ", state_id: 5 }, 541 | { name: " Korha ", state_id: 5 }, 542 | { name: " Lakhisarai ", state_id: 5 }, 543 | { name: " Madhepura ", state_id: 5 }, 544 | { name: " Madhubani ", state_id: 5 }, 545 | { name: " Maharajganj ", state_id: 5 }, 546 | { name: " Mahua ", state_id: 5 }, 547 | { name: " Mairwa ", state_id: 5 }, 548 | { name: " Mallehpur ", state_id: 5 }, 549 | { name: " Masrakh ", state_id: 5 }, 550 | { name: " Mohania ", state_id: 5 }, 551 | { name: " Monghyr ", state_id: 5 }, 552 | { name: " Motihari ", state_id: 5 }, 553 | { name: " Motipur ", state_id: 5 }, 554 | { name: " Munger ", state_id: 5 }, 555 | { name: " Muzaffarpur ", state_id: 5 }, 556 | { name: " Nabinagar ", state_id: 5 }, 557 | { name: " Nalanda ", state_id: 5 }, 558 | { name: " Narkatiaganj ", state_id: 5 }, 559 | { name: " Naugachia ", state_id: 5 }, 560 | { name: " Nawada ", state_id: 5 }, 561 | { name: " Pakribarwan ", state_id: 5 }, 562 | { name: " Pakridayal ", state_id: 5 }, 563 | { name: " Patna ", state_id: 5 }, 564 | { name: " Phulparas ", state_id: 5 }, 565 | { name: " Piro ", state_id: 5 }, 566 | { name: " Pupri ", state_id: 5 }, 567 | { name: " Purena ", state_id: 5 }, 568 | { name: " Purnia ", state_id: 5 }, 569 | { name: " Rafiganj ", state_id: 5 }, 570 | { name: " Rajauli ", state_id: 5 }, 571 | { name: " Ramnagar ", state_id: 5 }, 572 | { name: " Raniganj ", state_id: 5 }, 573 | { name: " Raxaul ", state_id: 5 }, 574 | { name: " Rohtas ", state_id: 5 }, 575 | { name: " Rosera ", state_id: 5 }, 576 | { name: " S.Bakhtiarpur ", state_id: 5 }, 577 | { name: " Saharsa ", state_id: 5 }, 578 | { name: " Samastipur ", state_id: 5 }, 579 | { name: " Saran ", state_id: 5 }, 580 | { name: " Sasaram ", state_id: 5 }, 581 | { name: " Seikhpura ", state_id: 5 }, 582 | { name: " Sheikhpura ", state_id: 5 }, 583 | { name: " Sheohar ", state_id: 5 }, 584 | { name: " Sherghati ", state_id: 5 }, 585 | { name: " Sidhawalia ", state_id: 5 }, 586 | { name: " Singhwara ", state_id: 5 }, 587 | { name: " Sitamarhi ", state_id: 5 }, 588 | { name: " Siwan ", state_id: 5 }, 589 | { name: " Sonepur ", state_id: 5 }, 590 | { name: " Supaul ", state_id: 5 }, 591 | { name: " Thakurganj ", state_id: 5 }, 592 | { name: " Triveniganj ", state_id: 5 }, 593 | { name: " Udakishanganj ", state_id: 5 }, 594 | { name: " Vaishali ", state_id: 5 }, 595 | { name: " Wazirganj ", state_id: 5 } 596 | ]; 597 | } 598 | 599 | setDistrictValues(sState) { 600 | this.selectedDistricts = this.districts.filter( 601 | district => district.state_id == sState.id 602 | ); 603 | } 604 | } 605 | -------------------------------------------------------------------------------- /src/service-worker.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Check out https://googlechrome.github.io/sw-toolbox/ for 3 | * more info on how to use sw-toolbox to custom configure your service worker. 4 | */ 5 | 6 | 7 | 'use strict'; 8 | importScripts('./build/sw-toolbox.js'); 9 | 10 | self.toolbox.options.cache = { 11 | name: 'ionic-cache' 12 | }; 13 | 14 | // pre-cache our key assets 15 | self.toolbox.precache( 16 | [ 17 | './build/main.js', 18 | './build/vendor.js', 19 | './build/main.css', 20 | './build/polyfills.js', 21 | 'index.html', 22 | 'manifest.json' 23 | ] 24 | ); 25 | 26 | // dynamically cache any other local assets 27 | self.toolbox.router.any('/*', self.toolbox.cacheFirst); 28 | 29 | // for any other requests go to the network, cache, 30 | // and then only use that cached resource if your user goes offline 31 | self.toolbox.router.default = self.toolbox.networkFirst; 32 | -------------------------------------------------------------------------------- /src/theme/variables.scss: -------------------------------------------------------------------------------- 1 | // Ionic Variables and Theming. For more info, please see: 2 | // http://ionicframework.com/docs/theming/ 3 | 4 | // Font path is used to include ionicons, 5 | // roboto, and noto sans fonts 6 | $font-path: "../assets/fonts"; 7 | 8 | 9 | // The app direction is used to include 10 | // rtl styles in your app. For more info, please see: 11 | // http://ionicframework.com/docs/theming/rtl-support/ 12 | $app-direction: ltr; 13 | 14 | 15 | @import "ionic.globals"; 16 | 17 | 18 | // Shared Variables 19 | // -------------------------------------------------- 20 | // To customize the look and feel of this app, you can override 21 | // the Sass variables found in Ionic's source scss files. 22 | // To view all the possible Ionic variables, see: 23 | // http://ionicframework.com/docs/theming/overriding-ionic-variables/ 24 | 25 | 26 | 27 | 28 | // Named Color Variables 29 | // -------------------------------------------------- 30 | // Named colors makes it easy to reuse colors on various components. 31 | // It's highly recommended to change the default colors 32 | // to match your app's branding. Ionic uses a Sass map of 33 | // colors so you can add, rename and remove colors as needed. 34 | // The "primary" color is the only required color in the map. 35 | 36 | $colors: ( 37 | primary: #488aff, 38 | secondary: #32db64, 39 | danger: #f53d3d, 40 | light: #f4f4f4, 41 | dark: #222 42 | ); 43 | 44 | 45 | // App iOS Variables 46 | // -------------------------------------------------- 47 | // iOS only Sass variables can go here 48 | 49 | 50 | 51 | 52 | // App Material Design Variables 53 | // -------------------------------------------------- 54 | // Material Design only Sass variables can go here 55 | 56 | 57 | 58 | 59 | // App Windows Variables 60 | // -------------------------------------------------- 61 | // Windows only Sass variables can go here 62 | 63 | 64 | 65 | 66 | // App Theme 67 | // -------------------------------------------------- 68 | // Ionic apps can have different themes applied, which can 69 | // then be future customized. This import comes last 70 | // so that the above variables are used and Ionic's 71 | // default are overridden. 72 | 73 | @import "ionic.theme.default"; 74 | 75 | 76 | // Ionicons 77 | // -------------------------------------------------- 78 | // The premium icon font for Ionic. For more info, please see: 79 | // http://ionicframework.com/docs/ionicons/ 80 | 81 | @import "ionic.ionicons"; 82 | 83 | 84 | // Fonts 85 | // -------------------------------------------------- 86 | 87 | @import "roboto"; 88 | @import "noto-sans"; 89 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "allowSyntheticDefaultImports": true, 4 | "declaration": false, 5 | "emitDecoratorMetadata": true, 6 | "experimentalDecorators": true, 7 | "lib": [ 8 | "dom", 9 | "es2015" 10 | ], 11 | "module": "es2015", 12 | "moduleResolution": "node", 13 | "sourceMap": true, 14 | "target": "es5" 15 | }, 16 | "include": [ 17 | "src/**/*.ts" 18 | ], 19 | "exclude": [ 20 | "node_modules" 21 | ], 22 | "compileOnSave": false, 23 | "atom": { 24 | "rewriteTsconfig": false 25 | } 26 | } -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "rules": { 3 | "no-duplicate-variable": true, 4 | "no-unused-variable": [ 5 | true 6 | ] 7 | }, 8 | "rulesDirectory": [ 9 | "node_modules/tslint-eslint-rules/dist/rules" 10 | ] 11 | } 12 | --------------------------------------------------------------------------------