├── src ├── app │ ├── app.component.scss │ ├── device │ │ ├── device.page.scss │ │ ├── device.page.html │ │ ├── device.page.ts │ │ ├── device-routing.module.ts │ │ ├── device.module.ts │ │ └── device.page.spec.ts │ ├── app.component.html │ ├── start │ │ ├── reloj1.service.spec.ts │ │ ├── start-routing.module.ts │ │ ├── start.module.ts │ │ ├── start.page.spec.ts │ │ ├── start.page.html │ │ ├── reloj1.service.ts │ │ ├── start.page.ts │ │ └── start.page.scss │ ├── servicio │ │ ├── cliente.service.spec.ts │ │ └── cliente.service.ts │ ├── home │ │ ├── home.page.ts │ │ ├── home.module.ts │ │ ├── home.page.scss │ │ ├── home.page.spec.ts │ │ └── home.page.html │ ├── help │ │ ├── help-routing.module.ts │ │ ├── help.page.ts │ │ ├── help.module.ts │ │ ├── help.page.spec.ts │ │ ├── help.page.scss │ │ └── help.page.html │ ├── info │ │ ├── info-routing.module.ts │ │ ├── info.page.ts │ │ ├── info.module.ts │ │ ├── info.page.scss │ │ ├── info.page.spec.ts │ │ └── info.page.html │ ├── monitor │ │ ├── monitor-routing.module.ts │ │ ├── monitor.page.scss │ │ ├── monitor.module.ts │ │ ├── monitor.page.spec.ts │ │ ├── monitor.page.html │ │ └── monitor.page.ts │ ├── app.component.ts │ ├── app.module.ts │ ├── app-routing.module.ts │ └── app.component.spec.ts ├── assets │ ├── icon.png │ ├── go-02.png │ ├── humedad.jpg │ ├── ongrass.png │ ├── riego.png │ ├── facil-02.png │ ├── ongrass2.png │ ├── icon │ │ └── favicon.png │ ├── profile │ │ ├── efra.jpg │ │ ├── esme.png │ │ ├── lety.png │ │ ├── mao.jpg │ │ ├── brenda.png │ │ ├── hubles.png │ │ ├── itzel.png │ │ ├── maria.png │ │ ├── mirsa.png │ │ └── perla.png │ ├── fa102cc9-ef4f-47d5-859a-103a9f8e28b7.jpg │ └── shapes.svg ├── environments │ ├── environment.prod.ts │ ├── firebaseconfig.ts │ └── environment.ts ├── zone-flags.ts ├── main.ts ├── test.ts ├── index.html ├── global.scss ├── polyfills.ts └── theme │ └── variables.scss ├── api ├── api.rar ├── .htaccess ├── hola.html ├── header.php ├── bomba.php ├── app.php └── iot.sql ├── resources ├── icon.png ├── splash.png ├── ios │ ├── icon │ │ ├── icon.png │ │ ├── icon-1024.png │ │ ├── icon-20.png │ │ ├── icon-29.png │ │ ├── icon-40.png │ │ ├── icon-50.png │ │ ├── icon-60.png │ │ ├── icon-72.png │ │ ├── icon-76.png │ │ ├── icon@2x.png │ │ ├── icon-108@2x.png │ │ ├── icon-20@2x.png │ │ ├── icon-20@3x.png │ │ ├── icon-24@2x.png │ │ ├── icon-29@2x.png │ │ ├── icon-29@3x.png │ │ ├── icon-40@2x.png │ │ ├── icon-40@3x.png │ │ ├── icon-44@2x.png │ │ ├── icon-50@2x.png │ │ ├── icon-60@2x.png │ │ ├── icon-60@3x.png │ │ ├── icon-72@2x.png │ │ ├── icon-76@2x.png │ │ ├── icon-86@2x.png │ │ ├── icon-98@2x.png │ │ ├── icon-small.png │ │ ├── icon-27.5@2x.png │ │ ├── icon-83.5@2x.png │ │ ├── icon-small@2x.png │ │ └── icon-small@3x.png │ └── splash │ │ ├── Default-667h.png │ │ ├── Default-736h.png │ │ ├── Default-2436h.png │ │ ├── Default~iphone.png │ │ ├── Default@2x~iphone.png │ │ ├── Default-1792h~iphone.png │ │ ├── Default-2688h~iphone.png │ │ ├── Default-568h@2x~iphone.png │ │ ├── Default-Landscape-736h.png │ │ ├── Default-Landscape~ipad.png │ │ ├── Default-Portrait~ipad.png │ │ ├── Default-Landscape-2436h.png │ │ ├── Default-Portrait@2x~ipad.png │ │ ├── Default-Landscape@2x~ipad.png │ │ ├── Default-Landscape@~ipadpro.png │ │ ├── Default-Portrait@~ipadpro.png │ │ ├── Default@2x~universal~anyany.png │ │ ├── Default-Landscape-1792h~iphone.png │ │ └── Default-Landscape-2688h~iphone.png ├── 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-port-hdpi-screen.png │ │ ├── drawable-port-ldpi-screen.png │ │ ├── drawable-port-mdpi-screen.png │ │ ├── drawable-land-xhdpi-screen.png │ │ ├── drawable-land-xxhdpi-screen.png │ │ ├── drawable-land-xxxhdpi-screen.png │ │ ├── drawable-port-xhdpi-screen.png │ │ ├── drawable-port-xxhdpi-screen.png │ │ └── drawable-port-xxxhdpi-screen.png │ └── xml │ │ └── network_security_config.xml └── README.md ├── ionic.config.json ├── typings └── cordova-typings.d.ts ├── e2e ├── src │ ├── app.po.ts │ └── app.e2e-spec.ts ├── tsconfig.json └── protractor.conf.js ├── tsconfig.app.json ├── tsconfig.spec.json ├── README.md ├── browserslist ├── .gitignore ├── tsconfig.json ├── karma.conf.js ├── tslint.json ├── package.json ├── angular.json └── config.xml /src/app/app.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/device/device.page.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/api.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/api/api.rar -------------------------------------------------------------------------------- /resources/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/icon.png -------------------------------------------------------------------------------- /src/assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/src/assets/icon.png -------------------------------------------------------------------------------- /resources/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/splash.png -------------------------------------------------------------------------------- /src/assets/go-02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/src/assets/go-02.png -------------------------------------------------------------------------------- /src/assets/humedad.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/src/assets/humedad.jpg -------------------------------------------------------------------------------- /src/assets/ongrass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/src/assets/ongrass.png -------------------------------------------------------------------------------- /src/assets/riego.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/src/assets/riego.png -------------------------------------------------------------------------------- /src/assets/facil-02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/src/assets/facil-02.png -------------------------------------------------------------------------------- /src/assets/ongrass2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/src/assets/ongrass2.png -------------------------------------------------------------------------------- /src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /resources/ios/icon/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon.png -------------------------------------------------------------------------------- /src/app/app.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/assets/icon/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/src/assets/icon/favicon.png -------------------------------------------------------------------------------- /src/assets/profile/efra.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/src/assets/profile/efra.jpg -------------------------------------------------------------------------------- /src/assets/profile/esme.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/src/assets/profile/esme.png -------------------------------------------------------------------------------- /src/assets/profile/lety.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/src/assets/profile/lety.png -------------------------------------------------------------------------------- /src/assets/profile/mao.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/src/assets/profile/mao.jpg -------------------------------------------------------------------------------- /src/assets/profile/brenda.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/src/assets/profile/brenda.png -------------------------------------------------------------------------------- /src/assets/profile/hubles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/src/assets/profile/hubles.png -------------------------------------------------------------------------------- /src/assets/profile/itzel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/src/assets/profile/itzel.png -------------------------------------------------------------------------------- /src/assets/profile/maria.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/src/assets/profile/maria.png -------------------------------------------------------------------------------- /src/assets/profile/mirsa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/src/assets/profile/mirsa.png -------------------------------------------------------------------------------- /src/assets/profile/perla.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/src/assets/profile/perla.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-1024.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-20.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-29.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-29.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-40.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-50.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-60.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-72.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-76.png -------------------------------------------------------------------------------- /resources/ios/icon/icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-108@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-108@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-20@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-20@3x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-24@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-24@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-29@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-29@3x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-40@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-40@3x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-44@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-44@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-50@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-50@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-60@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-60@3x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-72@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-72@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-76@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-86@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-86@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-98@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-98@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-small.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-27.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-27.5@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-83.5@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-small@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-small@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-small@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/icon/icon-small@3x.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-667h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/splash/Default-667h.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/splash/Default-736h.png -------------------------------------------------------------------------------- /ionic.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ongrass", 3 | "integrations": { 4 | "cordova": {} 5 | }, 6 | "type": "angular" 7 | } 8 | -------------------------------------------------------------------------------- /resources/ios/splash/Default-2436h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/splash/Default-2436h.png -------------------------------------------------------------------------------- /resources/ios/splash/Default~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/splash/Default~iphone.png -------------------------------------------------------------------------------- /resources/ios/splash/Default@2x~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/splash/Default@2x~iphone.png -------------------------------------------------------------------------------- /api/.htaccess: -------------------------------------------------------------------------------- 1 | RewriteEngine on 2 | RewriteRule ^api/productos/?$ api/app.php 3 | RewriteRule ^api/productos/([0-9]+)?$ api/app.php?id=$1 4 | -------------------------------------------------------------------------------- /resources/android/icon/drawable-hdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/android/icon/drawable-hdpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-ldpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/android/icon/drawable-ldpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-mdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/android/icon/drawable-mdpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-xhdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/android/icon/drawable-xhdpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-xxhdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/android/icon/drawable-xxhdpi-icon.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-1792h~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/splash/Default-1792h~iphone.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-2688h~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/splash/Default-2688h~iphone.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-568h@2x~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/splash/Default-568h@2x~iphone.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Landscape-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/splash/Default-Landscape-736h.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Landscape~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/splash/Default-Landscape~ipad.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Portrait~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/splash/Default-Portrait~ipad.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-xxxhdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/android/icon/drawable-xxxhdpi-icon.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Landscape-2436h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/splash/Default-Landscape-2436h.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Portrait@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/splash/Default-Portrait@2x~ipad.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Landscape@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/splash/Default-Landscape@2x~ipad.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Landscape@~ipadpro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/splash/Default-Landscape@~ipadpro.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Portrait@~ipadpro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/splash/Default-Portrait@~ipadpro.png -------------------------------------------------------------------------------- /resources/ios/splash/Default@2x~universal~anyany.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/splash/Default@2x~universal~anyany.png -------------------------------------------------------------------------------- /src/assets/fa102cc9-ef4f-47d5-859a-103a9f8e28b7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/src/assets/fa102cc9-ef4f-47d5-859a-103a9f8e28b7.jpg -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-hdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/android/splash/drawable-land-hdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-ldpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/android/splash/drawable-land-ldpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-mdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/android/splash/drawable-land-mdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-hdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/android/splash/drawable-port-hdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-ldpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/android/splash/drawable-port-ldpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-mdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/android/splash/drawable-port-mdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-xhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/android/splash/drawable-land-xhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-xxhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/android/splash/drawable-land-xxhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-xxxhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/android/splash/drawable-land-xxxhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-xhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/android/splash/drawable-port-xhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-xxhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/android/splash/drawable-port-xxhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-xxxhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/android/splash/drawable-port-xxxhdpi-screen.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Landscape-1792h~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/splash/Default-Landscape-1792h~iphone.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Landscape-2688h~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m4st3rmiau/ongrass/HEAD/resources/ios/splash/Default-Landscape-2688h~iphone.png -------------------------------------------------------------------------------- /typings/cordova-typings.d.ts: -------------------------------------------------------------------------------- 1 | 2 | /// 3 | /// -------------------------------------------------------------------------------- /src/zone-flags.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Prevents Angular change detection from 3 | * running with certain Web Component callbacks 4 | */ 5 | (window as any).__Zone_disable_customElements = true; 6 | -------------------------------------------------------------------------------- /src/app/device/device.page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | device 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /api/hola.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Document 7 | 8 | 9 |

Hola

10 | 11 | -------------------------------------------------------------------------------- /e2e/src/app.po.ts: -------------------------------------------------------------------------------- 1 | import { browser, by, element } from 'protractor'; 2 | 3 | export class AppPage { 4 | navigateTo() { 5 | return browser.get('/'); 6 | } 7 | 8 | getParagraphText() { 9 | return element(by.deepCss('app-root ion-content')).getText(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /e2e/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../out-tsc/app", 5 | "module": "commonjs", 6 | "target": "es5", 7 | "types": [ 8 | "jasmine", 9 | "jasminewd2", 10 | "node" 11 | ] 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /tsconfig.app.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./out-tsc/app", 5 | "types": [] 6 | }, 7 | "include": [ 8 | "src/**/*.ts" 9 | ], 10 | "exclude": [ 11 | "src/test.ts", 12 | "src/**/*.spec.ts" 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /api/header.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/android/xml/network_security_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | localhost 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/app/device/device.page.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-device', 5 | templateUrl: './device.page.html', 6 | styleUrls: ['./device.page.scss'], 7 | }) 8 | export class DevicePage implements OnInit { 9 | 10 | constructor() { } 11 | 12 | ngOnInit() { 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /e2e/src/app.e2e-spec.ts: -------------------------------------------------------------------------------- 1 | import { AppPage } from './app.po'; 2 | 3 | describe('new App', () => { 4 | let page: AppPage; 5 | 6 | beforeEach(() => { 7 | page = new AppPage(); 8 | }); 9 | 10 | it('should be blank', () => { 11 | page.navigateTo(); 12 | expect(page.getParagraphText()).toContain('Start with Ionic UI Components'); 13 | }); 14 | }); 15 | -------------------------------------------------------------------------------- /tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./out-tsc/spec", 5 | "types": [ 6 | "jasmine", 7 | "node" 8 | ] 9 | }, 10 | "files": [ 11 | "src/test.ts", 12 | "src/zone-flags.ts", 13 | "src/polyfills.ts" 14 | ], 15 | "include": [ 16 | "src/**/*.spec.ts", 17 | "src/**/*.d.ts" 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /src/app/start/reloj1.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing'; 2 | 3 | import { Reloj1Service } from './reloj1.service'; 4 | 5 | describe('Reloj1Service', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})); 7 | 8 | it('should be created', () => { 9 | const service: Reloj1Service = TestBed.get(Reloj1Service); 10 | expect(service).toBeTruthy(); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /src/app/servicio/cliente.service.spec.ts: -------------------------------------------------------------------------------- 1 | import { TestBed } from '@angular/core/testing'; 2 | 3 | import { ClienteService } from './cliente.service'; 4 | 5 | describe('ClienteService', () => { 6 | beforeEach(() => TestBed.configureTestingModule({})); 7 | 8 | it('should be created', () => { 9 | const service: ClienteService = TestBed.get(ClienteService); 10 | expect(service).toBeTruthy(); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- 1 | import { enableProdMode } from '@angular/core'; 2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; 3 | 4 | import { AppModule } from './app/app.module'; 5 | import { environment } from './environments/environment'; 6 | 7 | if (environment.production) { 8 | enableProdMode(); 9 | } 10 | 11 | platformBrowserDynamic().bootstrapModule(AppModule) 12 | .catch(err => console.log(err)); 13 | -------------------------------------------------------------------------------- /src/app/home/home.page.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | import { Router } from '@angular/router'; 3 | 4 | @Component({ 5 | selector: 'app-home', 6 | templateUrl: 'home.page.html', 7 | styleUrls: ['home.page.scss'], 8 | }) 9 | export class HomePage { 10 | 11 | constructor( 12 | private router: Router 13 | ) {} 14 | 15 | 16 | ready(){ 17 | this.router.navigate(['/start']); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/environments/firebaseconfig.ts: -------------------------------------------------------------------------------- 1 | export const firebaseConfig = { 2 | apiKey: "AIzaSyAvVVQfHOFlFszvd2SHQNtQ-N87Qnkjmtg", 3 | authDomain: "creadores-c96a1.firebaseapp.com", 4 | databaseURL: "https://creadores-c96a1.firebaseio.com", 5 | projectId: "creadores-c96a1", 6 | storageBucket: "creadores-c96a1.appspot.com", 7 | messagingSenderId: "248371289398", 8 | appId: "1:248371289398:web:6dbaa2036f90c6ab53a797" 9 | }; -------------------------------------------------------------------------------- /src/app/help/help-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { Routes, RouterModule } from '@angular/router'; 3 | 4 | import { HelpPage } from './help.page'; 5 | 6 | const routes: Routes = [ 7 | { 8 | path: '', 9 | component: HelpPage 10 | } 11 | ]; 12 | 13 | @NgModule({ 14 | imports: [RouterModule.forChild(routes)], 15 | exports: [RouterModule], 16 | }) 17 | export class HelpPageRoutingModule {} 18 | -------------------------------------------------------------------------------- /src/app/info/info-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { Routes, RouterModule } from '@angular/router'; 3 | 4 | import { InfoPage } from './info.page'; 5 | 6 | const routes: Routes = [ 7 | { 8 | path: '', 9 | component: InfoPage 10 | } 11 | ]; 12 | 13 | @NgModule({ 14 | imports: [RouterModule.forChild(routes)], 15 | exports: [RouterModule], 16 | }) 17 | export class InfoPageRoutingModule {} 18 | -------------------------------------------------------------------------------- /src/app/start/start-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { Routes, RouterModule } from '@angular/router'; 3 | 4 | import { StartPage } from './start.page'; 5 | 6 | const routes: Routes = [ 7 | { 8 | path: '', 9 | component: StartPage 10 | } 11 | ]; 12 | 13 | @NgModule({ 14 | imports: [RouterModule.forChild(routes)], 15 | exports: [RouterModule], 16 | }) 17 | export class StartPageRoutingModule {} 18 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/app/device/device-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { Routes, RouterModule } from '@angular/router'; 3 | 4 | import { DevicePage } from './device.page'; 5 | 6 | const routes: Routes = [ 7 | { 8 | path: '', 9 | component: DevicePage 10 | } 11 | ]; 12 | 13 | @NgModule({ 14 | imports: [RouterModule.forChild(routes)], 15 | exports: [RouterModule], 16 | }) 17 | export class DevicePageRoutingModule {} 18 | -------------------------------------------------------------------------------- /src/app/monitor/monitor-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { Routes, RouterModule } from '@angular/router'; 3 | 4 | import { MonitorPage } from './monitor.page'; 5 | 6 | const routes: Routes = [ 7 | { 8 | path: '', 9 | component: MonitorPage 10 | } 11 | ]; 12 | 13 | @NgModule({ 14 | imports: [RouterModule.forChild(routes)], 15 | exports: [RouterModule], 16 | }) 17 | export class MonitorPageRoutingModule {} 18 | -------------------------------------------------------------------------------- /src/app/monitor/monitor.page.scss: -------------------------------------------------------------------------------- 1 | ion-content{ 2 | --ion-background-color: rgb(250, 253, 249); 3 | } 4 | ion-toolbar{ 5 | --background:rgb(250, 253, 249); 6 | } 7 | ion-title{ 8 | font-family: "SF Display"; 9 | font-weight: 700; 10 | font-size: 30px; 11 | } 12 | 13 | ion-card-title{ 14 | font-size: 45px; 15 | text-align: center; 16 | } 17 | ion-card-subtitle{ 18 | font-size: 15px; 19 | text-align: center; 20 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # SISTEMA DE RIEGO CON ARDUINO 2 | 3 | Este proyecto esta hecho con el framework IONIC 5 junto a una API PHP 4 | fue creado para un trabajo de la universidad 5 | 6 | en la carpeta API podras encontrar el codigo de la API PHP y el SQL de la DB 7 | esa la agregas en localhost como tu archivo local o bien cuando lo subas a un servidor 8 | 9 | ![Ongrass](https://user-images.githubusercontent.com/60947476/82132194-cc853700-97a2-11ea-97ac-577ece9b16ff.jpg) 10 | 11 | -------------------------------------------------------------------------------- /src/app/info/info.page.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | import { Router } from '@angular/router'; 3 | 4 | 5 | @Component({ 6 | selector: 'app-info', 7 | templateUrl: './info.page.html', 8 | styleUrls: ['./info.page.scss'], 9 | }) 10 | export class InfoPage implements OnInit { 11 | 12 | constructor(private router: Router) { } 13 | 14 | ngOnInit() { 15 | } 16 | 17 | navigate(){ 18 | this.router.navigate(['start']) 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /browserslist: -------------------------------------------------------------------------------- 1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below. 2 | # For additional information regarding the format and rule options, please see: 3 | # https://github.com/browserslist/browserslist#queries 4 | 5 | # You can see what browsers were selected by your queries by running: 6 | # npx browserslist 7 | 8 | > 0.5% 9 | last 2 versions 10 | Firefox ESR 11 | not dead 12 | not IE 9-11 # For IE 9-11 support, remove 'not'. 13 | -------------------------------------------------------------------------------- /src/app/help/help.page.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | import { AlertController} from '@ionic/angular' 3 | import { Router } from '@angular/router'; 4 | 5 | @Component({ 6 | selector: 'app-help', 7 | templateUrl: './help.page.html', 8 | styleUrls: ['./help.page.scss'], 9 | }) 10 | export class HelpPage implements OnInit { 11 | 12 | constructor( private router: Router) { } 13 | ngOnInit() { 14 | } 15 | 16 | navigate(){ 17 | this.router.navigate(['start']) 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Specifies intentionally untracked files to ignore when using Git 2 | # http://git-scm.com/docs/gitignore 3 | 4 | *~ 5 | *.sw[mnpcod] 6 | .tmp 7 | *.tmp 8 | *.tmp.* 9 | *.sublime-project 10 | *.sublime-workspace 11 | .DS_Store 12 | Thumbs.db 13 | UserInterfaceState.xcuserstate 14 | $RECYCLE.BIN/ 15 | 16 | *.log 17 | log.txt 18 | npm-debug.log* 19 | 20 | /.idea 21 | /.ionic 22 | /.sass-cache 23 | /.sourcemaps 24 | /.versions 25 | /.vscode 26 | /coverage 27 | /dist 28 | /node_modules 29 | /platforms 30 | /plugins 31 | /www 32 | -------------------------------------------------------------------------------- /src/app/help/help.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { CommonModule } from '@angular/common'; 3 | import { FormsModule } from '@angular/forms'; 4 | 5 | import { IonicModule } from '@ionic/angular'; 6 | 7 | import { HelpPageRoutingModule } from './help-routing.module'; 8 | 9 | import { HelpPage } from './help.page'; 10 | 11 | @NgModule({ 12 | imports: [ 13 | CommonModule, 14 | FormsModule, 15 | IonicModule, 16 | HelpPageRoutingModule 17 | ], 18 | declarations: [HelpPage] 19 | }) 20 | export class HelpPageModule {} 21 | -------------------------------------------------------------------------------- /src/app/info/info.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { CommonModule } from '@angular/common'; 3 | import { FormsModule } from '@angular/forms'; 4 | 5 | import { IonicModule } from '@ionic/angular'; 6 | 7 | import { InfoPageRoutingModule } from './info-routing.module'; 8 | 9 | import { InfoPage } from './info.page'; 10 | 11 | @NgModule({ 12 | imports: [ 13 | CommonModule, 14 | FormsModule, 15 | IonicModule, 16 | InfoPageRoutingModule 17 | ], 18 | declarations: [InfoPage] 19 | }) 20 | export class InfoPageModule {} 21 | -------------------------------------------------------------------------------- /src/app/device/device.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { CommonModule } from '@angular/common'; 3 | import { FormsModule } from '@angular/forms'; 4 | 5 | import { IonicModule } from '@ionic/angular'; 6 | 7 | import { DevicePageRoutingModule } from './device-routing.module'; 8 | 9 | import { DevicePage } from './device.page'; 10 | 11 | @NgModule({ 12 | imports: [ 13 | CommonModule, 14 | FormsModule, 15 | IonicModule, 16 | DevicePageRoutingModule 17 | ], 18 | declarations: [DevicePage] 19 | }) 20 | export class DevicePageModule {} 21 | -------------------------------------------------------------------------------- /src/app/monitor/monitor.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { CommonModule } from '@angular/common'; 3 | import { FormsModule } from '@angular/forms'; 4 | 5 | import { IonicModule } from '@ionic/angular'; 6 | 7 | import { MonitorPageRoutingModule } from './monitor-routing.module'; 8 | 9 | import { MonitorPage } from './monitor.page'; 10 | 11 | @NgModule({ 12 | imports: [ 13 | CommonModule, 14 | FormsModule, 15 | IonicModule, 16 | MonitorPageRoutingModule 17 | ], 18 | declarations: [MonitorPage] 19 | }) 20 | export class MonitorPageModule {} 21 | -------------------------------------------------------------------------------- /src/app/home/home.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { CommonModule } from '@angular/common'; 3 | import { IonicModule } from '@ionic/angular'; 4 | import { FormsModule } from '@angular/forms'; 5 | import { RouterModule } from '@angular/router'; 6 | 7 | import { HomePage } from './home.page'; 8 | 9 | @NgModule({ 10 | imports: [ 11 | CommonModule, 12 | FormsModule, 13 | IonicModule, 14 | RouterModule.forChild([ 15 | { 16 | path: '', 17 | component: HomePage 18 | } 19 | ]) 20 | ], 21 | declarations: [HomePage] 22 | }) 23 | export class HomePageModule {} 24 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compileOnSave": false, 3 | "compilerOptions": { 4 | "baseUrl": "./", 5 | "outDir": "./dist/out-tsc", 6 | "sourceMap": true, 7 | "declaration": false, 8 | "module": "esnext", 9 | "moduleResolution": "node", 10 | "emitDecoratorMetadata": true, 11 | "experimentalDecorators": true, 12 | "importHelpers": true, 13 | "target": "es2015", 14 | "typeRoots": [ 15 | "node_modules/@types" 16 | ], 17 | "lib": [ 18 | "es2018", 19 | "dom" 20 | ] 21 | }, 22 | "angularCompilerOptions": { 23 | "fullTemplateTypeCheck": true, 24 | "strictInjectionParameters": true 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/app/info/info.page.scss: -------------------------------------------------------------------------------- 1 | ion-content{ 2 | --ion-background-color: rgb(250, 253, 249); 3 | } 4 | ion-toolbar{ 5 | --background:rgb(250, 253, 249); 6 | } 7 | ion-title{ 8 | font-family: "SF Display"; 9 | font-weight: 700; 10 | font-size: 30px; 11 | } 12 | ion-title h2{ 13 | font-family: "SF Display"; 14 | font-weight: 600; 15 | font-size: small; 16 | color: #a1a1a1; 17 | } 18 | ion-title h3{ 19 | font-family: "SF Display"; 20 | font-weight: 700; 21 | color: white; 22 | } 23 | .bg-class{ 24 | --background-color: #010a0e; 25 | } 26 | 27 | .version p{ 28 | font-size: 10px; 29 | text-align: center; 30 | color: gray; 31 | 32 | } -------------------------------------------------------------------------------- /src/app/home/home.page.scss: -------------------------------------------------------------------------------- 1 | #container { 2 | text-align: center; 3 | 4 | position: absolute; 5 | left: 0; 6 | right: 0; 7 | top: 50%; 8 | transform: translateY(-50%); 9 | } 10 | 11 | #container strong { 12 | font-size: 20px; 13 | line-height: 26px; 14 | } 15 | 16 | #container p { 17 | font-size: 16px; 18 | line-height: 22px; 19 | 20 | color: #8c8c8c; 21 | 22 | margin: 0; 23 | } 24 | 25 | #container a { 26 | text-decoration: none; 27 | } 28 | 29 | ion-content ion-toolbar { 30 | --background: translucent; 31 | } 32 | ion-slide h2{ 33 | font-family: "SF Display"; 34 | font-weight: 700; 35 | } 36 | ion-slide p{ 37 | font-family: "SF Display"; 38 | font-weight: 400; 39 | } 40 | -------------------------------------------------------------------------------- /src/test.ts: -------------------------------------------------------------------------------- 1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files 2 | 3 | import 'zone.js/dist/zone-testing'; 4 | import { getTestBed } from '@angular/core/testing'; 5 | import { 6 | BrowserDynamicTestingModule, 7 | platformBrowserDynamicTesting 8 | } from '@angular/platform-browser-dynamic/testing'; 9 | 10 | declare const require: any; 11 | 12 | // First, initialize the Angular testing environment. 13 | getTestBed().initTestEnvironment( 14 | BrowserDynamicTestingModule, 15 | platformBrowserDynamicTesting() 16 | ); 17 | // Then we find all the tests. 18 | const context = require.context('./', true, /\.spec\.ts$/); 19 | // And load the modules. 20 | context.keys().map(context); 21 | -------------------------------------------------------------------------------- /src/environments/environment.ts: -------------------------------------------------------------------------------- 1 | // This file can be replaced during build by using the `fileReplacements` array. 2 | // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. 3 | // The list of file replacements can be found in `angular.json`. 4 | 5 | export const environment = { 6 | production: false 7 | }; 8 | 9 | /* 10 | * For easier debugging in development mode, you can import the following file 11 | * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`. 12 | * 13 | * This import should be commented out in production mode because it will have a negative impact 14 | * on performance if an error is thrown. 15 | */ 16 | // import 'zone.js/dist/zone-error'; // Included with Angular CLI. 17 | -------------------------------------------------------------------------------- /src/app/help/help.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { HelpPage } from './help.page'; 5 | 6 | describe('HelpPage', () => { 7 | let component: HelpPage; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [ HelpPage ], 13 | imports: [IonicModule.forRoot()] 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(HelpPage); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/home/home.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { HomePage } from './home.page'; 5 | 6 | describe('HomePage', () => { 7 | let component: HomePage; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [ HomePage ], 13 | imports: [IonicModule.forRoot()] 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(HomePage); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/info/info.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { InfoPage } from './info.page'; 5 | 6 | describe('InfoPage', () => { 7 | let component: InfoPage; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [ InfoPage ], 13 | imports: [IonicModule.forRoot()] 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(InfoPage); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/start/start.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { CommonModule } from '@angular/common'; 3 | import { FormsModule } from '@angular/forms'; 4 | import {XsegundoService} from './reloj1.service'; 5 | import { BLE } from '@ionic-native/ble/ngx'; 6 | import { IonicModule } from '@ionic/angular'; 7 | 8 | import { StartPageRoutingModule } from './start-routing.module'; 9 | 10 | import { StartPage } from './start.page'; 11 | import { from } from 'rxjs'; 12 | 13 | @NgModule({ 14 | imports: [ 15 | CommonModule, 16 | FormsModule, 17 | IonicModule, 18 | StartPageRoutingModule 19 | ], 20 | providers: [ 21 | BLE, 22 | XsegundoService], 23 | declarations: [StartPage] 24 | }) 25 | export class StartPageModule {} 26 | -------------------------------------------------------------------------------- /src/app/start/start.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { StartPage } from './start.page'; 5 | 6 | describe('StartPage', () => { 7 | let component: StartPage; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [ StartPage ], 13 | imports: [IonicModule.forRoot()] 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(StartPage); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/device/device.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { DevicePage } from './device.page'; 5 | 6 | describe('DevicePage', () => { 7 | let component: DevicePage; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [ DevicePage ], 13 | imports: [IonicModule.forRoot()] 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(DevicePage); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/monitor/monitor.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { MonitorPage } from './monitor.page'; 5 | 6 | describe('MonitorPage', () => { 7 | let component: MonitorPage; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [ MonitorPage ], 13 | imports: [IonicModule.forRoot()] 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(MonitorPage); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Ionic App 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /src/app/servicio/cliente.service.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@angular/core'; 2 | import { HttpClient } from '@angular/common/http'; 3 | export interface Valor { 4 | estado: string; 5 | registro: string; 6 | } 7 | 8 | 9 | @Injectable({ 10 | providedIn: 'root' 11 | }) 12 | export class ClienteService { 13 | 14 | //private url = 'http://localhost/API/api/bomba.php'; 15 | private url = 'https://designylove.com/bomba.php'; 16 | 17 | constructor( private http: HttpClient) { } 18 | 19 | actualizar(estado: any){ 20 | let body = new FormData(); 21 | body.append('estado', estado); 22 | return this.http.post(this.url,body) 23 | //return this.http.post(this.url, body); 24 | //return this.http.post(this.url,this.valor); 25 | } 26 | obtenerTodo(){ 27 | return this.http.get<[Valor]>(this.url); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/app/help/help.page.scss: -------------------------------------------------------------------------------- 1 | ion-content{ 2 | --ion-background-color: rgb(250, 253, 249); 3 | } 4 | ion-toolbar{ 5 | --background:rgb(250, 253, 249); 6 | } 7 | ion-title{ 8 | font-family: "SF Display"; 9 | font-weight: 700; 10 | font-size: 30px; 11 | } 12 | 13 | ion-title h2{ 14 | font-family: "SF Display"; 15 | font-weight: 600; 16 | font-size: medium; 17 | color: #a1a1a1; 18 | text-align: center; 19 | } 20 | 21 | .version p{ 22 | font-family: "SF Display"; 23 | font-size: 12px; 24 | text-align: justify; 25 | color: gray; 26 | 27 | } 28 | img{ 29 | height: 100px; 30 | margin-top: 400px; 31 | display: block; 32 | margin-left: 100px; 33 | } 34 | @media (min-width: 412px){ 35 | img{ 36 | height: 130px; 37 | margin-top: 70px; 38 | margin-left: 140px; 39 | } 40 | } -------------------------------------------------------------------------------- /e2e/protractor.conf.js: -------------------------------------------------------------------------------- 1 | // Protractor configuration file, see link for more information 2 | // https://github.com/angular/protractor/blob/master/lib/config.ts 3 | 4 | const { SpecReporter } = require('jasmine-spec-reporter'); 5 | 6 | exports.config = { 7 | allScriptsTimeout: 11000, 8 | specs: [ 9 | './src/**/*.e2e-spec.ts' 10 | ], 11 | capabilities: { 12 | 'browserName': 'chrome' 13 | }, 14 | directConnect: true, 15 | baseUrl: 'http://localhost:4200/', 16 | framework: 'jasmine', 17 | jasmineNodeOpts: { 18 | showColors: true, 19 | defaultTimeoutInterval: 30000, 20 | print: function() {} 21 | }, 22 | onPrepare() { 23 | require('ts-node').register({ 24 | project: require('path').join(__dirname, './tsconfig.json') 25 | }); 26 | jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } })); 27 | } 28 | }; 29 | -------------------------------------------------------------------------------- /src/app/app.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | import { Platform } from '@ionic/angular'; 4 | import { SplashScreen } from '@ionic-native/splash-screen/ngx'; 5 | import { StatusBar } from '@ionic-native/status-bar/ngx'; 6 | 7 | @Component({ 8 | selector: 'app-root', 9 | templateUrl: 'app.component.html', 10 | styleUrls: ['app.component.scss'] 11 | }) 12 | export class AppComponent { 13 | constructor( 14 | private platform: Platform, 15 | private splashScreen: SplashScreen, 16 | private statusBar: StatusBar 17 | ) { 18 | this.initializeApp(); 19 | } 20 | 21 | initializeApp() { 22 | this.platform.ready().then(() => { 23 | //this.statusBar.styleDefault(); 24 | if (this.platform.is('android')) { 25 | this.statusBar.backgroundColorByHexString("#33000000"); 26 | } 27 | this.splashScreen.hide(); 28 | }); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/app/app.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { BrowserModule } from '@angular/platform-browser'; 3 | import { RouteReuseStrategy } from '@angular/router'; 4 | import { HttpClientModule } from '@angular/common/http' 5 | import { Chart } from 'chart.js'; 6 | 7 | import { IonicModule, IonicRouteStrategy } from '@ionic/angular'; 8 | import { SplashScreen } from '@ionic-native/splash-screen/ngx'; 9 | import { StatusBar } from '@ionic-native/status-bar/ngx'; 10 | 11 | import { AppComponent } from './app.component'; 12 | import { AppRoutingModule } from './app-routing.module'; 13 | import { BLE } from '@ionic-native/ble/ngx'; 14 | 15 | @NgModule({ 16 | declarations: [AppComponent], 17 | entryComponents: [], 18 | imports: [BrowserModule, IonicModule.forRoot(), AppRoutingModule, HttpClientModule], 19 | providers: [ 20 | BLE, 21 | StatusBar, 22 | SplashScreen, 23 | { provide: RouteReuseStrategy, useClass: IonicRouteStrategy } 24 | ], 25 | bootstrap: [AppComponent] 26 | }) 27 | export class AppModule {} 28 | -------------------------------------------------------------------------------- /karma.conf.js: -------------------------------------------------------------------------------- 1 | // Karma configuration file, see link for more information 2 | // https://karma-runner.github.io/1.0/config/configuration-file.html 3 | 4 | module.exports = function (config) { 5 | config.set({ 6 | basePath: '', 7 | frameworks: ['jasmine', '@angular-devkit/build-angular'], 8 | plugins: [ 9 | require('karma-jasmine'), 10 | require('karma-chrome-launcher'), 11 | require('karma-jasmine-html-reporter'), 12 | require('karma-coverage-istanbul-reporter'), 13 | require('@angular-devkit/build-angular/plugins/karma') 14 | ], 15 | client: { 16 | clearContext: false // leave Jasmine Spec Runner output visible in browser 17 | }, 18 | coverageIstanbulReporter: { 19 | dir: require('path').join(__dirname, '../coverage'), 20 | reports: ['html', 'lcovonly', 'text-summary'], 21 | fixWebpackSourcePaths: true 22 | }, 23 | reporters: ['progress', 'kjhtml'], 24 | port: 9876, 25 | colors: true, 26 | logLevel: config.LOG_INFO, 27 | autoWatch: true, 28 | browsers: ['Chrome'], 29 | singleRun: false 30 | }); 31 | }; 32 | -------------------------------------------------------------------------------- /src/assets/shapes.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/app/app-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { PreloadAllModules, RouterModule, Routes } from '@angular/router'; 3 | 4 | const routes: Routes = [ 5 | { path: '', redirectTo: 'home', pathMatch: 'full' }, 6 | { path: 'home', loadChildren: () => import('./home/home.module').then( m => m.HomePageModule)}, 7 | { 8 | path: 'start', 9 | loadChildren: () => import('./start/start.module').then( m => m.StartPageModule) 10 | }, 11 | { 12 | path: 'help', 13 | loadChildren: () => import('./help/help.module').then( m => m.HelpPageModule) 14 | }, 15 | { 16 | path: 'info', 17 | loadChildren: () => import('./info/info.module').then( m => m.InfoPageModule) 18 | }, 19 | { 20 | path: 'monitor', 21 | loadChildren: () => import('./monitor/monitor.module').then( m => m.MonitorPageModule) 22 | }, 23 | { 24 | path: 'device', 25 | loadChildren: () => import('./device/device.module').then( m => m.DevicePageModule) 26 | }, 27 | ]; 28 | 29 | @NgModule({ 30 | imports: [ 31 | RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules }) 32 | ], 33 | exports: [RouterModule] 34 | }) 35 | export class AppRoutingModule { } 36 | -------------------------------------------------------------------------------- /src/app/start/start.page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
6 |
7 |
8 | {{hora}}:{{minutos}} 9 |

{{dia}} {{fecha}}

10 |
11 |
12 |
13 | 14 | 15 | Encender 16 | 17 | 18 | 19 | Manual 20 | 21 | 22 |
23 | 24 | Monitoreo 25 | 26 | 27 |
28 | 29 | 30 |
-------------------------------------------------------------------------------- /src/app/start/reloj1.service.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@angular/core'; 2 | import {timer, Observable, Subject} from 'rxjs'; 3 | import {map, shareReplay} from 'rxjs/operators'; 4 | 5 | 6 | @Injectable({ 7 | providedIn: 'root' 8 | 9 | }) 10 | export class reloj1Service { 11 | hora: string; 12 | minutos: string; 13 | ampm: string; 14 | diadesemana: string; 15 | diaymes: string; 16 | segundo: string; 17 | } 18 | export class XsegundoService { 19 | clock: Observable ; 20 | infofecha$ = new Subject(); 21 | vr: reloj1Service; 22 | ampm: string; 23 | hours: number; 24 | minute: string; 25 | weekday: string; 26 | months: string; 27 | constructor() { 28 | this.clock = timer(0,1000).pipe(map(t => new Date()),shareReplay(1)); 29 | } 30 | getInfoReloj(): Observable{ 31 | this.clock.subscribe(t => { 32 | this.hours = t.getHours() % 12; 33 | this.hours = this.hours ? this.hours : 12; 34 | this.vr = { 35 | hora: (t.getHours() < 10) ? '0' + t.getHours() : t.getHours().toString(), 36 | minutos: (t.getMinutes() < 10) ? '0' + t.getMinutes() : t.getMinutes().toString(), 37 | ampm: t.getHours() > 11 ? 'PM' : 'AM', 38 | diaymes: t.toLocaleString('es-MX', { day: '2-digit', month: 'long' }).replace('.', '').replace('-', ' '), 39 | diadesemana: t.toLocaleString('es-MX', { weekday: 'long' }).replace('.', ''), 40 | segundo: t.getSeconds() < 10 ? '0' + t.getSeconds() : t.getSeconds().toString() 41 | } 42 | this.infofecha$.next(this.vr); 43 | }); 44 | return this.infofecha$.asObservable(); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /src/app/monitor/monitor.page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Monitor 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 17 | 22 | 23 | 24 | 25 | 26 | 27 | {{x.Nombre}} 28 | {{x.Valor}} 29 | 30 | 31 |

desliza hacia abajo para actualizar los datos

32 |
33 |
34 | 35 | 36 | 37 | Datos de humedad 38 | 39 | 40 |
41 |
42 |
43 |
44 |
45 |
46 | -------------------------------------------------------------------------------- /src/app/app.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; 2 | import { TestBed, async } from '@angular/core/testing'; 3 | 4 | import { Platform } from '@ionic/angular'; 5 | import { SplashScreen } from '@ionic-native/splash-screen/ngx'; 6 | import { StatusBar } from '@ionic-native/status-bar/ngx'; 7 | 8 | import { AppComponent } from './app.component'; 9 | 10 | describe('AppComponent', () => { 11 | 12 | let statusBarSpy, splashScreenSpy, platformReadySpy, platformSpy; 13 | 14 | beforeEach(async(() => { 15 | statusBarSpy = jasmine.createSpyObj('StatusBar', ['styleDefault']); 16 | splashScreenSpy = jasmine.createSpyObj('SplashScreen', ['hide']); 17 | platformReadySpy = Promise.resolve(); 18 | platformSpy = jasmine.createSpyObj('Platform', { ready: platformReadySpy }); 19 | 20 | TestBed.configureTestingModule({ 21 | declarations: [AppComponent], 22 | schemas: [CUSTOM_ELEMENTS_SCHEMA], 23 | providers: [ 24 | { provide: StatusBar, useValue: statusBarSpy }, 25 | { provide: SplashScreen, useValue: splashScreenSpy }, 26 | { provide: Platform, useValue: platformSpy }, 27 | ], 28 | }).compileComponents(); 29 | })); 30 | 31 | it('should create the app', () => { 32 | const fixture = TestBed.createComponent(AppComponent); 33 | const app = fixture.debugElement.componentInstance; 34 | expect(app).toBeTruthy(); 35 | }); 36 | 37 | it('should initialize the app', async () => { 38 | TestBed.createComponent(AppComponent); 39 | expect(platformSpy.ready).toHaveBeenCalled(); 40 | await platformReadySpy; 41 | expect(statusBarSpy.styleDefault).toHaveBeenCalled(); 42 | expect(splashScreenSpy.hide).toHaveBeenCalled(); 43 | }); 44 | 45 | // TODO: add more tests! 46 | 47 | }); 48 | -------------------------------------------------------------------------------- /api/bomba.php: -------------------------------------------------------------------------------- 1 | query("UPDATE estado SET estado = '$estado' WHERE Sensor = 'Bomba'"); 13 | if($sql){ 14 | exit(json_encode(array('status' => 'success'))); 15 | } else { 16 | exit(json_encode(array('status' => 'error'))); 17 | } 18 | } else { 19 | exit(json_encode(array('status' => 'error', 'error' => 'No pudimos obtener variable estado'))); 20 | } 21 | } 22 | if($_SERVER['REQUEST_METHOD'] === 'GET') 23 | { 24 | if(isset($_GET['id'])){ 25 | $id= $conn->real_escape_string($_GET['id']); 26 | $sql= $conn->query("SELECT * FROM registros WHERE id= '$id'"); 27 | $data = $sql ->fetch_assoc(); 28 | } else { 29 | $data=array(); 30 | $sql= $conn->query("SELECT * FROM registros ORDER by id DESC LIMIT 1"); 31 | while ($d =$sql->fetch_assoc()){ 32 | $data[]=$d; 33 | } 34 | } 35 | exit(json_encode($data)); 36 | } 37 | 38 | if($_SERVER['REQUEST_METHOD'] === 'GET') 39 | { 40 | if(isset($_GET['id'])){ 41 | $id= $conn->real_escape_string($_GET['id']); 42 | $sql= $conn->query("SELECT * FROM registros WHERE id= '$id'"); 43 | $date = $sql ->fetch_assoc(); 44 | } else { 45 | $date=array(); 46 | $sql= $conn->query("SELECT * FROM registros"); 47 | while ($d =$sql->fetch_assoc()){ 48 | $date[]=$d; 49 | } 50 | } 51 | exit(json_encode($date)); 52 | } -------------------------------------------------------------------------------- /src/app/home/home.page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 |

Bienvenido

10 |

No te esfuerces mas, haz todo mas facil desde tu celular, un solo click y listo, conoce mas sobre nosotros.

11 |
12 |
13 | 14 | 15 | 16 |

¿Que es OnGrass?

17 |

OnGrass Es un sistema de riego automatizado por medio del dispositivo movil, adaptando las nuevas tecnologias al campo

18 |
19 | 20 | 21 | 22 |

Super Fácil

23 |

Está diseñada y desarrollada para funcionar de manera facil y eficiente, dandote una experiencia unica nunca antes vista

24 |
25 | 26 | 27 | 28 |

Listo para probar?

29 | Usar OnGrass 30 | 31 |
32 | 33 |
34 |
35 |
36 | 37 | 61 | -------------------------------------------------------------------------------- /src/app/help/help.page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Ayuda 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

¿Cómo se conecta la app con el sistema?

15 |
16 |
17 |

La app se conecta a través de una conexión a internet, para interactuar directamente con el sistema de riego 18 | si tienes problemas al conectar contáctanos a través de nuestro correo on_grass@outlook.com

19 |
20 | 21 | 22 |

¿Como saber si no esta fallando?

23 |
24 |
25 |

Ongrass te mostrará alertas si hay algun fallo. 26 | Por ejemplo: si la bomba no se encendio te avisara que no hay conexion al sistema, asi podras 27 | verificar que todo este correcto, si las fallas continuan, reinicia la aplicacion. 28 |

29 |
30 | 31 | 32 |

¿Como saber si la humedad es correcta?

33 |
34 |
35 |

El sistema esta capacitado para automaticamente detectar valores claves para su funcionamiento, 36 | igual en la parte de Monitoreo veras informacion relacionada a que tanta humedad debe 37 | Existir para funcionar 38 |

39 |
40 | 41 | 42 |

¿Existe riesgos de usar Ongrass?

43 |
44 |
45 |

Definitivamente no Ongrass esta diseñado para si no se cumplen los parametros 46 | no funcionara la bomba que riega el agua al huerto, no debe preocuparse por su 47 | funcionamiento 48 |

49 |
50 | 51 | 52 | 53 | 54 |
55 | -------------------------------------------------------------------------------- /api/app.php: -------------------------------------------------------------------------------- 1 | real_escape_string($_GET['id']); 10 | $sql= $conn->query("SELECT * FROM productos WHERE id= '$id'"); 11 | $data = $sql ->fetch_assoc(); 12 | } else { 13 | $data=array(); 14 | $sql= $conn->query("SELECT * FROM productos"); 15 | while ($d =$sql->fetch_assoc()){ 16 | $data[]=$d; 17 | } 18 | } 19 | exit(json_encode($data)); 20 | } 21 | if($_SERVER['REQUEST_METHOD'] === 'POST') 22 | { 23 | $data= json_decode(file_get_contents("php://input")); 24 | $sql= $conn->query("INSERT INTO productos (Nombre,Descripcion) VALUES ('".$data->Nombre."', '".$data->Descripcion."')"); 25 | if ($sql){ 26 | $data->id= $conn->insert_id; 27 | exit(json_encode($data)); 28 | }else{ 29 | exit(json_encode(array('status'=> 'error'))); 30 | } 31 | } 32 | if($_SERVER['REQUEST_METHOD'] === 'PUT') 33 | { 34 | if (isset($_GET['id'])){ 35 | $id = $conn->real_escape_string($_GET['id']); 36 | $data = json_decode(file_get_contents("php://input")); 37 | $sql = $conn->query("UPDATE productos SET Nombre = '".$data->Nombre."', Descripcion ='".$data->Descripcion."' WHERE id = '$id'"); 38 | if($sql){ 39 | exit(json_encode(array('status' => 'success'))); 40 | } else { 41 | exit(json_encode(array('status' => 'error'))); 42 | } 43 | } 44 | } 45 | if($_SERVER['REQUEST_METHOD'] === 'DELETE') 46 | { 47 | if(isset($_GET['id'])){ 48 | $id = $conn->real_escape_string($_GET['id']); 49 | $sql =$conn->query("DELETE FROM productos WHERE id= '$id'"); 50 | if($sql){ 51 | exit(json_encode(array('status' => 'success'))); 52 | } else { 53 | exit(json_encode(array('status' => 'error'))); 54 | } 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "tslint:recommended", 3 | "rulesDirectory": [ 4 | "codelyzer" 5 | ], 6 | "rules": { 7 | "array-type": false, 8 | "arrow-parens": false, 9 | "deprecation": { 10 | "severity": "warn" 11 | }, 12 | "import-blacklist": [ 13 | true, 14 | "rxjs/Rx" 15 | ], 16 | "interface-name": false, 17 | "max-classes-per-file": false, 18 | "max-line-length": [ 19 | true, 20 | 140 21 | ], 22 | "member-access": false, 23 | "member-ordering": [ 24 | true, 25 | { 26 | "order": [ 27 | "static-field", 28 | "instance-field", 29 | "static-method", 30 | "instance-method" 31 | ] 32 | } 33 | ], 34 | "no-consecutive-blank-lines": false, 35 | "no-console": [ 36 | true, 37 | "debug", 38 | "info", 39 | "time", 40 | "timeEnd", 41 | "trace" 42 | ], 43 | "no-empty": false, 44 | "no-inferrable-types": [ 45 | true, 46 | "ignore-params" 47 | ], 48 | "no-non-null-assertion": true, 49 | "no-redundant-jsdoc": true, 50 | "no-switch-case-fall-through": true, 51 | "no-use-before-declare": true, 52 | "no-var-requires": false, 53 | "object-literal-key-quotes": [ 54 | true, 55 | "as-needed" 56 | ], 57 | "object-literal-sort-keys": false, 58 | "ordered-imports": false, 59 | "quotemark": [ 60 | true, 61 | "single" 62 | ], 63 | "trailing-comma": false, 64 | "no-output-on-prefix": true, 65 | "no-inputs-metadata-property": true, 66 | "no-host-metadata-property": true, 67 | "no-input-rename": true, 68 | "no-output-rename": true, 69 | "use-lifecycle-interface": true, 70 | "use-pipe-transform-interface": true, 71 | "one-variable-per-declaration": false, 72 | "component-class-suffix": [true, "Page", "Component"], 73 | "directive-class-suffix": true, 74 | "directive-selector": [ 75 | true, 76 | "attribute", 77 | "app", 78 | "camelCase" 79 | ], 80 | "component-selector": [ 81 | true, 82 | "element", 83 | "app", 84 | "page", 85 | "kebab-case" 86 | ] 87 | } 88 | } 89 | -------------------------------------------------------------------------------- /api/iot.sql: -------------------------------------------------------------------------------- 1 | -- phpMyAdmin SQL Dump 2 | -- version 4.8.4 3 | -- https://www.phpmyadmin.net/ 4 | -- 5 | -- Servidor: 127.0.0.1 6 | -- Tiempo de generación: 17-05-2020 a las 01:20:26 7 | -- Versión del servidor: 10.1.37-MariaDB 8 | -- Versión de PHP: 5.6.40 9 | 10 | SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; 11 | SET AUTOCOMMIT = 0; 12 | START TRANSACTION; 13 | SET time_zone = "+00:00"; 14 | 15 | 16 | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; 17 | /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; 18 | /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; 19 | /*!40101 SET NAMES utf8mb4 */; 20 | 21 | -- 22 | -- Base de datos: `proyecto_iot` 23 | -- 24 | 25 | -- -------------------------------------------------------- 26 | 27 | -- 28 | -- Estructura de tabla para la tabla `estado` 29 | -- 30 | 31 | CREATE TABLE `estado` ( 32 | `Sensor` varchar(30) COLLATE utf8_spanish_ci NOT NULL, 33 | `Estado` varchar(12) COLLATE utf8_spanish_ci NOT NULL 34 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci; 35 | 36 | -- 37 | -- Volcado de datos para la tabla `estado` 38 | -- 39 | 40 | INSERT INTO `estado` (`Sensor`, `Estado`) VALUES 41 | ('Bomba', 'true'), 42 | ('Aspersor', '0'), 43 | ('Valvula1', '1'), 44 | ('Valvula2', '0'); 45 | 46 | -- -------------------------------------------------------- 47 | 48 | -- 49 | -- Estructura de tabla para la tabla `registros` 50 | -- 51 | 52 | CREATE TABLE `registros` ( 53 | `id` int(11) NOT NULL, 54 | `Nombre` varchar(30) COLLATE utf8_spanish_ci NOT NULL, 55 | `Valor` int(5) NOT NULL, 56 | `Descripcion` varchar(150) COLLATE utf8_spanish_ci DEFAULT NULL 57 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci; 58 | 59 | -- 60 | -- Volcado de datos para la tabla `registros` 61 | -- 62 | 63 | INSERT INTO `registros` (`id`, `Nombre`, `Valor`, `Descripcion`) VALUES 64 | (6, 'Humedad', 1522, 'Si la humedad es menor a 500 entonces esta correcto sino habra que regar nuevamente\r\n para un mejor cuidado del huerto.'), 65 | (7, 'Temperatura', 555, 'Si la temperatura es menor a 200 entonces esta correcto sino habra que regar nuevamente\r\n para un mejor cuidado del huerto.'); 66 | 67 | -- 68 | -- Índices para tablas volcadas 69 | -- 70 | 71 | -- 72 | -- Indices de la tabla `registros` 73 | -- 74 | ALTER TABLE `registros` 75 | ADD PRIMARY KEY (`id`); 76 | 77 | -- 78 | -- AUTO_INCREMENT de las tablas volcadas 79 | -- 80 | 81 | -- 82 | -- AUTO_INCREMENT de la tabla `registros` 83 | -- 84 | ALTER TABLE `registros` 85 | MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; 86 | COMMIT; 87 | 88 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; 89 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; 90 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; 91 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ongrass", 3 | "version": "0.0.1", 4 | "author": "Ionic Framework", 5 | "homepage": "https://ionicframework.com/", 6 | "scripts": { 7 | "ng": "ng", 8 | "start": "ng serve", 9 | "build": "ng build", 10 | "test": "ng test", 11 | "lint": "ng lint", 12 | "e2e": "ng e2e" 13 | }, 14 | "private": true, 15 | "dependencies": { 16 | "@angular/common": "~8.2.14", 17 | "@angular/core": "~8.2.14", 18 | "@angular/forms": "~8.2.14", 19 | "@angular/platform-browser": "~8.2.14", 20 | "@angular/platform-browser-dynamic": "~8.2.14", 21 | "@angular/router": "~8.2.14", 22 | "@ionic-native/ble": "^5.22.0", 23 | "@ionic-native/bluetooth-serial": "^5.22.0", 24 | "@ionic-native/core": "^5.0.0", 25 | "@ionic-native/splash-screen": "^5.0.0", 26 | "@ionic-native/status-bar": "^5.0.0", 27 | "@ionic/angular": "^5.0.0", 28 | "chart.js": "^2.9.3", 29 | "cordova-android": "^8.1.0", 30 | "cordova-plugin-ble-central": "^1.2.4", 31 | "cordova-plugin-bluetooth-serial": "^0.4.7", 32 | "core-js": "^2.5.4", 33 | "rxjs": "~6.5.1", 34 | "tslib": "^1.9.0", 35 | "zone.js": "~0.9.1" 36 | }, 37 | "devDependencies": { 38 | "@angular-devkit/build-angular": "~0.803.20", 39 | "@angular/cli": "~8.3.23", 40 | "@angular/compiler": "~8.2.14", 41 | "@angular/compiler-cli": "~8.2.14", 42 | "@angular/language-service": "~8.2.14", 43 | "@ionic/angular-toolkit": "^2.1.1", 44 | "@ionic/lab": "3.1.0", 45 | "@types/jasmine": "~3.3.8", 46 | "@types/jasminewd2": "~2.0.3", 47 | "@types/node": "~8.9.4", 48 | "codelyzer": "^5.0.0", 49 | "cordova-plugin-device": "^2.0.2", 50 | "cordova-plugin-ionic-keyboard": "^2.2.0", 51 | "cordova-plugin-ionic-webview": "^4.1.3", 52 | "cordova-plugin-splashscreen": "^5.0.2", 53 | "cordova-plugin-statusbar": "^2.4.2", 54 | "cordova-plugin-whitelist": "^1.3.3", 55 | "jasmine-core": "~3.4.0", 56 | "jasmine-spec-reporter": "~4.2.1", 57 | "karma": "~4.1.0", 58 | "karma-chrome-launcher": "~2.2.0", 59 | "karma-coverage-istanbul-reporter": "~2.0.1", 60 | "karma-jasmine": "~2.0.1", 61 | "karma-jasmine-html-reporter": "^1.4.0", 62 | "protractor": "~5.4.0", 63 | "ts-node": "~7.0.0", 64 | "tslint": "~5.15.0", 65 | "typescript": "~3.4.3" 66 | }, 67 | "description": "An Ionic project", 68 | "cordova": { 69 | "plugins": { 70 | "cordova-plugin-ble-central": {}, 71 | "cordova-plugin-bluetooth-serial": {}, 72 | "cordova-plugin-whitelist": {}, 73 | "cordova-plugin-statusbar": {}, 74 | "cordova-plugin-device": {}, 75 | "cordova-plugin-splashscreen": {}, 76 | "cordova-plugin-ionic-webview": { 77 | "ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+" 78 | }, 79 | "cordova-plugin-ionic-keyboard": {} 80 | }, 81 | "platforms": [ 82 | "android" 83 | ] 84 | } 85 | } -------------------------------------------------------------------------------- /src/app/start/start.page.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit, NgZone, Input } from '@angular/core'; 2 | import {reloj1Service, XsegundoService} from '../start/reloj1.service'; 3 | import { Observable, from } from 'rxjs'; 4 | import { Router } from '@angular/router'; 5 | import { BLE } from '@ionic-native/ble/ngx'; 6 | import { AlertController,ToastController } from '@ionic/angular'; 7 | import { ClienteService, Valor } from '../servicio/cliente.service'; 8 | 9 | @Component({ 10 | selector: 'app-start', 11 | templateUrl: './start.page.html', 12 | styleUrls: ['./start.page.scss'], 13 | }) 14 | export class StartPage implements OnInit { 15 | datos$: Observable; 16 | hora: string; 17 | minutos: string; 18 | dia: string; 19 | fecha: string; 20 | ampm: string; 21 | segundos: string; 22 | devices: any[]=[]; 23 | statusMen: string; 24 | listo: boolean; 25 | 26 | registro: Valor[]; 27 | 28 | constructor(private segundo: XsegundoService, private router: Router, 29 | private alertCtrl: AlertController, private toastCtrl: ToastController, 30 | private ngZone: NgZone, private ble: BLE, 31 | private service: ClienteService) { } 32 | 33 | Scan(){ 34 | this.devices = []; 35 | this.ble.scan([],15).subscribe( 36 | device => this.onDeviceDiscovered(device) 37 | ); 38 | } 39 | onDeviceDiscovered(device){ 40 | console.log('Discovered' + JSON.stringify(device,null,2)); 41 | this.ngZone.run(()=>{ 42 | this.devices.push(device) 43 | console.log(device) 44 | }) 45 | } 46 | help(){ 47 | this.router.navigate(['/help']); 48 | } 49 | info(){ 50 | this.router.navigate(['/info']); 51 | } 52 | monitor(){ 53 | this.router.navigate(['/monitor']); 54 | 55 | } 56 | 57 | ngOnInit() { 58 | this.datos$=this.segundo.getInfoReloj(); 59 | this.datos$.subscribe(x => { 60 | this.hora = x.hora; 61 | this.minutos = x.minutos; 62 | this.dia = x.diadesemana; 63 | this.fecha = x.diaymes; 64 | this.ampm = x.ampm; 65 | this.segundos = x.segundo 66 | //this.data=this.status; 67 | 68 | }); 69 | } 70 | async presentToast( message: string) { 71 | const toast = await this.toastCtrl.create({ 72 | message, 73 | duration: 2000, 74 | cssClass: 'color' 75 | }); 76 | toast.present(); 77 | } 78 | 79 | encender(evento){ 80 | let power: boolean = evento.target.checked; 81 | this.service.actualizar(power).subscribe((data: any)=> { 82 | console.log(data); 83 | if (data.status='success'){ 84 | this.listo=power 85 | } 86 | }) 87 | if (power) { 88 | this.presentToast('Bomba encendida') 89 | } else { 90 | this.presentToast('Bomba apagada') 91 | } 92 | } 93 | //update(){ 94 | // this.service.actualizar(status,this.status.estado).subscribe(()=>{ 95 | //status.estado = this.status.estado; 96 | // }); 97 | } -------------------------------------------------------------------------------- /src/app/monitor/monitor.page.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | import { ClienteService, Valor } from '../servicio/cliente.service'; 3 | import { Router } from '@angular/router'; 4 | import { Chart } from 'chart.js'; 5 | 6 | 7 | @Component({ 8 | selector: 'app-monitor', 9 | templateUrl: './monitor.page.html', 10 | styleUrls: ['./monitor.page.scss'], 11 | }) 12 | export class MonitorPage implements OnInit { 13 | 14 | registro: Valor[]; 15 | chart: Valor []; 16 | 17 | constructor( private service: ClienteService, private router: Router) { } 18 | 19 | 20 | ionRefresh(event) { 21 | console.log('Pull Event Triggered!'); 22 | setTimeout(() => { 23 | this.service.obtenerTodo().subscribe(response =>{ 24 | this.registro=response; 25 | setTimeout(()=>{ 26 | this.registro 27 | },1000) 28 | }); 29 | 30 | //complete() signify that the refreshing has completed and to close the refresher 31 | event.target.complete(); 32 | }, 2000); 33 | } 34 | ionPull(event){ 35 | //Emitted while the user is pulling down the content and exposing the refresher. 36 | this.service.obtenerTodo().subscribe(response =>{ 37 | this.registro=response; 38 | setTimeout(()=>{ 39 | this.registro 40 | },1000) 41 | }); 42 | } 43 | ionStart(event){ 44 | //Emitted when the user begins to start pulling down. 45 | console.log('ionStart Event Triggered!'); 46 | } 47 | 48 | ngOnInit() { 49 | this.service.obtenerTodo().subscribe(response =>{ 50 | this.registro=response; 51 | setTimeout(()=>{ 52 | this.registro 53 | },1000) 54 | }); 55 | 56 | 57 | this.showChart(); 58 | } 59 | navigate(){ 60 | this.router.navigate(['start']) 61 | } 62 | 63 | 64 | showChart() { 65 | var ctx = (document.getElementById('yudhatp-chart')).getContext('2d'); 66 | var myChart = new Chart(ctx, { 67 | type: 'line', 68 | data: { 69 | labels: ['dia 1', 'dia 2', 'dia 3', 'dia 4', 'dia 5', 'dia 6','dia 7','dia 8','dia 9','dia 10'], 70 | datasets: [{ 71 | label: 'Humedad diaria', 72 | data: [291,421,427,320,285,291,221,291,119,291,420,421,120,320,450,489,100,291,430,431], 73 | backgroundColor: [ 74 | 'rgb(240, 247, 234,0.7)', 75 | ], 76 | borderColor: [ 77 | 'rgb(106, 131, 88 ,1)', 78 | 'rgba(54, 162, 235, 1)', 79 | 'rgba(54, 162, 235, 1)', 80 | 'rgba(54, 162, 235, 1)', 81 | 'rgba(54, 162, 235, 1)', 82 | 'rgba(54, 162, 235, 1)' 83 | ], 84 | borderWidth: 1 85 | }] 86 | }, 87 | options: { 88 | scales: { 89 | yAxes: [{ 90 | ticks: { 91 | beginAtZero: true 92 | } 93 | }] 94 | } 95 | } 96 | }); 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /src/global.scss: -------------------------------------------------------------------------------- 1 | /* 2 | * App Global CSS 3 | * ---------------------------------------------------------------------------- 4 | * Put style rules here that you want to apply globally. These styles are for 5 | * the entire app and not just one component. Additionally, this file can be 6 | * used as an entry point to import other CSS/Sass files to be included in the 7 | * output CSS. 8 | * For more information on global stylesheets, visit the documentation: 9 | * https://ionicframework.com/docs/layout/global-stylesheets 10 | */ 11 | 12 | /* Core CSS required for Ionic components to work properly */ 13 | @import "~@ionic/angular/css/core.css"; 14 | 15 | /* Basic CSS for apps built with Ionic */ 16 | @import "~@ionic/angular/css/normalize.css"; 17 | @import "~@ionic/angular/css/structure.css"; 18 | @import "~@ionic/angular/css/typography.css"; 19 | @import '~@ionic/angular/css/display.css'; 20 | 21 | /* Optional CSS utils that can be commented out */ 22 | @import "~@ionic/angular/css/padding.css"; 23 | @import "~@ionic/angular/css/float-elements.css"; 24 | @import "~@ionic/angular/css/text-alignment.css"; 25 | @import "~@ionic/angular/css/text-transformation.css"; 26 | @import "~@ionic/angular/css/flex-utils.css"; 27 | 28 | /*fuentes*/ 29 | /** Black */ 30 | @font-face { 31 | font-family: "SF Display"; 32 | font-weight: 900; 33 | src: url("https://sf.abarba.me/SF-UI-Display-Black.otf"); 34 | } 35 | 36 | /** Bold */ 37 | @font-face { 38 | font-family: "SF Display"; 39 | font-weight: 700; 40 | src: url("https://sf.abarba.me/SF-UI-Display-Bold.otf"); 41 | } 42 | 43 | /** Heavy */ 44 | @font-face { 45 | font-family: "SF Display"; 46 | font-weight: 800; 47 | src: url("https://sf.abarba.me/SF-UI-Display-Heavy.otf"); 48 | } 49 | 50 | /** Light */ 51 | @font-face { 52 | font-family: "SF Display"; 53 | font-weight: 200; 54 | src: url("https://sf.abarba.me/SF-UI-Display-Light.otf"); 55 | } 56 | 57 | /** Medium */ 58 | @font-face { 59 | font-family: "SF Display"; 60 | font-weight: 500; 61 | src: url("https://sf.abarba.me/SF-UI-Display-Medium.otf"); 62 | } 63 | 64 | /** Regular */ 65 | @font-face { 66 | font-family: "SF Display"; 67 | font-weight: 400; 68 | src: url("https://sf.abarba.me/SF-UI-Display-Regular.otf"); 69 | } 70 | 71 | /** Semibold */ 72 | @font-face { 73 | font-family: "SF Display"; 74 | font-weight: 600; 75 | src: url("https://sf.abarba.me/SF-UI-Display-Semibold.otf"); 76 | } 77 | 78 | @font-face { 79 | font-family: "SF Display"; 80 | font-weight: 100; 81 | src: url("https://sf.abarba.me/SF-UI-Display-Ultralight.otf"); 82 | } 83 | 84 | ion-toast.color{ 85 | --background: rgb(106, 131, 88) !important; 86 | --box-shadow: none; 87 | text-align: center; 88 | font-weight: 700; 89 | } 90 | 91 | ion-toast{ 92 | background-color: rgba(255, 99, 132, 0.2), 93 | rgba(54, 162, 235, 0.2), 94 | rgba(255, 206, 86, 0.2), 95 | rgba(75, 192, 192, 0.2), 96 | rgba(153, 102, 255, 0.2), 97 | rgba(130, 206, 164, 0.2); 98 | } -------------------------------------------------------------------------------- /src/polyfills.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file includes polyfills needed by Angular and is loaded before the app. 3 | * You can add your own extra polyfills to this file. 4 | * 5 | * This file is divided into 2 sections: 6 | * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers. 7 | * 2. Application imports. Files imported after ZoneJS that should be loaded before your main 8 | * file. 9 | * 10 | * The current setup is for so-called "evergreen" browsers; the last versions of browsers that 11 | * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera), 12 | * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile. 13 | * 14 | * Learn more in https://angular.io/guide/browser-support 15 | */ 16 | 17 | /*************************************************************************************************** 18 | * BROWSER POLYFILLS 19 | */ 20 | 21 | /** IE10 and IE11 requires the following for NgClass support on SVG elements */ 22 | // import 'classlist.js'; // Run `npm install --save classlist.js`. 23 | 24 | /** 25 | * Web Animations `@angular/platform-browser/animations` 26 | * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari. 27 | * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0). 28 | */ 29 | // import 'web-animations-js'; // Run `npm install --save web-animations-js`. 30 | 31 | /** 32 | * By default, zone.js will patch all possible macroTask and DomEvents 33 | * user can disable parts of macroTask/DomEvents patch by setting following flags 34 | * because those flags need to be set before `zone.js` being loaded, and webpack 35 | * will put import in the top of bundle, so user need to create a separate file 36 | * in this directory (for example: zone-flags.ts), and put the following flags 37 | * into that file, and then add the following code before importing zone.js. 38 | * import './zone-flags.ts'; 39 | * 40 | * The flags allowed in zone-flags.ts are listed here. 41 | * 42 | * The following flags will work for all browsers. 43 | * 44 | * (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame 45 | * (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick 46 | * (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames 47 | * 48 | * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js 49 | * with the following flag, it will bypass `zone.js` patch for IE/Edge 50 | * 51 | * (window as any).__Zone_enable_cross_context_check = true; 52 | * 53 | */ 54 | 55 | import './zone-flags'; 56 | 57 | /*************************************************************************************************** 58 | * Zone JS is required by default for Angular itself. 59 | */ 60 | 61 | import 'zone.js/dist/zone'; // Included with Angular CLI. 62 | 63 | 64 | /*************************************************************************************************** 65 | * APPLICATION IMPORTS 66 | */ 67 | -------------------------------------------------------------------------------- /src/app/start/start.page.scss: -------------------------------------------------------------------------------- 1 | ion-content{ 2 | --ion-background-color: rgb(250, 253, 249); 3 | } 4 | .noti{ 5 | margin-left: 160px; 6 | background-color: red; 7 | } 8 | img{ 9 | height: 100px; 10 | margin-top: 400px; 11 | display: block; 12 | margin-left: 100px; 13 | } 14 | .help{ 15 | position:relative; z-index:2; 16 | left:95px; top:270px; 17 | } 18 | .info{ 19 | position:relative; z-index:2; 20 | left:20px; top:270px; 21 | } 22 | .btn-on{ 23 | font-family: "SF Display"; 24 | font-weight: 600; 25 | color: #A0B591; 26 | --ion-background-color: rgb(240, 247, 234); 27 | position:absolute; z-index:3; 28 | left: 50px; 29 | margin-top: 160px; 30 | border-radius: 10px; 31 | } 32 | .btn-man{ 33 | font-family: "SF Display"; 34 | font-weight: 600; 35 | color: #A0B591; 36 | --ion-background-color: rgb(240, 247, 234); 37 | position:absolute; z-index:3; 38 | left: 50px; 39 | margin-top: 220px; 40 | border-radius: 10px; 41 | } 42 | .man{ 43 | 44 | } 45 | .btn-mon{ 46 | font-family: "SF Display"; 47 | font-weight: 600; 48 | color: #A0B591; 49 | --ion-background-color: rgb(240, 247, 234); 50 | position:absolute; z-index:3; 51 | left: 50px; 52 | margin-top: 280px; 53 | border-radius: 10px; 54 | --color-hover:#565656; 55 | --background-hover:rgb(113, 177, 64); 56 | } 57 | .btn-bt{ 58 | font-family: "SF Display"; 59 | font-weight: 600; 60 | color: #A0B591; 61 | --ion-background-color: rgb(240, 247, 234); 62 | position:absolute; z-index:3; 63 | left: 50px; 64 | margin-top: 340px; 65 | border-radius: 10px; 66 | --color-hover:#565656; 67 | --background-hover:rgb(113, 177, 64); 68 | } 69 | 70 | 71 | .mishoras{ 72 | color: #6D6D6D; 73 | font-family: "SF Display"; 74 | font-weight: 100; 75 | font-size: 90px; 76 | left: 50px; 77 | top: 50px; 78 | position:absolute; z-index:3; 79 | } 80 | .horas p{ 81 | color: #6D6D6D; 82 | font-family: "SF Display"; 83 | font-weight: 100; 84 | position:absolute; z-index:2; 85 | top: 130px; 86 | left: 98px; 87 | } 88 | ion-toggle{ 89 | --handle-background: rgb(240, 247, 234); 90 | --handle-background-checked : rgb(240, 247, 234); 91 | --background:#565656; 92 | --background-checked:#B3D594; 93 | } 94 | .bar{ 95 | padding: 0 0 0 10px; 96 | color: #565656; 97 | } 98 | //ion-toggle{ 99 | // width: 35px !important; 100 | // height: 12px !important; 101 | //} 102 | @media (min-width: 437px){ 103 | .mishoras{ 104 | color:#6D6D6D; 105 | font-size: 120px; 106 | left: 76px; 107 | top: 50px; 108 | 109 | } 110 | .horas p{ 111 | top: 170px; 112 | font-size: 25px; 113 | left: 130px; 114 | } 115 | img{ 116 | height: 150px; 117 | margin-top: 650px; 118 | margin-left: 140px; 119 | } 120 | 121 | .help{ 122 | left:110px; 123 | top:330px; 124 | } 125 | .info{ 126 | left:25px; 127 | top:330px; 128 | } 129 | .btn-bt{ 130 | left: 100px; 131 | margin-top: 510px; 132 | 133 | } 134 | .btn-mon{ 135 | left: 100px; 136 | margin-top: 420px; 137 | 138 | 139 | } 140 | .btn-on{ 141 | left: 100px; 142 | margin-top: 240px; 143 | 144 | } 145 | .btn-man{ 146 | left: 100px; 147 | margin-top: 330px; 148 | 149 | } 150 | ion-toggle{ 151 | padding-top: 20px; 152 | padding-bottom: 20px; 153 | } 154 | .moni{ 155 | padding-top: 15px; 156 | padding-bottom: 15px; 157 | } 158 | } -------------------------------------------------------------------------------- /src/app/info/info.page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Información 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |

Ongrass

16 |
17 | 18 | 19 | 20 |

Facebook

21 |
22 | 23 |
24 | 25 | 26 | 27 |

Instagram

28 |
29 | 30 |
31 | 32 | 33 | 34 |

Twitter

35 |
36 | 37 |
38 | 39 | 40 |

Equipo Ongrass

41 |
42 | 43 | 44 | 45 | 46 | 47 | 48 |

Mauricio López

49 |

Designer | Developer

50 |
51 |
52 | 53 | 54 | 55 | 56 | 57 | 58 |

Efrain Granados

59 |

Web Developer

60 |
61 |
62 | 63 | 64 | 65 | 66 | 67 | 68 |

Jose Hublester

69 |

IoT dev

70 |
71 |
72 | 73 | 74 | 75 | 76 | 77 | 78 |

Perla Reyes

79 |

IoT dev

80 |
81 |
82 | 83 | 84 | 85 | 86 | 87 | 88 |

Brenda N. Celestino

89 |

Documents

90 |
91 |
92 | 93 | 94 | 95 | 96 | 97 | 98 |

Itzel G. Pérez Soto

99 |

Documents

100 |
101 |
102 | 103 | 104 | 105 | 106 | 107 | 108 |

Leticia Aguirre

109 |

IoT dev

110 |
111 |
112 | 113 | 114 | 115 | 116 | 117 | 118 |

Maria G. Pastor

119 |

App Design

120 |
121 |
122 | 123 | 124 | 125 | 126 | 127 | 128 |

Mirsa G. Martinez

129 |

IoT dev

130 |
131 |
132 | 133 | 134 | 135 | 136 | 137 | 138 |

Esmeralda Barajas

139 |

Web Design

140 |
141 |
142 |
143 |

Ongrass v1.2.0 Ionic framework | Angular

144 |
145 | 146 |
147 | -------------------------------------------------------------------------------- /angular.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "./node_modules/@angular/cli/lib/config/schema.json", 3 | "version": 1, 4 | "defaultProject": "app", 5 | "newProjectRoot": "projects", 6 | "projects": { 7 | "app": { 8 | "root": "", 9 | "sourceRoot": "src", 10 | "projectType": "application", 11 | "prefix": "app", 12 | "schematics": {}, 13 | "architect": { 14 | "build": { 15 | "builder": "@angular-devkit/build-angular:browser", 16 | "options": { 17 | "outputPath": "www", 18 | "index": "src/index.html", 19 | "main": "src/main.ts", 20 | "polyfills": "src/polyfills.ts", 21 | "tsConfig": "tsconfig.app.json", 22 | "assets": [ 23 | { 24 | "glob": "**/*", 25 | "input": "src/assets", 26 | "output": "assets" 27 | }, 28 | { 29 | "glob": "**/*.svg", 30 | "input": "node_modules/ionicons/dist/ionicons/svg", 31 | "output": "./svg" 32 | } 33 | ], 34 | "styles": [ 35 | { 36 | "input": "src/theme/variables.scss" 37 | }, 38 | { 39 | "input": "src/global.scss" 40 | } 41 | ], 42 | "scripts": [] 43 | }, 44 | "configurations": { 45 | "production": { 46 | "fileReplacements": [ 47 | { 48 | "replace": "src/environments/environment.ts", 49 | "with": "src/environments/environment.prod.ts" 50 | } 51 | ], 52 | "optimization": true, 53 | "outputHashing": "all", 54 | "sourceMap": false, 55 | "extractCss": true, 56 | "namedChunks": false, 57 | "aot": true, 58 | "extractLicenses": true, 59 | "vendorChunk": false, 60 | "buildOptimizer": true, 61 | "budgets": [ 62 | { 63 | "type": "initial", 64 | "maximumWarning": "2mb", 65 | "maximumError": "5mb" 66 | } 67 | ] 68 | }, 69 | "ci": { 70 | "progress": false 71 | } 72 | } 73 | }, 74 | "serve": { 75 | "builder": "@angular-devkit/build-angular:dev-server", 76 | "options": { 77 | "browserTarget": "app:build" 78 | }, 79 | "configurations": { 80 | "production": { 81 | "browserTarget": "app:build:production" 82 | }, 83 | "ci": { 84 | "progress": false 85 | } 86 | } 87 | }, 88 | "extract-i18n": { 89 | "builder": "@angular-devkit/build-angular:extract-i18n", 90 | "options": { 91 | "browserTarget": "app:build" 92 | } 93 | }, 94 | "test": { 95 | "builder": "@angular-devkit/build-angular:karma", 96 | "options": { 97 | "main": "src/test.ts", 98 | "polyfills": "src/polyfills.ts", 99 | "tsConfig": "tsconfig.spec.json", 100 | "karmaConfig": "karma.conf.js", 101 | "styles": [], 102 | "scripts": [], 103 | "assets": [ 104 | { 105 | "glob": "favicon.ico", 106 | "input": "src/", 107 | "output": "/" 108 | }, 109 | { 110 | "glob": "**/*", 111 | "input": "src/assets", 112 | "output": "/assets" 113 | } 114 | ] 115 | }, 116 | "configurations": { 117 | "ci": { 118 | "progress": false, 119 | "watch": false 120 | } 121 | } 122 | }, 123 | "lint": { 124 | "builder": "@angular-devkit/build-angular:tslint", 125 | "options": { 126 | "tsConfig": [ 127 | "tsconfig.app.json", 128 | "tsconfig.spec.json", 129 | "e2e/tsconfig.json" 130 | ], 131 | "exclude": ["**/node_modules/**"] 132 | } 133 | }, 134 | "e2e": { 135 | "builder": "@angular-devkit/build-angular:protractor", 136 | "options": { 137 | "protractorConfig": "e2e/protractor.conf.js", 138 | "devServerTarget": "app:serve" 139 | }, 140 | "configurations": { 141 | "production": { 142 | "devServerTarget": "app:serve:production" 143 | }, 144 | "ci": { 145 | "devServerTarget": "app:serve:ci" 146 | } 147 | } 148 | }, 149 | "ionic-cordova-build": { 150 | "builder": "@ionic/angular-toolkit:cordova-build", 151 | "options": { 152 | "browserTarget": "app:build" 153 | }, 154 | "configurations": { 155 | "production": { 156 | "browserTarget": "app:build:production" 157 | } 158 | } 159 | }, 160 | "ionic-cordova-serve": { 161 | "builder": "@ionic/angular-toolkit:cordova-serve", 162 | "options": { 163 | "cordovaBuildTarget": "app:ionic-cordova-build", 164 | "devServerTarget": "app:serve" 165 | }, 166 | "configurations": { 167 | "production": { 168 | "cordovaBuildTarget": "app:ionic-cordova-build:production", 169 | "devServerTarget": "app:serve:production" 170 | } 171 | } 172 | } 173 | } 174 | } 175 | }, 176 | "cli": { 177 | "defaultCollection": "@ionic/angular-toolkit" 178 | }, 179 | "schematics": { 180 | "@ionic/angular-toolkit:component": { 181 | "styleext": "scss" 182 | }, 183 | "@ionic/angular-toolkit:page": { 184 | "styleext": "scss" 185 | } 186 | } 187 | } 188 | -------------------------------------------------------------------------------- /src/theme/variables.scss: -------------------------------------------------------------------------------- 1 | // Ionic Variables and Theming. For more info, please see: 2 | // http://ionicframework.com/docs/theming/ 3 | 4 | /** Ionic CSS Variables **/ 5 | :root { 6 | /** primary **/ 7 | --ion-color-primary: #3880ff; 8 | --ion-color-primary-rgb: 56, 128, 255; 9 | --ion-color-primary-contrast: #ffffff; 10 | --ion-color-primary-contrast-rgb: 255, 255, 255; 11 | --ion-color-primary-shade: #3171e0; 12 | --ion-color-primary-tint: #4c8dff; 13 | 14 | /** secondary **/ 15 | --ion-color-secondary: #3dc2ff; 16 | --ion-color-secondary-rgb: 61, 194, 255; 17 | --ion-color-secondary-contrast: #ffffff; 18 | --ion-color-secondary-contrast-rgb: 255, 255, 255; 19 | --ion-color-secondary-shade: #36abe0; 20 | --ion-color-secondary-tint: #50c8ff; 21 | 22 | /** tertiary **/ 23 | --ion-color-tertiary: #5260ff; 24 | --ion-color-tertiary-rgb: 82, 96, 255; 25 | --ion-color-tertiary-contrast: #ffffff; 26 | --ion-color-tertiary-contrast-rgb: 255, 255, 255; 27 | --ion-color-tertiary-shade: #4854e0; 28 | --ion-color-tertiary-tint: #6370ff; 29 | 30 | /** success **/ 31 | --ion-color-success: #2dd36f; 32 | --ion-color-success-rgb: 45, 211, 111; 33 | --ion-color-success-contrast: #ffffff; 34 | --ion-color-success-contrast-rgb: 255, 255, 255; 35 | --ion-color-success-shade: #28ba62; 36 | --ion-color-success-tint: #42d77d; 37 | 38 | /** warning **/ 39 | --ion-color-warning: #ffc409; 40 | --ion-color-warning-rgb: 255, 196, 9; 41 | --ion-color-warning-contrast: #000000; 42 | --ion-color-warning-contrast-rgb: 0, 0, 0; 43 | --ion-color-warning-shade: #e0ac08; 44 | --ion-color-warning-tint: #ffca22; 45 | 46 | /** danger **/ 47 | --ion-color-danger: #eb445a; 48 | --ion-color-danger-rgb: 235, 68, 90; 49 | --ion-color-danger-contrast: #ffffff; 50 | --ion-color-danger-contrast-rgb: 255, 255, 255; 51 | --ion-color-danger-shade: #cf3c4f; 52 | --ion-color-danger-tint: #ed576b; 53 | 54 | /** dark **/ 55 | --ion-color-dark: #222428; 56 | --ion-color-dark-rgb: 34, 36, 40; 57 | --ion-color-dark-contrast: #ffffff; 58 | --ion-color-dark-contrast-rgb: 255, 255, 255; 59 | --ion-color-dark-shade: #1e2023; 60 | --ion-color-dark-tint: #383a3e; 61 | 62 | /** medium **/ 63 | --ion-color-medium: #6D6D6D; 64 | --ion-color-medium-rgb: 146, 148, 156; 65 | --ion-color-medium-contrast: #ffffff; 66 | --ion-color-medium-contrast-rgb: 255, 255, 255; 67 | --ion-color-medium-shade: #808289; 68 | --ion-color-medium-tint: #9d9fa6; 69 | 70 | /** light **/ 71 | --ion-color-light: #f4f5f8; 72 | --ion-color-light-rgb: 244, 245, 248; 73 | --ion-color-light-contrast: #000000; 74 | --ion-color-light-contrast-rgb: 0, 0, 0; 75 | --ion-color-light-shade: #d7d8da; 76 | --ion-color-light-tint: #f5f6f9; 77 | } 78 | 79 | @media (prefers-color-scheme: dark) { 80 | /* 81 | * Dark Colors 82 | * ------------------------------------------- 83 | */ 84 | 85 | body { 86 | --ion-color-primary: #428cff; 87 | --ion-color-primary-rgb: 66,140,255; 88 | --ion-color-primary-contrast: #ffffff; 89 | --ion-color-primary-contrast-rgb: 255,255,255; 90 | --ion-color-primary-shade: #3a7be0; 91 | --ion-color-primary-tint: #5598ff; 92 | 93 | --ion-color-secondary: #4b4b4b; 94 | --ion-color-secondary-rgb: 80,200,255; 95 | --ion-color-secondary-contrast: #ffffff; 96 | --ion-color-secondary-contrast-rgb: 255,255,255; 97 | --ion-color-secondary-shade: #46b0e0; 98 | --ion-color-secondary-tint: #62ceff; 99 | 100 | --ion-color-tertiary: #3d3d3d; 101 | --ion-color-tertiary-rgb: 106,100,255; 102 | --ion-color-tertiary-contrast: #ffffff; 103 | --ion-color-tertiary-contrast-rgb: 255,255,255; 104 | --ion-color-tertiary-shade: #5d58e0; 105 | --ion-color-tertiary-tint: #7974ff; 106 | 107 | --ion-color-success: #2fdf75; 108 | --ion-color-success-rgb: 47,223,117; 109 | --ion-color-success-contrast: #000000; 110 | --ion-color-success-contrast-rgb: 0,0,0; 111 | --ion-color-success-shade: #29c467; 112 | --ion-color-success-tint: #44e283; 113 | 114 | --ion-color-warning: #ffd534; 115 | --ion-color-warning-rgb: 255,213,52; 116 | --ion-color-warning-contrast: #000000; 117 | --ion-color-warning-contrast-rgb: 0,0,0; 118 | --ion-color-warning-shade: #e0bb2e; 119 | --ion-color-warning-tint: #ffd948; 120 | 121 | --ion-color-danger: #ff4961; 122 | --ion-color-danger-rgb: 255,73,97; 123 | --ion-color-danger-contrast: #ffffff; 124 | --ion-color-danger-contrast-rgb: 255,255,255; 125 | --ion-color-danger-shade: #e04055; 126 | --ion-color-danger-tint: #ff5b71; 127 | 128 | --ion-color-dark: #f4f5f8; 129 | --ion-color-dark-rgb: 244,245,248; 130 | --ion-color-dark-contrast: #000000; 131 | --ion-color-dark-contrast-rgb: 0,0,0; 132 | --ion-color-dark-shade: #d7d8da; 133 | --ion-color-dark-tint: #f5f6f9; 134 | 135 | --ion-color-medium: #989aa2; 136 | --ion-color-medium-rgb: 152,154,162; 137 | --ion-color-medium-contrast: #000000; 138 | --ion-color-medium-contrast-rgb: 0,0,0; 139 | --ion-color-medium-shade: #86888f; 140 | --ion-color-medium-tint: #a2a4ab; 141 | 142 | --ion-color-light: #222428; 143 | --ion-color-light-rgb: 34,36,40; 144 | --ion-color-light-contrast: #ffffff; 145 | --ion-color-light-contrast-rgb: 255,255,255; 146 | --ion-color-light-shade: #1e2023; 147 | --ion-color-light-tint: #383a3e; 148 | } 149 | 150 | /* 151 | * iOS Dark Theme 152 | * ------------------------------------------- 153 | */ 154 | 155 | .ios body { 156 | --ion-background-color: #000000; 157 | --ion-background-color-rgb: 0,0,0; 158 | 159 | --ion-text-color: #ffffff; 160 | --ion-text-color-rgb: 255,255,255; 161 | 162 | --ion-color-step-50: #0d0d0d; 163 | --ion-color-step-100: #1a1a1a; 164 | --ion-color-step-150: #262626; 165 | --ion-color-step-200: #333333; 166 | --ion-color-step-250: #404040; 167 | --ion-color-step-300: #4d4d4d; 168 | --ion-color-step-350: #595959; 169 | --ion-color-step-400: #666666; 170 | --ion-color-step-450: #737373; 171 | --ion-color-step-500: #808080; 172 | --ion-color-step-550: #8c8c8c; 173 | --ion-color-step-600: #999999; 174 | --ion-color-step-650: #a6a6a6; 175 | --ion-color-step-700: #b3b3b3; 176 | --ion-color-step-750: #bfbfbf; 177 | --ion-color-step-800: #cccccc; 178 | --ion-color-step-850: #d9d9d9; 179 | --ion-color-step-900: #e6e6e6; 180 | --ion-color-step-950: #f2f2f2; 181 | 182 | --ion-toolbar-background: #0d0d0d; 183 | 184 | --ion-item-background: #1c1c1c; 185 | --ion-item-background-activated: #313131; 186 | } 187 | 188 | 189 | /* 190 | * Material Design Dark Theme 191 | * ------------------------------------------- 192 | */ 193 | 194 | .md body { 195 | --ion-background-color: #121212; 196 | --ion-background-color-rgb: 18,18,18; 197 | 198 | --ion-text-color: #ffffff; 199 | --ion-text-color-rgb: 255,255,255; 200 | 201 | --ion-border-color: #222222; 202 | 203 | --ion-color-step-50: #1e1e1e; 204 | --ion-color-step-100: #2a2a2a; 205 | --ion-color-step-150: #363636; 206 | --ion-color-step-200: #414141; 207 | --ion-color-step-250: #4d4d4d; 208 | --ion-color-step-300: #595959; 209 | --ion-color-step-350: #656565; 210 | --ion-color-step-400: #717171; 211 | --ion-color-step-450: #7d7d7d; 212 | --ion-color-step-500: #898989; 213 | --ion-color-step-550: #949494; 214 | --ion-color-step-600: #a0a0a0; 215 | --ion-color-step-650: #acacac; 216 | --ion-color-step-700: #b8b8b8; 217 | --ion-color-step-750: #c4c4c4; 218 | --ion-color-step-800: #d0d0d0; 219 | --ion-color-step-850: #dbdbdb; 220 | --ion-color-step-900: #e7e7e7; 221 | --ion-color-step-950: #f3f3f3; 222 | 223 | --ion-item-background: #1A1B1E; 224 | } 225 | 226 | ion-title.title-large { 227 | --color: white; 228 | } 229 | } -------------------------------------------------------------------------------- /config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Ongrass 4 | La mejor app para monitorear 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 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | --------------------------------------------------------------------------------