Commit 9ed161a11498461cddeab06bc7c4db509746c9b2
Exists in
master
Merge branch 'develop' into 'master'
Develop See merge request !123
Showing
19 changed files
Show diff stats
img/FechaEntrega.png
4.63 KB
img/clientePrincipal.png
5.5 KB
img/datoscliente.png
5.53 KB
img/datosextra.png
6.97 KB
img/dimiciliodeentrega.png
8.24 KB
img/favicon.ico
No preview for this file type
img/fechaDeReparto.png
4.19 KB
img/parametrizar.png
img/plazos.png
8.56 KB
img/remitoabierto.png
6.57 KB
index.html
| 1 | <html ng-app="appWrapperDemo"> | 1 | <html ng-app="appWrapperDemo"> |
| 2 | <head> | 2 | <head> |
| 3 | <meta charset="UTF-8"/> | 3 | <meta charset="UTF-8"/> |
| 4 | <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | 4 | <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> |
| 5 | <base href="./"> | 5 | <base href="./"> |
| 6 | 6 | ||
| 7 | <!--CSS--> | 7 | <!--CSS--> |
| 8 | <link href="./node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"/> | 8 | <link href="./node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"/> |
| 9 | <link href="./node_modules/font-awesome/css/font-awesome.min.css" rel="stylesheet"/> | 9 | <link href="./node_modules/font-awesome/css/font-awesome.min.css" rel="stylesheet"/> |
| 10 | <link href="./node_modules/angular-ui-swiper/dist/angular-ui-swiper.css" rel="stylesheet"/> | 10 | <link href="./node_modules/angular-ui-swiper/dist/angular-ui-swiper.css" rel="stylesheet"/> |
| 11 | <link href="./node_modules/angular-ui-grid/ui-grid.min.css" rel="stylesheet"/> | 11 | <link href="./node_modules/angular-ui-grid/ui-grid.min.css" rel="stylesheet"/> |
| 12 | <link href="./node_modules/ladda/dist/ladda-themeless.min.css" rel="stylesheet"/> | 12 | <link href="./node_modules/ladda/dist/ladda-themeless.min.css" rel="stylesheet"/> |
| 13 | <link href="./node_modules/leaflet/dist/leaflet.css" rel="stylesheet"/> | 13 | <link href="./node_modules/leaflet/dist/leaflet.css" rel="stylesheet"/> |
| 14 | <link href="./css/general.css" rel="stylesheet"/> | 14 | <link href="./css/general.css" rel="stylesheet"/> |
| 15 | <link rel="shortcut icon" href="./img/favicon.ico" /> | ||
| 16 | |||
| 15 | 17 | ||
| 16 | <!--VENDOR JS--> | 18 | <!--VENDOR JS--> |
| 17 | <script src="./node_modules/jquery/dist/jquery.min.js"></script> | 19 | <script src="./node_modules/jquery/dist/jquery.min.js"></script> |
| 20 | <script src="./node_modules/popper.js/dist/umd/popper.min.js"></script> | ||
| 18 | <script src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script> | 21 | <script src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script> |
| 19 | <script src="./node_modules/angular/angular.min.js"></script> | 22 | <script src="./node_modules/angular/angular.min.js"></script> |
| 20 | <script src="./node_modules/angular-cookies/angular-cookies.min.js"></script> | 23 | <script src="./node_modules/angular-cookies/angular-cookies.min.js"></script> |
| 21 | <script src="./node_modules/angular-i18n/angular-locale_es-ar.js"></script> | 24 | <script src="./node_modules/angular-i18n/angular-locale_es-ar.js"></script> |
| 22 | <script src="./node_modules/angular-route/angular-route.min.js"></script> | 25 | <script src="./node_modules/angular-route/angular-route.min.js"></script> |
| 23 | <script src="./node_modules/angular-sanitize/angular-sanitize.min.js"></script> | 26 | <script src="./node_modules/angular-sanitize/angular-sanitize.min.js"></script> |
| 24 | <script src="./node_modules/ui-bootstrap4/dist/ui-bootstrap-tpls.js"></script> | 27 | <script src="./node_modules/ui-bootstrap4/dist/ui-bootstrap-tpls.js"></script> |
| 25 | <script src="./node_modules/angular-ui-swiper/dist/angular-ui-swiper.js"></script> | 28 | <script src="./node_modules/angular-ui-swiper/dist/angular-ui-swiper.js"></script> |
| 26 | <script src="./node_modules/pdfmake/build/pdfmake.min.js"></script> | 29 | <script src="./node_modules/pdfmake/build/pdfmake.min.js"></script> |
| 27 | <script src="./node_modules/pdfmake/build/vfs_fonts.js"></script> | 30 | <script src="./node_modules/pdfmake/build/vfs_fonts.js"></script> |
| 28 | <script src="./node_modules/lodash/lodash.min.js"></script> | 31 | <script src="./node_modules/lodash/lodash.min.js"></script> |
| 29 | <script src="./node_modules/jszip/dist/jszip.min.js"></script> | 32 | <script src="./node_modules/jszip/dist/jszip.min.js"></script> |
| 30 | <script src="./node_modules/excel-builder/dist/excel-builder.dist.min.js"></script> | 33 | <script src="./node_modules/excel-builder/dist/excel-builder.dist.min.js"></script> |
| 31 | <script src="./node_modules/angular-ui-grid/ui-grid.min.js"></script> | 34 | <script src="./node_modules/angular-ui-grid/ui-grid.min.js"></script> |
| 32 | <script src="./node_modules/ladda/dist/spin.min.js"></script> | 35 | <script src="./node_modules/ladda/dist/spin.min.js"></script> |
| 33 | <script src="./node_modules/ladda/dist/ladda.min.js"></script> | 36 | <script src="./node_modules/ladda/dist/ladda.min.js"></script> |
| 34 | <script src="./node_modules/angular-ladda/dist/angular-ladda.min.js"></script> | 37 | <script src="./node_modules/angular-ladda/dist/angular-ladda.min.js"></script> |
| 35 | <script src="./node_modules/leaflet/dist/leaflet.js"></script> | 38 | <script src="./node_modules/leaflet/dist/leaflet.js"></script> |
| 36 | <script src="./node_modules/ngstorage/ngStorage.min.js"></script> | 39 | <script src="./node_modules/ngstorage/ngStorage.min.js"></script> |
| 37 | <script src="./vendor/cordovaGeolocationModule.min.js"></script> | 40 | <script src="./vendor/cordovaGeolocationModule.min.js"></script> |
| 38 | <script src="./node_modules/chart.js/dist/Chart.min.js"></script> | 41 | <script src="./node_modules/chart.js/dist/Chart.min.js"></script> |
| 39 | <script src="./node_modules/angular-chart.js/dist/angular-chart.min.js"></script> | 42 | <script src="./node_modules/angular-chart.js/dist/angular-chart.min.js"></script> |
| 40 | <script src="./node_modules/angular-file-saver/dist/angular-file-saver.bundle.js"></script> | 43 | <script src="./node_modules/angular-file-saver/dist/angular-file-saver.bundle.js"></script> |
| 41 | <script src="./node_modules/angular-md5/angular-md5.min.js"></script> | 44 | <script src="./node_modules/angular-md5/angular-md5.min.js"></script> |
| 42 | 45 | ||
| 43 | <script src="./node_modules/foca-abm-chofer/dist/foca-abm-chofer.min.js"></script> | 46 | <script src="./node_modules/foca-abm-chofer/dist/foca-abm-chofer.min.js"></script> |
| 47 | <script src="./node_modules/foca-abm-cliente/dist/foca-abm-cliente.min.js"></script> | ||
| 44 | <script src="./node_modules/foca-abm-precios-condiciones/dist/foca-abm-precios-condiciones.min.js"></script> | 48 | <script src="./node_modules/foca-abm-precios-condiciones/dist/foca-abm-precios-condiciones.min.js"></script> |
| 45 | <script src="./node_modules/foca-abm-vehiculo/dist/foca-abm-vehiculo.min.js"></script> | 49 | <script src="./node_modules/foca-abm-vehiculo/dist/foca-abm-vehiculo.min.js"></script> |
| 46 | <script src="./node_modules/foca-abm-vendedor-cobrador/dist/foca-abm-vendedor-cobrador.min.js"></script> | 50 | <script src="./node_modules/foca-abm-vendedor-cobrador/dist/foca-abm-vendedor-cobrador.min.js"></script> |
| 47 | <script src="./node_modules/foca-activar-hoja-ruta/dist/foca-activar-hoja-ruta.min.js"></script> | 51 | <script src="./node_modules/foca-activar-hoja-ruta/dist/foca-activar-hoja-ruta.min.js"></script> |
| 48 | <script src="./node_modules/foca-admin-seguimiento/dist/foca-admin-seguimiento.min.js"></script> | 52 | <script src="./node_modules/foca-admin-seguimiento/dist/foca-admin-seguimiento.min.js"></script> |
| 49 | <script src="./node_modules/foca-agendar-visita/dist/foca-agendar-visita.min.js"></script> | 53 | <script src="./node_modules/foca-agendar-visita/dist/foca-agendar-visita.min.js"></script> |
| 50 | <script src="./node_modules/foca-autorizar-nota-pedido/dist/foca-autorizar-nota-pedido.min.js"></script> | 54 | <script src="./node_modules/foca-autorizar-nota-pedido/dist/foca-autorizar-nota-pedido.min.js"></script> |
| 51 | <script src="./node_modules/foca-botonera-facturador/dist/foca-botonera-facturador.min.js"></script> | 55 | <script src="./node_modules/foca-botonera-facturador/dist/foca-botonera-facturador.min.js"></script> |
| 52 | <script src="./node_modules/foca-botonera-lateral/dist/foca-botonera-lateral.min.js"></script> | 56 | <script src="./node_modules/foca-botonera-lateral/dist/foca-botonera-lateral.min.js"></script> |
| 53 | <script src="./node_modules/foca-botonera-principal/dist/foca-botonera-principal.min.js"></script> | 57 | <script src="./node_modules/foca-botonera-principal/dist/foca-botonera-principal.min.js"></script> |
| 54 | <script src="./node_modules/foca-busqueda-cliente/dist/foca-busqueda-cliente.min.js"></script> | 58 | <script src="./node_modules/foca-busqueda-cliente/dist/foca-busqueda-cliente.min.js"></script> |
| 55 | <script src="./node_modules/foca-cabecera-facturador/dist/foca-cabecera-facturador.min.js"></script> | 59 | <script src="./node_modules/foca-cabecera-facturador/dist/foca-cabecera-facturador.min.js"></script> |
| 56 | <script src="./node_modules/foca-configuracion/dist/foca-configuracion.min.js"></script> | 60 | <script src="./node_modules/foca-configuracion/dist/foca-configuracion.min.js"></script> |
| 57 | <script src="./node_modules/foca-configurar-terminal/dist/foca-configurar-terminal.min.js"></script> | 61 | <script src="./node_modules/foca-configurar-terminal/dist/foca-configurar-terminal.min.js"></script> |
| 58 | <script src="./node_modules/foca-crear-cobranza/dist/foca-crear-cobranza.min.js"></script> | 62 | <script src="./node_modules/foca-crear-cobranza/dist/foca-crear-cobranza.min.js"></script> |
| 59 | <script src="./node_modules/foca-crear-hoja-ruta/dist/foca-crear-hoja-ruta.min.js"></script> | 63 | <script src="./node_modules/foca-crear-hoja-ruta/dist/foca-crear-hoja-ruta.min.js"></script> |
| 60 | <script src="./node_modules/foca-crear-nota-pedido/dist/foca-crear-nota-pedido.min.js"></script> | 64 | <script src="./node_modules/foca-crear-nota-pedido/dist/foca-crear-nota-pedido.min.js"></script> |
| 61 | <script src="./node_modules/foca-crear-login/dist/foca-crear-login.min.js"></script> | 65 | <script src="./node_modules/foca-crear-login/dist/foca-crear-login.min.js"></script> |
| 62 | <script src="./node_modules/foca-crear-remito/dist/foca-crear-remito.min.js"></script> | 66 | <script src="./node_modules/foca-crear-remito/dist/foca-crear-remito.min.js"></script> |
| 63 | <script src="./node_modules/foca-directivas/dist/foca-directivas.min.js"></script> | 67 | <script src="./node_modules/foca-directivas/dist/foca-directivas.min.js"></script> |
| 64 | <script src="./node_modules/foca-estado-cisternas/dist/foca-estado-cisternas.min.js"></script> | 68 | <script src="./node_modules/foca-estado-cisternas/dist/foca-estado-cisternas.min.js"></script> |
| 65 | <script src="./node_modules/foca-filtros/dist/foca-filtros.min.js"></script> | 69 | <script src="./node_modules/foca-filtros/dist/foca-filtros.min.js"></script> |
| 66 | <script src="./node_modules/foca-hoja-ruta/dist/foca-hoja-ruta.min.js"></script> | 70 | <script src="./node_modules/foca-hoja-ruta/dist/foca-hoja-ruta.min.js"></script> |
| 67 | <script src="./node_modules/foca-informes/dist/foca-informes.min.js"></script> | 71 | <script src="./node_modules/foca-informes/dist/foca-informes.min.js"></script> |
| 68 | <script src="./node_modules/foca-login/dist/foca-login.min.js"></script> | 72 | <script src="./node_modules/foca-login/dist/foca-login.min.js"></script> |
| 69 | <script src="./node_modules/foca-logistica-pedido-ruta/dist/foca-logistica-pedido-ruta.min.js"></script> | 73 | <script src="./node_modules/foca-logistica-pedido-ruta/dist/foca-logistica-pedido-ruta.min.js"></script> |
| 70 | <script src="./node_modules/foca-modal/dist/foca-modal.min.js"></script> | 74 | <script src="./node_modules/foca-modal/dist/foca-modal.min.js"></script> |
| 71 | <script src="./node_modules/foca-modal-busqueda-productos/dist/foca-busqueda-productos.min.js"></script> | 75 | <script src="./node_modules/foca-modal-busqueda-productos/dist/foca-busqueda-productos.min.js"></script> |
| 72 | <script src="./node_modules/foca-modal-cheque/dist/foca-modal-cheque.min.js"></script> | 76 | <script src="./node_modules/foca-modal-cheque/dist/foca-modal-cheque.min.js"></script> |
| 73 | <script src="./node_modules/foca-modal-cobranza/dist/foca-modal-cobranza.min.js"></script> | 77 | <script src="./node_modules/foca-modal-cobranza/dist/foca-modal-cobranza.min.js"></script> |
| 74 | <script src="./node_modules/foca-modal-cotizacion/dist/foca-modal-cotizacion.min.js"></script> | 78 | <script src="./node_modules/foca-modal-cotizacion/dist/foca-modal-cotizacion.min.js"></script> |
| 75 | <script src="./node_modules/foca-modal-detalle-cisternas/dist/foca-modal-detalle-cisternas.min.js"></script> | 79 | <script src="./node_modules/foca-modal-detalle-cisternas/dist/foca-modal-detalle-cisternas.min.js"></script> |
| 76 | <script src="./node_modules/foca-modal-detalle-hoja-ruta/dist/foca-modal-detalle-hoja-ruta.min.js"></script> | 80 | <script src="./node_modules/foca-modal-detalle-hoja-ruta/dist/foca-modal-detalle-hoja-ruta.min.js"></script> |
| 77 | <script src="./node_modules/foca-modal-detalles/dist/foca-modal-detalles.min.js"></script> | 81 | <script src="./node_modules/foca-modal-detalles/dist/foca-modal-detalles.min.js"></script> |
| 78 | <script src="./node_modules/foca-modal-domicilio/dist/foca-modal-domicilios.min.js"></script> | 82 | <script src="./node_modules/foca-modal-domicilio/dist/foca-modal-domicilios.min.js"></script> |
| 79 | <script src="./node_modules/foca-modal-efectivo/dist/foca-modal-efectivo.min.js"></script> | 83 | <script src="./node_modules/foca-modal-efectivo/dist/foca-modal-efectivo.min.js"></script> |
| 80 | <script src="./node_modules/foca-modal-factura/dist/foca-modal-factura.min.js"></script> | 84 | <script src="./node_modules/foca-modal-factura/dist/foca-modal-factura.min.js"></script> |
| 81 | <script src="./node_modules/foca-modal-factura-detalle/dist/foca-modal-factura-detalle.min.js"></script> | 85 | <script src="./node_modules/foca-modal-factura-detalle/dist/foca-modal-factura-detalle.min.js"></script> |
| 82 | <script src="./node_modules/foca-modal-flete/dist/foca-modal-flete.min.js"></script> | 86 | <script src="./node_modules/foca-modal-flete/dist/foca-modal-flete.min.js"></script> |
| 83 | <script src="./node_modules/foca-modal-grafico-cisternas/dist/foca-modal-grafico-cisternas.min.js"></script> | 87 | <script src="./node_modules/foca-modal-grafico-cisternas/dist/foca-modal-grafico-cisternas.min.js"></script> |
| 84 | <script src="./node_modules/foca-modal-informe/dist/foca-modal-informe.min.js"></script> | 88 | <script src="./node_modules/foca-modal-informe/dist/foca-modal-informe.min.js"></script> |
| 85 | <script src="./node_modules/foca-modal-lista-precio/dist/foca-modal-lista-precio.min.js"></script> | 89 | <script src="./node_modules/foca-modal-lista-precio/dist/foca-modal-lista-precio.min.js"></script> |
| 86 | <script src="./node_modules/foca-modal-localizar/dist/foca-modal-localizar.min.js"></script> | 90 | <script src="./node_modules/foca-modal-localizar/dist/foca-modal-localizar.min.js"></script> |
| 87 | <script src="./node_modules/foca-modal-login/dist/foca-modal-login.min.js"></script> | 91 | <script src="./node_modules/foca-modal-login/dist/foca-modal-login.min.js"></script> |
| 88 | <script src="./node_modules/foca-modal-nota-pedido/dist/foca-modal-nota-pedido.min.js"></script> | 92 | <script src="./node_modules/foca-modal-nota-pedido/dist/foca-modal-nota-pedido.min.js"></script> |
| 89 | <script src="./node_modules/foca-modal-precio-condiciones/dist/foca-modal-precio-condiciones.min.js"></script> | 93 | <script src="./node_modules/foca-modal-precio-condiciones/dist/foca-modal-precio-condiciones.min.js"></script> |
| 90 | <script src="./node_modules/foca-modal-punto-descarga/dist/foca-modal-punto-descarga.min.js"></script> | 94 | <script src="./node_modules/foca-modal-punto-descarga/dist/foca-modal-punto-descarga.min.js"></script> |
| 91 | <script src="./node_modules/foca-modal-remito/dist/foca-modal-remito.min.js"></script> | 95 | <script src="./node_modules/foca-modal-remito/dist/foca-modal-remito.min.js"></script> |
| 92 | <script src="./node_modules/foca-modal-resumen-cuenta/dist/foca-modal-resumen-cuenta.min.js"></script> | 96 | <script src="./node_modules/foca-modal-resumen-cuenta/dist/foca-modal-resumen-cuenta.min.js"></script> |
| 93 | <script src="./node_modules/foca-modal-tarifa-flete/dist/foca-modal-tarifa-flete.min.js"></script> | 97 | <script src="./node_modules/foca-modal-tarifa-flete/dist/foca-modal-tarifa-flete.min.js"></script> |
| 94 | <script src="./node_modules/foca-modal-unidad-medida/dist/foca-modal-unidad-medida.min.js"></script> | 98 | <script src="./node_modules/foca-modal-unidad-medida/dist/foca-modal-unidad-medida.min.js"></script> |
| 95 | <script src="./node_modules/foca-nombre-empresa/dist/foca-nombre-empresa.min.js"></script> | 99 | <script src="./node_modules/foca-nombre-empresa/dist/foca-nombre-empresa.min.js"></script> |
| 96 | <script src="./node_modules/foca-parametros/dist/foca-parametros.min.js"></script> | 100 | <script src="./node_modules/foca-parametros/dist/foca-parametros.min.js"></script> |
| 97 | <script src="./node_modules/foca-seguimiento/dist/foca-seguimiento.min.js"></script> | 101 | <script src="./node_modules/foca-seguimiento/dist/foca-seguimiento.min.js"></script> |
| 98 | <script src="./node_modules/foca-teclado/dist/foca-teclado.min.js"></script> | 102 | <script src="./node_modules/foca-teclado/dist/foca-teclado.min.js"></script> |
| 99 | <script src="./src/js/app.js"></script> | 103 | <script src="./src/js/app.js"></script> |
| 100 | <script src="./src/js/controller.js"></script> | 104 | <script src="./src/js/controller.js"></script> |
| 101 | <script src="./src/etc/develop.js"></script> | 105 | <script src="./src/etc/develop.js"></script> |
| 102 | 106 | ||
| 103 | </head> | 107 | </head> |
| 104 | <body class="w-100"> | 108 | <body class="w-100"> |
| 105 | <style> | 109 | <style> |
| 106 | </style> | 110 | </style> |
| 107 | <foca-nombre-empresa></foca-nombre-empresa> | 111 | <foca-nombre-empresa></foca-nombre-empresa> |
| 108 | <div ng-view class="container contenedor"></div> | 112 | <div ng-view class="container contenedor"></div> |
| 109 | <div ng-controller="appWrapperDemoController" class="teclado-container container d-none d-md-block "> | 113 | <div ng-controller="appWrapperDemoController" class="teclado-container container d-none d-md-block "> |
| 110 | <foca-botonera-lateral></foca-botonera-lateral> | 114 | <foca-botonera-lateral></foca-botonera-lateral> |
| 111 | <foca-teclado | 115 | <foca-teclado |
| 112 | ng-show="usarTeclado && mostrarTeclado" | 116 | ng-show="usarTeclado && mostrarTeclado" |
| 113 | alfanumeric="true" | 117 | alfanumeric="true" |
| 114 | numeric="true" | 118 | numeric="true" |
| 115 | > | 119 | > |
| 116 | </foca-teclado> | 120 | </foca-teclado> |
| 117 | </div> | 121 | </div> |
| 118 | </body> | 122 | </body> |
| 119 | 123 | ||
| 120 | </html> | 124 | </html> |
| 121 | 125 |
package.json
| 1 | { | 1 | { |
| 2 | "name": "wrapper-demo", | 2 | "name": "wrapper-demo", |
| 3 | "version": "0.0.1", | 3 | "version": "0.0.1", |
| 4 | "description": "", | 4 | "description": "", |
| 5 | "main": "main.js", | 5 | "main": "main.js", |
| 6 | "scripts": { | 6 | "scripts": { |
| 7 | "test": "unit-test.html", | 7 | "test": "unit-test.html", |
| 8 | "initdev": "npm install gulp --global && npm install && npm install -g jshint", | 8 | "initdev": "npm install gulp --global && npm install && npm install -g jshint", |
| 9 | "gulp-pre-commit": "gulp pre-commit", | 9 | "gulp-pre-commit": "gulp pre-commit", |
| 10 | "compile": "gulp uglify && gulp sass", | 10 | "compile": "gulp uglify && gulp sass", |
| 11 | "actualizar": "git pull origin master", | 11 | "actualizar": "git pull origin master", |
| 12 | "install-dev": "gulp pre-install && npm install && gulp post-install" | 12 | "install-dev": "gulp pre-install && npm install && gulp post-install" |
| 13 | }, | 13 | }, |
| 14 | "pre-commit": [ | 14 | "pre-commit": [ |
| 15 | "gulp-pre-commit" | 15 | "gulp-pre-commit" |
| 16 | ], | 16 | ], |
| 17 | "repository": { | 17 | "repository": { |
| 18 | "type": "git", | 18 | "type": "git", |
| 19 | "url": "git@debonline.dyndns.org:npm/wrapper-demo.git" | 19 | "url": "git@debonline.dyndns.org:npm/wrapper-demo.git" |
| 20 | }, | 20 | }, |
| 21 | "author": "Foca Software", | 21 | "author": "Foca Software", |
| 22 | "license": "ISC", | 22 | "license": "ISC", |
| 23 | "dependencies": { | 23 | "dependencies": { |
| 24 | "angular": "^1.7.8", | 24 | "angular": "^1.7.8", |
| 25 | "angular-chart.js": "1.1.1", | 25 | "angular-chart.js": "1.1.1", |
| 26 | "angular-cookies": "^1.7.8", | 26 | "angular-cookies": "^1.7.8", |
| 27 | "angular-file-saver": "^1.1.3", | 27 | "angular-file-saver": "^1.1.3", |
| 28 | "angular-i18n": "^1.7.8", | 28 | "angular-i18n": "^1.7.8", |
| 29 | "angular-ladda": "^0.4.3", | 29 | "angular-ladda": "^0.4.3", |
| 30 | "angular-md5": "^0.1.10", | 30 | "angular-md5": "^0.1.10", |
| 31 | "angular-mocks": "^1.7.8", | 31 | "angular-mocks": "^1.7.8", |
| 32 | "angular-route": "^1.7.8", | 32 | "angular-route": "^1.7.8", |
| 33 | "angular-sanitize": "^1.7.8", | 33 | "angular-sanitize": "^1.7.8", |
| 34 | "angular-ui-grid": "4.6.6", | 34 | "angular-ui-grid": "4.6.6", |
| 35 | "angular-ui-swiper": "^2.3.8", | 35 | "angular-ui-swiper": "^2.3.8", |
| 36 | "bootstrap": "^4.3.1", | 36 | "bootstrap": "^4.3.1", |
| 37 | "chart.js": "2.7.3", | 37 | "chart.js": "2.7.3", |
| 38 | "excel-builder": "2.0.3", | 38 | "excel-builder": "2.0.3", |
| 39 | "foca-abm-chofer": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-chofer.git", | 39 | "foca-abm-chofer": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-chofer.git", |
| 40 | "foca-abm-cliente": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-cliente.git", | ||
| 40 | "foca-abm-plazo-pago": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-plazo-pago.git", | 41 | "foca-abm-plazo-pago": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-plazo-pago.git", |
| 41 | "foca-abm-precios-condiciones": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-precios-condiciones.git", | 42 | "foca-abm-precios-condiciones": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-precios-condiciones.git", |
| 42 | "foca-abm-vehiculo": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-vehiculo.git", | 43 | "foca-abm-vehiculo": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-vehiculo.git", |
| 43 | "foca-abm-vendedor-cobrador": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-vendedor-cobrador.git", | 44 | "foca-abm-vendedor-cobrador": "git+ssh://git@debonline.dyndns.org:npm/foca-abm-vendedor-cobrador.git", |
| 44 | "foca-activar-hoja-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-activar-hoja-ruta.git", | 45 | "foca-activar-hoja-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-activar-hoja-ruta.git", |
| 45 | "foca-admin-seguimiento": "git+ssh://git@debonline.dyndns.org:npm/foca-admin-seguimiento.git", | 46 | "foca-admin-seguimiento": "git+ssh://git@debonline.dyndns.org:npm/foca-admin-seguimiento.git", |
| 46 | "foca-agendar-visita": "git+ssh://git@debonline.dyndns.org:npm/foca-agendar-visita.git", | 47 | "foca-agendar-visita": "git+ssh://git@debonline.dyndns.org:npm/foca-agendar-visita.git", |
| 47 | "foca-autorizar-nota-pedido": "git+ssh://git@debonline.dyndns.org:npm/foca-autorizar-nota-pedido.git", | 48 | "foca-autorizar-nota-pedido": "git+ssh://git@debonline.dyndns.org:npm/foca-autorizar-nota-pedido.git", |
| 48 | "foca-botonera-facturador": "git+ssh://git@debonline.dyndns.org:npm/foca-botonera-facturador.git", | 49 | "foca-botonera-facturador": "git+ssh://git@debonline.dyndns.org:npm/foca-botonera-facturador.git", |
| 49 | "foca-botonera-lateral": "git+ssh://git@debonline.dyndns.org:npm/foca-botonera-lateral.git", | 50 | "foca-botonera-lateral": "git+ssh://git@debonline.dyndns.org:npm/foca-botonera-lateral.git", |
| 50 | "foca-botonera-principal": "git+ssh://git@debonline.dyndns.org:npm/foca-botonera-principal.git", | 51 | "foca-botonera-principal": "git+ssh://git@debonline.dyndns.org:npm/foca-botonera-principal.git", |
| 51 | "foca-busqueda-cliente": "git+ssh://git@debonline.dyndns.org:npm/foca-busqueda-cliente.git", | 52 | "foca-busqueda-cliente": "git+ssh://git@debonline.dyndns.org:npm/foca-busqueda-cliente.git", |
| 52 | "foca-cabecera-facturador": "git+ssh://git@debonline.dyndns.org:npm/foca-cabecera-facturador.git", | 53 | "foca-cabecera-facturador": "git+ssh://git@debonline.dyndns.org:npm/foca-cabecera-facturador.git", |
| 53 | "foca-configuracion": "git+ssh://git@debonline.dyndns.org:npm/foca-configuracion.git", | 54 | "foca-configuracion": "git+ssh://git@debonline.dyndns.org:npm/foca-configuracion.git", |
| 54 | "foca-configurar-terminal": "git+ssh://git@debonline.dyndns.org:npm/foca-configurar-terminal.git", | 55 | "foca-configurar-terminal": "git+ssh://git@debonline.dyndns.org:npm/foca-configurar-terminal.git", |
| 55 | "foca-crear-cobranza": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-cobranza.git", | 56 | "foca-crear-cobranza": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-cobranza.git", |
| 56 | "foca-crear-hoja-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-hoja-ruta.git", | 57 | "foca-crear-hoja-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-hoja-ruta.git", |
| 57 | "foca-crear-login": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-login.git", | 58 | "foca-crear-login": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-login.git", |
| 58 | "foca-crear-nota-pedido": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-nota-pedido.git", | 59 | "foca-crear-nota-pedido": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-nota-pedido.git", |
| 59 | "foca-crear-remito": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-remito.git", | 60 | "foca-crear-remito": "git+ssh://git@debonline.dyndns.org:npm/foca-crear-remito.git", |
| 60 | "foca-directivas": "git+ssh://git@debonline.dyndns.org:npm/foca-directivas.git", | 61 | "foca-directivas": "git+ssh://git@debonline.dyndns.org:npm/foca-directivas.git", |
| 61 | "foca-estado-cisternas": "git+ssh://git@debonline.dyndns.org:npm/foca-estado-cisternas.git", | 62 | "foca-estado-cisternas": "git+ssh://git@debonline.dyndns.org:npm/foca-estado-cisternas.git", |
| 62 | "foca-filtros": "git+ssh://git@debonline.dyndns.org:npm/foca-filtros.git", | 63 | "foca-filtros": "git+ssh://git@debonline.dyndns.org:npm/foca-filtros.git", |
| 63 | "foca-hoja-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-hoja-ruta.git", | 64 | "foca-hoja-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-hoja-ruta.git", |
| 64 | "foca-informes": "git+ssh://git@debonline.dyndns.org:npm/foca-informes.git", | 65 | "foca-informes": "git+ssh://git@debonline.dyndns.org:npm/foca-informes.git", |
| 65 | "foca-login": "git+ssh://git@debonline.dyndns.org:npm/foca-login.git", | 66 | "foca-login": "git+ssh://git@debonline.dyndns.org:npm/foca-login.git", |
| 66 | "foca-logistica-pedido-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-logistica-pedido-ruta.git", | 67 | "foca-logistica-pedido-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-logistica-pedido-ruta.git", |
| 67 | "foca-modal": "git+ssh://git@debonline.dyndns.org:npm/foca-modal.git", | 68 | "foca-modal": "git+ssh://git@debonline.dyndns.org:npm/foca-modal.git", |
| 68 | "foca-modal-busqueda-productos": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-busqueda-productos.git", | 69 | "foca-modal-busqueda-productos": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-busqueda-productos.git", |
| 69 | "foca-modal-cheque": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-cheque.git", | 70 | "foca-modal-cheque": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-cheque.git", |
| 70 | "foca-modal-cobranza": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-cobranza.git", | 71 | "foca-modal-cobranza": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-cobranza.git", |
| 71 | "foca-modal-cotizacion": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-cotizacion.git", | 72 | "foca-modal-cotizacion": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-cotizacion.git", |
| 72 | "foca-modal-detalle-cisternas": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-detalle-cisternas.git", | 73 | "foca-modal-detalle-cisternas": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-detalle-cisternas.git", |
| 73 | "foca-modal-detalle-hoja-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-detalle-hoja-ruta.git", | 74 | "foca-modal-detalle-hoja-ruta": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-detalle-hoja-ruta.git", |
| 74 | "foca-modal-detalles": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-detalles.git", | 75 | "foca-modal-detalles": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-detalles.git", |
| 75 | "foca-modal-domicilio": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-domicilio.git", | 76 | "foca-modal-domicilio": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-domicilio.git", |
| 76 | "foca-modal-efectivo": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-efectivo.git", | 77 | "foca-modal-efectivo": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-efectivo.git", |
| 77 | "foca-modal-factura": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-factura.git", | 78 | "foca-modal-factura": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-factura.git", |
| 78 | "foca-modal-factura-detalle": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-factura-detalle.git", | 79 | "foca-modal-factura-detalle": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-factura-detalle.git", |
| 79 | "foca-modal-flete": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-flete.git", | 80 | "foca-modal-flete": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-flete.git", |
| 80 | "foca-modal-grafico-cisternas": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-grafico-cisternas.git", | 81 | "foca-modal-grafico-cisternas": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-grafico-cisternas.git", |
| 81 | "foca-modal-informe": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-informe.git", | 82 | "foca-modal-informe": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-informe.git", |
| 82 | "foca-modal-lista-precio": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-lista-precio.git", | 83 | "foca-modal-lista-precio": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-lista-precio.git", |
| 83 | "foca-modal-localizar": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-localizar.git", | 84 | "foca-modal-localizar": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-localizar.git", |
| 84 | "foca-modal-login": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-login.git", | 85 | "foca-modal-login": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-login.git", |
| 85 | "foca-modal-nota-pedido": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-nota-pedido.git", | 86 | "foca-modal-nota-pedido": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-nota-pedido.git", |
| 86 | "foca-modal-precio-condiciones": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-precio-condiciones.git", | 87 | "foca-modal-precio-condiciones": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-precio-condiciones.git", |
| 87 | "foca-modal-punto-descarga": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-punto-descarga.git", | 88 | "foca-modal-punto-descarga": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-punto-descarga.git", |
| 88 | "foca-modal-remito": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-remito.git", | 89 | "foca-modal-remito": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-remito.git", |
| 89 | "foca-modal-resumen-cuenta": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-resumen-cuenta.git", | 90 | "foca-modal-resumen-cuenta": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-resumen-cuenta.git", |
| 90 | "foca-modal-tarifa-flete": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-tarifa-flete.git", | 91 | "foca-modal-tarifa-flete": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-tarifa-flete.git", |
| 91 | "foca-modal-unidad-medida": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-unidad-medida.git", | 92 | "foca-modal-unidad-medida": "git+ssh://git@debonline.dyndns.org:npm/foca-modal-unidad-medida.git", |
| 92 | "foca-nombre-empresa": "git+ssh://git@debonline.dyndns.org:npm/foca-nombre-empresa.git", | 93 | "foca-nombre-empresa": "git+ssh://git@debonline.dyndns.org:npm/foca-nombre-empresa.git", |
| 93 | "foca-parametros": "git+ssh://git@debonline.dyndns.org:npm/foca-parametros.git", | 94 | "foca-parametros": "git+ssh://git@debonline.dyndns.org:npm/foca-parametros.git", |
| 94 | "foca-seguimiento": "git+ssh://git@debonline.dyndns.org:npm/foca-seguimiento.git", | 95 | "foca-seguimiento": "git+ssh://git@debonline.dyndns.org:npm/foca-seguimiento.git", |
| 95 | "foca-teclado": "git+ssh://git@debonline.dyndns.org:npm/foca-teclado.git", | 96 | "foca-teclado": "git+ssh://git@debonline.dyndns.org:npm/foca-teclado.git", |
| 96 | "font-awesome": "^4.7.0", | 97 | "font-awesome": "^4.7.0", |
| 97 | "gulp-angular-templatecache": "^2.2.6", | 98 | "gulp-angular-templatecache": "^2.2.7", |
| 98 | "gulp-htmlmin": "^5.0.1", | 99 | "gulp-htmlmin": "^5.0.1", |
| 99 | "gulp-sequence": "^1.0.0", | 100 | "gulp-sequence": "^1.0.0", |
| 100 | "gulp-uglify-es": "^1.0.4", | 101 | "gulp-uglify-es": "^1.0.4", |
| 101 | "jquery": "^3.4.0", | 102 | "jquery": "^3.4.1", |
| 102 | "jszip": "2.6.1", | 103 | "jszip": "2.6.1", |
| 103 | "ladda": "1.0.6", | 104 | "ladda": "1.0.6", |
| 104 | "leaflet": "1.3.4", | 105 | "leaflet": "1.3.4", |
| 105 | "lodash": "4.17.11", | 106 | "lodash": "4.17.11", |
| 106 | "moment": "2.23.0", | 107 | "moment": "2.23.0", |
| 107 | "ngstorage": "^0.3.11", | 108 | "ngstorage": "^0.3.11", |
| 108 | "node-sass": "^4.11.0", | 109 | "node-sass": "^4.12.0", |
| 109 | "pdfmake": "0.1.41", | 110 | "pdfmake": "0.1.41", |
| 111 | "popper.js": "^1.15.0", | ||
| 110 | "uglify": "^0.1.5", | 112 | "uglify": "^0.1.5", |
| 111 | "ui-bootstrap4": "^3.0.6" | 113 | "ui-bootstrap4": "^3.0.6" |
| 112 | }, | 114 | }, |
| 113 | "devDependencies": { | 115 | "devDependencies": { |
| 114 | "gulp": "3.9.1", | 116 | "gulp": "3.9.1", |
| 115 | "gulp-clean": "^0.4.0", | 117 | "gulp-clean": "^0.4.0", |
| 116 | "gulp-concat": "^2.6.1", | 118 | "gulp-concat": "^2.6.1", |
| 117 | "gulp-connect": "^5.7.0", | 119 | "gulp-connect": "^5.7.0", |
| 118 | "gulp-jshint": "^2.1.0", | 120 | "gulp-jshint": "^2.1.0", |
| 119 | "gulp-rename": "^1.4.0", | 121 | "gulp-rename": "^1.4.0", |
| 120 | "gulp-replace": "^1.0.0", | 122 | "gulp-replace": "^1.0.0", |
| 121 | "gulp-sass": "^4.0.1", | 123 | "gulp-sass": "^4.0.1", |
| 122 | "gulp-uglify": "^3.0.2", | 124 | "gulp-uglify": "^3.0.2", |
| 123 | "gulp-watch": "^5.0.1", | 125 | "gulp-watch": "^5.0.1", |
| 124 | "jasmine-core": "^3.4.0", | 126 | "jasmine-core": "^3.4.0", |
| 125 | "jshint": "^2.10.2", | 127 | "jshint": "^2.10.2", |
| 126 | "pre-commit": "^1.2.2", | 128 | "pre-commit": "^1.2.2", |
| 127 | "pump": "^3.0.0" | 129 | "pump": "^3.0.0" |
| 128 | } | 130 | } |
| 129 | } | 131 | } |
| 130 | 132 |
src/js/app.js
| 1 | angular.module('appWrapperDemo', [ | 1 | angular.module('appWrapperDemo', [ |
| 2 | //EXTERNOS | 2 | //EXTERNOS |
| 3 | 'angular-ladda', | 3 | 'angular-ladda', |
| 4 | 'cordovaGeolocationModule', | 4 | 'cordovaGeolocationModule', |
| 5 | 'ngCookies', | 5 | 'ngCookies', |
| 6 | 'ngRoute', | 6 | 'ngRoute', |
| 7 | 'ngSanitize', | 7 | 'ngSanitize', |
| 8 | 'ngStorage', | 8 | 'ngStorage', |
| 9 | 'onScreenKeyboard', | 9 | 'onScreenKeyboard', |
| 10 | 'ui.bootstrap', | 10 | 'ui.bootstrap', |
| 11 | 'ui.swiper', | 11 | 'ui.swiper', |
| 12 | 'ui.grid', | 12 | 'ui.grid', |
| 13 | 'ui.grid.exporter', | 13 | 'ui.grid.exporter', |
| 14 | 'ngFileSaver', | 14 | 'ngFileSaver', |
| 15 | 'angular-md5', | 15 | 'angular-md5', |
| 16 | 16 | ||
| 17 | // MODULOS FOCA | 17 | // MODULOS FOCA |
| 18 | 'focaAbmPreciosCondiciones', | 18 | 'focaAbmPreciosCondiciones', |
| 19 | 'focaAbmVehiculo', | 19 | 'focaAbmVehiculo', |
| 20 | 'focaAbmChofer', | 20 | 'focaAbmChofer', |
| 21 | 'focaAbmCliente', | ||
| 21 | 'focaAbmVendedorCobrador', | 22 | 'focaAbmVendedorCobrador', |
| 22 | 'focaActivarHojaRuta', | 23 | 'focaActivarHojaRuta', |
| 23 | 'focaAdminSeguimiento', | 24 | 'focaAdminSeguimiento', |
| 24 | 'focaAgendarVisita', | 25 | 'focaAgendarVisita', |
| 25 | 'focaAutorizarHojaRuta', | 26 | 'focaAutorizarHojaRuta', |
| 26 | 'focaBotoneraFacturador', | 27 | 'focaBotoneraFacturador', |
| 27 | 'focaBotoneraLateral', | 28 | 'focaBotoneraLateral', |
| 28 | 'focaBotoneraPrincipal', | 29 | 'focaBotoneraPrincipal', |
| 29 | 'focaBusquedaCliente', | 30 | 'focaBusquedaCliente', |
| 30 | 'focaBusquedaProductos', | 31 | 'focaBusquedaProductos', |
| 31 | 'focaCabeceraFacturador', | 32 | 'focaCabeceraFacturador', |
| 32 | 'focaConfiguracion', | 33 | 'focaConfiguracion', |
| 33 | 'focaConfigurarTerminal', | 34 | 'focaConfigurarTerminal', |
| 34 | 'focaCrearCobranza', | 35 | 'focaCrearCobranza', |
| 35 | 'focaCrearHojaRuta', | 36 | 'focaCrearHojaRuta', |
| 36 | 'focaCrearLogin', | 37 | 'focaCrearLogin', |
| 37 | 'focaCrearNotaPedido', | 38 | 'focaCrearNotaPedido', |
| 38 | 'focaCrearRemito', | 39 | 'focaCrearRemito', |
| 39 | 'focaDirectivas', | 40 | 'focaDirectivas', |
| 40 | 'focaEstadoCisternas', | 41 | 'focaEstadoCisternas', |
| 41 | 'focaFiltros', | 42 | 'focaFiltros', |
| 42 | 'focaHojaRuta', | 43 | 'focaHojaRuta', |
| 43 | 'focaInformes', | 44 | 'focaInformes', |
| 44 | 'focaLogin', | 45 | 'focaLogin', |
| 45 | 'focaModal', | 46 | 'focaModal', |
| 46 | 'focaModalCheque', | 47 | 'focaModalCheque', |
| 47 | 'focaModalCobranza', | 48 | 'focaModalCobranza', |
| 48 | 'focaModalCotizacion', | 49 | 'focaModalCotizacion', |
| 49 | 'focaModalDetalleCisternas', | 50 | 'focaModalDetalleCisternas', |
| 50 | 'focaModalDetalleHojaRuta', | 51 | 'focaModalDetalleHojaRuta', |
| 51 | 'focaModalDetalles', | 52 | 'focaModalDetalles', |
| 52 | 'focaModalDomicilio', | 53 | 'focaModalDomicilio', |
| 53 | 'focaModalEfectivo', | 54 | 'focaModalEfectivo', |
| 54 | 'focaModalFactura', | 55 | 'focaModalFactura', |
| 55 | 'focaModalFacturaDetalle', | 56 | 'focaModalFacturaDetalle', |
| 56 | 'focaModalFlete', | 57 | 'focaModalFlete', |
| 57 | 'focaModalGraficoCisternas', | 58 | 'focaModalGraficoCisternas', |
| 58 | 'focaModalInforme', | 59 | 'focaModalInforme', |
| 59 | 'focaModalListaPrecio', | 60 | 'focaModalListaPrecio', |
| 60 | 'focaModalLocalizar', | 61 | 'focaModalLocalizar', |
| 61 | 'focaModalLogin', | 62 | 'focaModalLogin', |
| 62 | 'focaModalNotaPedido', | 63 | 'focaModalNotaPedido', |
| 63 | 'focaModalPrecioCondicion', | 64 | 'focaModalPrecioCondicion', |
| 64 | 'focaModalPuntoDescarga', | 65 | 'focaModalPuntoDescarga', |
| 65 | 'focaModalRemito', | 66 | 'focaModalRemito', |
| 66 | 'focaModalResumenCuenta', | 67 | 'focaModalResumenCuenta', |
| 67 | 'focaModalTarifaFlete', | 68 | 'focaModalTarifaFlete', |
| 68 | 'focaModalUnidadMedida', | 69 | 'focaModalUnidadMedida', |
| 69 | 'focaNombreEmpresa', | 70 | 'focaNombreEmpresa', |
| 70 | 'focaParametros', | 71 | 'focaParametros', |
| 71 | 'focaSeguimiento', | 72 | 'focaSeguimiento', |
| 72 | 'focaTeclado', | 73 | 'focaTeclado', |
| 73 | 'focaLogisticaPedidoRuta' | 74 | 'focaLogisticaPedidoRuta' |
| 74 | ]); | 75 | ]); |
| 75 | 76 |
src/js/controller.js
| 1 | angular.module('appWrapperDemo') | 1 | angular.module('appWrapperDemo') |
| 2 | .controller('appWrapperDemoController', [ | 2 | .controller('appWrapperDemoController', [ |
| 3 | '$scope', | 3 | '$scope', |
| 4 | '$rootScope', | 4 | '$rootScope', |
| 5 | '$timeout', | 5 | '$timeout', |
| 6 | function($scope, $rootScope, $timeout) { | 6 | '$uibModalStack', |
| 7 | function($scope, $rootScope, $timeout, $uibModalStack) { | ||
| 7 | $scope.usarTeclado = false; | 8 | $scope.usarTeclado = false; |
| 8 | $rootScope.$broadcast('usarTeclado', false); | 9 | $rootScope.$broadcast('usarTeclado', false); |
| 9 | $scope.mostrarTeclado = false; | 10 | $scope.mostrarTeclado = false; |
| 10 | //Envรญa broadcast para avisar que el teclado estรก en funcionamiento o no | 11 | //Envรญa broadcast para avisar que el teclado estรก en funcionamiento o no |
| 11 | //para su uso cambiar ng-click del boton por esta funciรณn | 12 | //para su uso cambiar ng-click del boton por esta funciรณn |
| 12 | $scope.cambioUsoTeclado = function() { | 13 | $scope.cambioUsoTeclado = function() { |
| 13 | if($scope.usarTeclado) { | 14 | if($scope.usarTeclado) { |
| 14 | $scope.usarTeclado = false; | 15 | $scope.usarTeclado = false; |
| 15 | $rootScope.$broadcast('usarTeclado', false); | 16 | $rootScope.$broadcast('usarTeclado', false); |
| 16 | return; | 17 | return; |
| 17 | } | 18 | } |
| 18 | $scope.usarTeclado = true; | 19 | $scope.usarTeclado = true; |
| 19 | $rootScope.$broadcast('usarTeclado', true); | 20 | $rootScope.$broadcast('usarTeclado', true); |
| 20 | }; | 21 | }; |
| 21 | 22 | ||
| 22 | $rootScope.$on('focus', function() { | 23 | $rootScope.$on('focus', function() { |
| 23 | if(!$scope.usarTeclado) { | 24 | if(!$scope.usarTeclado) { |
| 24 | return; | 25 | return; |
| 25 | } | 26 | } |
| 26 | $scope.mostrarTeclado = true; | 27 | $scope.mostrarTeclado = true; |
| 27 | $timeout.cancel($scope.timeout); | 28 | $timeout.cancel($scope.timeout); |
| 28 | if(!$scope.$$phase) { | 29 | if(!$scope.$$phase) { |
| 29 | $scope.$apply(); | 30 | $scope.$apply(); |
| 30 | } | 31 | } |
| 31 | }); | 32 | }); |
| 32 | $rootScope.$on('blur', function() { | 33 | $rootScope.$on('blur', function() { |
| 33 | $scope.timeout = $timeout(function() { | 34 | $scope.timeout = $timeout(function() { |
| 34 | $scope.mostrarTeclado = false; | 35 | $scope.mostrarTeclado = false; |
| 35 | if(!$scope.$$phase) { | 36 | if(!$scope.$$phase) { |
| 36 | $scope.$apply(); | 37 | $scope.$apply(); |
| 37 | } | 38 | } |
| 38 | }, 150); | 39 | }, 150); |
| 39 | }); | 40 | }); |
| 41 | |||
| 42 | // Close all modals | ||
| 43 | $rootScope.$on('$locationChangeSuccess', function() { | ||
| 44 | $uibModalStack.dismissAll('close'); | ||
| 45 | }); | ||
| 40 | } | 46 | } |
| 41 | ]); | 47 | ]); |
| 42 | 48 |
src/sass/_admin-seguimiento.scss
| 1 | .foca-admin-seguimiento { | 1 | .foca-admin-seguimiento { |
| 2 | osm { | 2 | osm { |
| 3 | &>div { | 3 | &>div { |
| 4 | height: 535px; | 4 | height: 535px; |
| 5 | } | 5 | } |
| 6 | } | 6 | } |
| 7 | } | 7 | } |
| 8 | .foca-logistica-pedido-ruta { | 8 | .foca-logistica-pedido-ruta { |
| 9 | foca-logistica { | 9 | foca-logistica { |
| 10 | &>div { | 10 | &>div { |
| 11 | height: 400px; | 11 | height: 400px; |
| 12 | } | 12 | } |
| 13 | } | 13 | } |
| 14 | } | 14 | } |
| 15 | |||
| 16 | osm-direccion { | ||
| 17 | &>div { | ||
| 18 | height: 400px; | ||
| 19 | } | ||
| 20 | } | ||
| 15 | 21 |
src/sass/_bootstrap.scss
| 1 | button.active{ | 1 | button.active{ |
| 2 | text-decoration: none; | 2 | text-decoration: none; |
| 3 | outline: 0; | 3 | outline: 0; |
| 4 | color: white; | 4 | color: white; |
| 5 | background-color: $primary; | 5 | background-color: $primary; |
| 6 | &:focus{ | 6 | &:focus{ |
| 7 | box-shadow: 0 0 0 0.2rem $primaryTransparency; | 7 | box-shadow: 0 0 0 0.2rem $primaryTransparency; |
| 8 | } | 8 | } |
| 9 | } | 9 | } |
| 10 | .btn-xs { | 10 | .btn-xs { |
| 11 | padding: .15rem .5rem; | 11 | padding: .15rem .5rem; |
| 12 | font-size: .8rem; | 12 | font-size: .8rem; |
| 13 | line-height: 1.5; | 13 | line-height: 1.5; |
| 14 | border-radius: .2rem; | 14 | border-radius: .2rem; |
| 15 | } | 15 | } |
| 16 | |||
| 16 | .no-border-bottom { | 17 | .no-border-bottom { |
| 17 | border-bottom: 0 !important; | 18 | border-bottom: 0 !important; |
| 18 | } | 19 | } |
| 19 | .no-border-top { | 20 | .no-border-top { |
| 20 | border-top: 0 !important; | 21 | border-top: 0 !important; |
| 21 | } | 22 | } |
| 22 | .no-border { | 23 | .no-border { |
| 23 | border: 0 !important; | 24 | border: 0 !important; |
| 24 | } | 25 | } |
| 25 | .margin-bottom-mobile { | 26 | .margin-bottom-mobile { |
| 26 | margin-bottom: 2.5em !important; | 27 | margin-bottom: 2.5em !important; |
| 27 | } | 28 | } |
| 28 | .tamaรฑo-boton { | 29 | .tamaรฑo-boton { |
| 29 | width:44px; | 30 | width:44px; |
| 30 | } | 31 | } |
| 31 | .modal-content { | 32 | .modal-content { |
| 32 | .modal-header{ | 33 | .modal-header{ |
| 33 | display: block; | 34 | display: block; |
| 34 | >div.row{ | 35 | >div.row{ |
| 35 | margin: 0 !important; | 36 | margin: 0 !important; |
| 36 | >div{ | 37 | >div{ |
| 37 | padding: 0 !important; | 38 | padding: 0 !important; |
| 38 | } | 39 | } |
| 39 | } | 40 | } |
| 40 | } | 41 | } |
| 41 | @media (max-width: 576px) { | 42 | @media (max-width: 576px) { |
| 42 | height: auto; | 43 | height: auto; |
| 43 | height: 100%; | 44 | height: 100%; |
| 44 | border-radius: 0; | 45 | border-radius: 0; |
| 45 | } | 46 | } |
| 46 | } | 47 | } |
| 47 | .modal.show .modal-dialog { | 48 | .modal.show .modal-dialog { |
| 48 | @media (min-width: 1201px){ | 49 | @media (min-width: 1201px){ |
| 49 | -webkit-transform: translate(0, 70px); | 50 | -webkit-transform: translate(0, 70px); |
| 50 | transform: translate(0, 70px); | 51 | transform: translate(0, 70px); |
| 51 | } | 52 | } |
| 52 | @media (min-width: 576px) { | 53 | @media (min-width: 576px) { |
| 53 | -webkit-transform: translate(0, 90px); | 54 | -webkit-transform: translate(0, 90px); |
| 54 | transform: translate(0, 90px); | 55 | transform: translate(0, 90px); |
| 55 | } | 56 | } |
| 56 | @media (max-width: 576px) { | 57 | @media (max-width: 576px) { |
| 57 | width: 100%; | 58 | width: 100%; |
| 58 | height: 100%; | 59 | height: 100%; |
| 59 | margin: 0; | 60 | margin: 0; |
| 60 | padding: 0; | 61 | padding: 0; |
| 61 | } | 62 | } |
| 62 | } | 63 | } |
| 63 | .modal-body { | 64 | .modal-body { |
| 64 | @media (max-width: 576px) { | 65 | @media (max-width: 576px) { |
| 65 | overflow-y: auto; | 66 | overflow-y: auto; |
| 66 | } | 67 | } |
| 67 | } | 68 | } |
| 68 | 69 | ||
| 69 | .boton-salir { | 70 | .boton-salir { |
| 70 | position: absolute; | 71 | position: absolute; |
| 71 | bottom: 10px; | 72 | bottom: 10px; |
| 72 | right: 15px; | 73 | right: 15px; |
| 73 | width: calc(100% - 15px); | 74 | width: calc(100% - 15px); |
| 74 | } | 75 | } |
| 75 | 76 | ||
| 76 | input[type=number]::-webkit-inner-spin-button, | 77 | input[type=number]::-webkit-inner-spin-button, |
| 77 | 78 | ||
| 78 | input[type=number]::-webkit-outer-spin-button { | 79 | input[type=number]::-webkit-outer-spin-button { |
| 79 | -webkit-appearance: none; | 80 | -webkit-appearance: none; |
| 80 | margin: 0; | 81 | margin: 0; |
| 81 | } | 82 | } |
| 82 | 83 | ||
| 83 | .invisible { | 84 | .invisible { |
| 84 | color: rgba(0,0,0,0); | 85 | color: rgba(0,0,0,0); |
| 85 | } | 86 | } |
| 86 | 87 |
src/sass/_botonera-principal.scss
| 1 | .botonera-principal { | 1 | .botonera-principal { |
| 2 | menuitem { | 2 | menuitem { |
| 3 | display: inline-block; | 3 | display: inline-block; |
| 4 | height: 130px; | 4 | height: 130px; |
| 5 | text-align: center; | 5 | text-align: center; |
| 6 | width: 180px; | 6 | width: 180px; |
| 7 | @media (max-width: 576px) { | 7 | @media (max-width: 576px) { |
| 8 | width: 100%; | 8 | width: 100%; |
| 9 | } | 9 | } |
| 10 | @media (min-width: 992px) and (max-width: 1200px){ | 10 | @media (min-width: 992px) and (max-width: 1200px){ |
| 11 | width: 150px; | 11 | width: 150px; |
| 12 | } | 12 | } |
| 13 | } | 13 | } |
| 14 | button { | 14 | button { |
| 15 | background-image: url('../img/botonera.png'); | 15 | background-image: url('../img/botonera.png'); |
| 16 | border-radius: 12px; | 16 | border-radius: 12px; |
| 17 | border-width: 0; | 17 | border-width: 0; |
| 18 | height: 90px; | 18 | height: 90px; |
| 19 | position: relative; | 19 | position: relative; |
| 20 | width: 90px; | 20 | width: 90px; |
| 21 | outline: 0; | 21 | outline: 0; |
| 22 | span { | 22 | span { |
| 23 | left: 0; | 23 | left: 0; |
| 24 | position: absolute; | 24 | position: absolute; |
| 25 | text-align: center; | 25 | text-align: center; |
| 26 | top: 90px; | 26 | top: 90px; |
| 27 | width: 100%; | 27 | width: 100%; |
| 28 | font-size: 12px; | 28 | font-size: 12px; |
| 29 | color: #777777; | 29 | color: #777777; |
| 30 | } | 30 | } |
| 31 | &:hover { | 31 | &:hover { |
| 32 | background-color:rgb(250,250,250); | 32 | background-color:rgb(250,250,250); |
| 33 | filter:drop-shadow(4px 4px 4px gray); | 33 | filter:drop-shadow(4px 4px 4px gray); |
| 34 | } | 34 | } |
| 35 | &:active { | 35 | &:active { |
| 36 | background-color: rgb(230, 230, 230); | 36 | background-color: rgb(230, 230, 230); |
| 37 | filter:drop-shadow(4px 4px 4px gray); | 37 | filter:drop-shadow(4px 4px 4px gray); |
| 38 | } | 38 | } |
| 39 | } | 39 | } |
| 40 | &-menu { | 40 | &-menu { |
| 41 | width: 100%; | 41 | width: 100%; |
| 42 | padding-left: 90px; | 42 | padding-left: 90px; |
| 43 | @media (max-width: 576px) { | 43 | @media (max-width: 576px) { |
| 44 | padding: 0; | 44 | padding: 0; |
| 45 | } | 45 | } |
| 46 | } | 46 | } |
| 47 | &-logo { | 47 | &-logo { |
| 48 | width: 100%; | 48 | width: 100%; |
| 49 | margin-left: 50%; | 49 | margin-left: 50%; |
| 50 | opacity: .8; | 50 | opacity: .8; |
| 51 | @media (max-width: 576px) { | 51 | @media (max-width: 576px) { |
| 52 | width: 180%; | 52 | width: 180%; |
| 53 | margin-left: 20%; | 53 | margin-left: 20%; |
| 54 | } | 54 | } |
| 55 | } | 55 | } |
| 56 | &-vacio { | 56 | &-vacio { |
| 57 | & button { | 57 | & button { |
| 58 | background-position: -4380px 0; | 58 | background-position: -4380px 0; |
| 59 | &:hover { | 59 | &:hover { |
| 60 | background-position: -4380px -90px; | 60 | background-position: -4380px -90px; |
| 61 | } | 61 | } |
| 62 | } | 62 | } |
| 63 | } | 63 | } |
| 64 | &-abrir-turno { | 64 | &-abrir-turno { |
| 65 | & button { | 65 | & button { |
| 66 | background-position: 0 0; | 66 | background-position: 0 0; |
| 67 | &:hover { | 67 | &:hover { |
| 68 | background-position: 0 -90px; | 68 | background-position: 0 -90px; |
| 69 | } | 69 | } |
| 70 | } | 70 | } |
| 71 | } | 71 | } |
| 72 | &-cerrar-turno { | 72 | &-cerrar-turno { |
| 73 | & button { | 73 | & button { |
| 74 | background-position: -90px 0; | 74 | background-position: -90px 0; |
| 75 | &:hover { | 75 | &:hover { |
| 76 | background-position: -90px -90px; | 76 | background-position: -90px -90px; |
| 77 | } | 77 | } |
| 78 | } | 78 | } |
| 79 | } | 79 | } |
| 80 | &-caja { | 80 | &-caja { |
| 81 | & button { | 81 | & button { |
| 82 | background-position: -180px 0; | 82 | background-position: -180px 0; |
| 83 | &:hover { | 83 | &:hover { |
| 84 | background-position: -180px -90px; | 84 | background-position: -180px -90px; |
| 85 | } | 85 | } |
| 86 | } | 86 | } |
| 87 | } | 87 | } |
| 88 | &-estado-cisterna { | 88 | &-estado-cisterna { |
| 89 | & button { | 89 | & button { |
| 90 | background-image: url('../img/control_stock.png'); | 90 | background-image: url('../img/control_stock.png'); |
| 91 | background-size: 90px 90px; | 91 | background-size: 90px 90px; |
| 92 | } | 92 | } |
| 93 | } | 93 | } |
| 94 | &-logistica { | 94 | &-logistica { |
| 95 | & button { | 95 | & button { |
| 96 | background-image: url('../img/logistica.png'); | 96 | background-image: url('../img/logistica.png'); |
| 97 | background-size: 90px 90px; | 97 | background-size: 90px 90px; |
| 98 | } | 98 | } |
| 99 | } | 99 | } |
| 100 | &-facturador { | 100 | &-facturador { |
| 101 | & button { | 101 | & button { |
| 102 | background-position: -270px 0px; | 102 | background-position: -270px 0px; |
| 103 | &:hover { | 103 | &:hover { |
| 104 | background-position: -270px -90px; | 104 | background-position: -270px -90px; |
| 105 | } | 105 | } |
| 106 | } | 106 | } |
| 107 | } | 107 | } |
| 108 | &-nota-pedido { | 108 | &-nota-pedido { |
| 109 | & button { | 109 | & button { |
| 110 | background-image: url('../img/notaPedido.png'); | 110 | background-image: url('../img/notaPedido.png'); |
| 111 | background-size: 90px 90px; | 111 | background-size: 90px 90px; |
| 112 | } | 112 | } |
| 113 | } | 113 | } |
| 114 | &-remito { | 114 | &-remito { |
| 115 | & button { | 115 | & button { |
| 116 | background-image: url('../img/remito.png'); | 116 | background-image: url('../img/remito.png'); |
| 117 | background-size: 90px 90px; | 117 | background-size: 90px 90px; |
| 118 | } | 118 | } |
| 119 | } | 119 | } |
| 120 | &-hoja-ruta { | 120 | &-hoja-ruta { |
| 121 | & button { | 121 | & button { |
| 122 | background-image: url('../img/hoja-ruta.png'); | 122 | background-image: url('../img/hoja-ruta.png'); |
| 123 | background-size: 86px 90px; | 123 | background-size: 86px 90px; |
| 124 | } | 124 | } |
| 125 | } | 125 | } |
| 126 | &-activar-hoja-ruta { | 126 | &-activar-hoja-ruta { |
| 127 | & button { | 127 | & button { |
| 128 | background-image: url('../img/activar_hoja.png'); | 128 | background-image: url('../img/activar_hoja.png'); |
| 129 | background-size: 90px 90px; | 129 | background-size: 90px 90px; |
| 130 | } | 130 | } |
| 131 | } | 131 | } |
| 132 | &-hoja-ruta-transportista { | 132 | &-hoja-ruta-transportista { |
| 133 | & button { | 133 | & button { |
| 134 | background-image: url('../img/hojaRutaVolante.png'); | 134 | background-image: url('../img/hojaRutaVolante.png'); |
| 135 | background-size: 90px 90px; | 135 | background-size: 90px 90px; |
| 136 | } | 136 | } |
| 137 | } | 137 | } |
| 138 | &-seguimiento { | 138 | &-seguimiento { |
| 139 | & button { | 139 | & button { |
| 140 | background-image: url('../img/seguimientoNotaPedido.png'); | 140 | background-image: url('../img/seguimientoNotaPedido.png'); |
| 141 | background-size: 90px 90px; | 141 | background-size: 90px 90px; |
| 142 | } | 142 | } |
| 143 | } | 143 | } |
| 144 | &-seguimiento-hoja-ruta { | 144 | &-seguimiento-hoja-ruta { |
| 145 | & button { | 145 | & button { |
| 146 | background-image: url('../img/seguimientoHojaRuta.png'); | 146 | background-image: url('../img/seguimientoHojaRuta.png'); |
| 147 | background-size: 90px 90px; | 147 | background-size: 90px 90px; |
| 148 | } | 148 | } |
| 149 | } | 149 | } |
| 150 | &-cobranzas { | 150 | &-cobranzas { |
| 151 | & button { | 151 | & button { |
| 152 | background-image: url('../img/cobranzas.png'); | 152 | background-image: url('../img/cobranzas.png'); |
| 153 | background-size: 90px 90px; | 153 | background-size: 90px 90px; |
| 154 | } | 154 | } |
| 155 | } | 155 | } |
| 156 | &-seguimiento-cobranzas { | 156 | &-seguimiento-cobranzas { |
| 157 | & button { | 157 | & button { |
| 158 | background-image: url('../img/seguimientoCobranza.png'); | 158 | background-image: url('../img/seguimientoCobranza.png'); |
| 159 | background-size: 90px 90px; | 159 | background-size: 90px 90px; |
| 160 | } | 160 | } |
| 161 | } | 161 | } |
| 162 | &-vehiculo { | 162 | &-vehiculo { |
| 163 | & button { | 163 | & button { |
| 164 | background-image: url('../img/abmVehiculos.png'); | 164 | background-image: url('../img/abmVehiculos.png'); |
| 165 | background-size: 90px 90px; | 165 | background-size: 90px 90px; |
| 166 | } | 166 | } |
| 167 | } | 167 | } |
| 168 | &-precio-condicion { | 168 | &-precio-condicion { |
| 169 | & button { | 169 | & button { |
| 170 | background-image: url('../img/abmPrecios.png'); | 170 | background-image: url('../img/abmPrecios.png'); |
| 171 | background-size: 90px 90px; | 171 | background-size: 90px 90px; |
| 172 | } | 172 | } |
| 173 | } | 173 | } |
| 174 | &-chofer { | 174 | &-chofer { |
| 175 | & button { | 175 | & button { |
| 176 | background-image: url('../img/abmChofer.png'); | 176 | background-image: url('../img/abmChofer.png'); |
| 177 | background-size: 90px 90px; | 177 | background-size: 90px 90px; |
| 178 | } | 178 | } |
| 179 | } | 179 | } |
| 180 | &-agendar-visita { | 180 | &-agendar-visita { |
| 181 | & button { | 181 | & button { |
| 182 | background-image: url('../img/agendarVisita.png'); | 182 | background-image: url('../img/agendarVisita.png'); |
| 183 | background-size: 90px 90px; | 183 | background-size: 90px 90px; |
| 184 | } | 184 | } |
| 185 | } | 185 | } |
| 186 | &-informes { | 186 | &-informes { |
| 187 | & button { | 187 | & button { |
| 188 | background-image: url('../img/informes.png'); | 188 | background-image: url('../img/informes.png'); |
| 189 | background-size: 90px 90px; | 189 | background-size: 90px 90px; |
| 190 | } | 190 | } |
| 191 | } | 191 | } |
| 192 | &-vendedor-cobrador { | 192 | &-vendedor-cobrador { |
| 193 | & button { | 193 | & button { |
| 194 | background-image: url('../img/abmVendedorCobrador.png'); | 194 | background-image: url('../img/abmVendedorCobrador.png'); |
| 195 | background-size: 90px 90px; | 195 | background-size: 90px 90px; |
| 196 | } | 196 | } |
| 197 | } | 197 | } |
| 198 | &-autorizar-nota { | 198 | &-autorizar-nota { |
| 199 | & button { | 199 | & button { |
| 200 | background-image: url('../img/autorizarNota.png'); | 200 | background-image: url('../img/autorizarNota.png'); |
| 201 | background-size: 90px 90px; | 201 | background-size: 90px 90px; |
| 202 | } | 202 | } |
| 203 | } | 203 | } |
| 204 | |||
| 205 | &-cliente { | ||
| 206 | & button { | ||
| 207 | background-image: url('../img/clientePrincipal.png'); | ||
| 208 | background-size: 90px 90px; | ||
| 209 | } | ||
| 210 | } | ||
| 211 | |||
| 204 | &-parametros { | 212 | &-parametros { |
| 205 | & button { | 213 | & button { |
| 206 | background-image: url('../img/parametrizar.png'); | 214 | background-image: url('../img/parametrizar.png'); |
| 207 | background-size: 90px 90px; | 215 | background-size: 90px 90px; |
| 208 | } | 216 | } |
| 209 | } | 217 | } |
| 210 | .swiper-pagination { | 218 | .swiper-pagination { |
| 211 | bottom: 0px !important; | 219 | bottom: 0px !important; |
| 212 | } | 220 | } |
| 213 | 221 | ||
| 214 | .swiper-button-next { | 222 | .swiper-button-next { |
| 215 | background-image: url('../img/derecha.png'); | 223 | background-image: url('../img/derecha.png'); |
| 216 | &:hover{ | 224 | &:hover{ |
| 217 | filter:drop-shadow(4px 4px 4px gray); | 225 | filter:drop-shadow(4px 4px 4px gray); |
| 218 | } | 226 | } |
| 219 | } | 227 | } |
| 220 | 228 | ||
| 221 | .swiper-button-prev { | 229 | .swiper-button-prev { |
| 222 | background-image: url('../img/izquierda.png'); | 230 | background-image: url('../img/izquierda.png'); |
| 223 | &:hover{ | 231 | &:hover{ |
| 224 | filter:drop-shadow(4px 4px 4px gray); | 232 | filter:drop-shadow(4px 4px 4px gray); |
| 225 | } | 233 | } |
| 226 | } | 234 | } |
| 227 | @media (min-width: 992px){ | 235 | @media (min-width: 992px){ |
| 228 | a{ | 236 | a{ |
| 229 | margin-top: 2.5rem; | 237 | margin-top: 2.5rem; |
| 230 | } | 238 | } |
| 231 | } | 239 | } |
| 232 | } | 240 | } |
| 233 | 241 |
src/sass/_constants.scss
| 1 | $primary: #cd9035; | 1 | $primary: #cd9035; |
| 2 | $primaryTransparency: #cd9137cc; | 2 | $primaryTransparency: #d6a55bcc; |
| 3 | $highlightedArea: #df9424; | 3 | $highlightedArea: #df9424; |
| 4 | $default: #6c757d; | 4 | $default: #6c757d; |
| 5 | $defaultTransparency: #6c757dcc; | ||
| 5 | |||
| 6 | $defaultTransparency: #6c757dcc; | ||
| 7 | $danger: #dc3545; | ||
| 8 | $dangerTransparency: #e98a94; |
src/sass/general.scss
| 1 | @import 'constants'; | 1 | @import 'constants'; |
| 2 | @import 'admin-seguimiento'; | 2 | @import 'admin-seguimiento'; |
| 3 | @import 'bootstrap'; | 3 | @import 'bootstrap'; |
| 4 | @import 'botonera'; | 4 | @import 'botonera'; |
| 5 | @import 'botonera-lateral'; | 5 | @import 'botonera-lateral'; |
| 6 | @import 'botonera-principal'; | 6 | @import 'botonera-principal'; |
| 7 | @import 'botonera-secundaria'; | 7 | @import 'botonera-secundaria'; |
| 8 | @import 'contenedor'; | 8 | @import 'contenedor'; |
| 9 | @import 'lista'; | 9 | @import 'lista'; |
| 10 | @import 'login'; | 10 | @import 'login'; |
| 11 | @import 'panel-informativo'; | 11 | @import 'panel-informativo'; |
| 12 | @import 'tabla'; | 12 | @import 'tabla'; |
| 13 | @import 'teclado'; | 13 | @import 'teclado'; |
| 14 | @import 'tabla-articulos'; | 14 | @import 'tabla-articulos'; |
| 15 | @import 'acciones-mobile'; | 15 | @import 'acciones-mobile'; |
| 16 | @import 'swiper'; | 16 | @import 'swiper'; |
| 17 | @import 'foca-crear'; | 17 | @import 'foca-crear'; |
| 18 | @import 'logistica-pedido-ruta'; | 18 | @import 'logistica-pedido-ruta'; |
| 19 | @import 'tabs'; | 19 | @import 'tabs'; |
| 20 | @import 'grid'; | 20 | @import 'grid'; |
| 21 | @import 'paginador-abm'; | 21 | @import 'paginador-abm'; |
| 22 | @import 'table-autorizar-nota-pedido'; | 22 | @import 'table-autorizar-nota-pedido'; |
| 23 | 23 | ||
| 24 | 24 | ||
| 25 | //OCULTA FLECHAS INPUT NUMBER | 25 | //OCULTA FLECHAS INPUT NUMBER |
| 26 | input[type='number'] { | 26 | input[type='number'] { |
| 27 | -moz-appearance:textfield; | 27 | -moz-appearance:textfield; |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | input::-webkit-outer-spin-button, | 30 | input::-webkit-outer-spin-button, |
| 31 | input::-webkit-inner-spin-button { | 31 | input::-webkit-inner-spin-button { |
| 32 | -webkit-appearance: none; | 32 | -webkit-appearance: none; |
| 33 | } | 33 | } |
| 34 | 34 | ||
| 35 | .d-md-grid{ | 35 | .d-md-grid{ |
| 36 | @media (min-width: 768px) { | 36 | @media (min-width: 768px) { |
| 37 | display: grid !important; | 37 | display: grid !important; |
| 38 | } | 38 | } |
| 39 | } | 39 | } |
| 40 | 40 | ||
| 41 | .btn-outline-debo{ | 41 | .btn-outline-debo{ |
| 42 | background-color: transparent; | 42 | background-color: transparent; |
| 43 | color: $primary; | 43 | color: $primary; |
| 44 | border-color: $primary; | 44 | border-color: $primary; |
| 45 | &:hover{ | 45 | &:hover{ |
| 46 | color: #FFF; | 46 | color: #FFF; |
| 47 | border-color: transparent; | 47 | border-color: transparent; |
| 48 | background-color: $primary; | 48 | background-color: $primary; |
| 49 | } | 49 | } |
| 50 | &:focus { | 50 | &:focus { |
| 51 | box-shadow: none !important; | 51 | box-shadow: 0px 0px 0px 3px $primaryTransparency !important; |
| 52 | } | 52 | } |
| 53 | &:active{ | 53 | &:active { |
| 54 | color: #FFF; | 54 | color: #FFF; |
| 55 | background-color: $primary !important; | 55 | background-color: $primary !important; |
| 56 | box-shadow: 0px 0px 0px 3px $primaryTransparency !important; | 56 | box-shadow: 0px 0px 0px 3px $primaryTransparency !important; |
| 57 | } | 57 | } |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | .input-group-append > button { | ||
| 61 | &:focus { | ||
| 62 | border-color: $primary !important; | ||
| 63 | box-shadow: 0 0 5px $primary !important; | ||
| 64 | } | ||
| 65 | &:active { | ||
| 66 | border-color: $primary !important; | ||
| 67 | box-shadow: 0 0 5px $primary !important; | ||
| 68 | } | ||
| 69 | } | ||
| 70 | |||
| 71 | .input-group-append > button { | ||
| 72 | &:focus { | ||
| 73 | border-color: $primary !important; | ||
| 74 | box-shadow: 0 0 5px $primary !important; | ||
| 75 | } | ||
| 76 | &:active { | ||
| 77 | border-color: $primary !important; | ||
| 78 | box-shadow: 0 0 5px $primary !important; | ||
| 79 | } | ||
| 80 | } | ||
| 81 | |||
| 82 | |||
| 83 | .btn-login { | ||
| 84 | box-shadow: none !important; | ||
| 85 | } | ||
| 86 | |||
| 87 | input[type="file"] { | ||
| 88 | display: none; | ||
| 89 | } | ||
| 90 | .custom-file-upload { | ||
| 91 | border: 1px solid #ccc; | ||
| 92 | display: inline-block; | ||
| 93 | padding: 6px 12px; | ||
| 94 | cursor: pointer; | ||
| 95 | } | ||
| 96 | |||
| 60 | .btn-brown { | 97 | .btn-brown { |
| 61 | background-color:$primary; | 98 | background-color:$primary; |
| 62 | -webkit-appearance: none; | 99 | -webkit-appearance: none; |
| 63 | border-color: transparent; | 100 | border-color: transparent; |
| 64 | &:focus { | 101 | &:focus { |
| 65 | outline: 0 !important; | 102 | outline: 0 !important; |
| 66 | box-shadow: none; | 103 | box-shadow: none; |
| 67 | } | 104 | } |
| 68 | .icon-white { | 105 | .icon-white { |
| 69 | color: white; | 106 | color: white; |
| 70 | } | 107 | } |
| 71 | } | 108 | } |
| 72 | 109 | ||
| 110 | .btn-Guardar { | ||
| 111 | background-color:green; | ||
| 112 | -webkit-appearance: none; | ||
| 113 | border-color: transparent; | ||
| 114 | &:focus { | ||
| 115 | outline: 0 !important; | ||
| 116 | box-shadow: none; | ||
| 117 | } | ||
| 118 | .icon-white { | ||
| 119 | color: white; | ||
| 120 | } | ||
| 121 | } | ||
| 73 | 122 | ||
| 74 | .page-item.active .page-link { | 123 | .page-item.active .page-link { |
| 75 | z-index: 1; | 124 | z-index: 1; |
| 76 | color: #fff; | 125 | color: #fff; |
| 77 | background-color: $primary; | 126 | background-color: $primary; |
| 78 | border-color: $primary; | 127 | border-color: $primary; |
| 79 | } | 128 | } |
| 80 | 129 | ||
| 81 | .foca-input { | 130 | .foca-input { |
| 82 | &:focus { | 131 | &:focus { |
| 83 | border-color: $primary; | 132 | border-color: $primary; |
| 84 | box-shadow: 0 0 5px $primary; | 133 | box-shadow: 0 0 5px $primary; |
| 85 | } | 134 | } |
| 135 | &:hover { | ||
| 136 | border-color: $primary; | ||
| 137 | box-shadow: 0 0 5px $primary; | ||
| 138 | } | ||
| 139 | } | ||
| 140 | |||
| 141 | .btn-enviar { | ||
| 142 | background-color: white; | ||
| 143 | border-color: #cd9035; | ||
| 144 | &:focus { | ||
| 145 | box-shadow: none !important; | ||
| 146 | } | ||
| 147 | &:hover { | ||
| 148 | border-color: $primaryTransparency !important; | ||
| 149 | background-color: $primaryTransparency !important; | ||
| 150 | } | ||
| 151 | &:active{ | ||
| 152 | background-color: $primary !important; | ||
| 153 | box-shadow: 0px 0px 0px 3px $primaryTransparency !important; | ||
| 154 | } | ||
| 86 | } | 155 | } |
| 87 | 156 | ||
| 88 | .btn-primary { | 157 | .btn-primary { |
| 89 | background-color: $primary !important; | 158 | background-color: $primary !important; |
| 90 | border-color: $primary !important; | 159 | border-color: $primary !important; |
| 91 | &:focus { | 160 | &:focus { |
| 92 | box-shadow: none !important; | 161 | box-shadow: none !important; |
| 93 | } | 162 | } |
| 94 | &:hover { | 163 | &:hover { |
| 95 | border-color: $primaryTransparency !important; | 164 | border-color: $primaryTransparency !important; |
| 96 | background-color: $primaryTransparency !important; | 165 | background-color: $primaryTransparency !important; |
| 97 | } | 166 | } |
| 98 | &:active{ | 167 | &:active{ |
| 99 | background-color: $primary !important; | 168 | background-color: $primary !important; |
| 100 | box-shadow: 0px 0px 0px 3px $primaryTransparency !important; | 169 | box-shadow: 0px 0px 0px 3px $primaryTransparency !important; |
| 101 | } | 170 | } |
| 102 | } | 171 | } |
| 103 | 172 | ||
| 173 | .input-group-text { | ||
| 174 | &:focus { | ||
| 175 | outline: none; | ||
| 176 | border-color: $primary; | ||
| 177 | box-shadow: 0 0 5px $primary; | ||
| 178 | } | ||
| 179 | &:hover { | ||
| 180 | border-color: $primary; | ||
| 181 | box-shadow: 0 0 5px $primary; | ||
| 182 | } | ||
| 183 | &:active{ | ||
| 184 | box-shadow: 0 0 5px $primary; | ||
| 185 | } | ||
| 186 | } | ||
| 187 | |||
| 104 | .btn-default { | 188 | .btn-default { |
| 105 | color: #FFF; | 189 | color: #FFF; |
| 106 | background-color: $default !important; | 190 | background-color: $default !important; |
| 107 | border-color: $default !important; | 191 | border-color: $default !important; |
| 108 | &:focus { | 192 | &:focus { |
| 109 | box-shadow: none !important; | 193 | box-shadow: none !important; |
| 110 | } | 194 | } |
| 111 | &:hover { | 195 | &:hover { |
| 112 | color: #FFF; | 196 | color: #FFF; |
| 113 | border-color: $defaultTransparency !important; | 197 | border-color: $defaultTransparency !important; |
| 114 | background-color: $defaultTransparency !important; | 198 | background-color: $defaultTransparency !important; |
| 115 | } | 199 | } |
| 116 | &:active{ | 200 | &:active{ |
| 117 | background-color: $default !important; | 201 | background-color: $default !important; |
| 118 | box-shadow: 0px 0px 0px 3px $defaultTransparency !important; | 202 | box-shadow: 0px 0px 0px 3px $defaultTransparency !important; |
| 119 | } | 203 | } |
| 120 | } | 204 | } |
| 121 | 205 | ||
| 206 | .btn-danger { | ||
| 207 | &:hover { | ||
| 208 | color: #FFF; | ||
| 209 | border-color: $dangerTransparency !important; | ||
| 210 | background-color: $dangerTransparency !important; | ||
| 211 | } | ||
| 212 | } | ||
| 213 | |||
| 122 | .table-celda-total { | 214 | .table-celda-total { |
| 123 | background-color: $highlightedArea; | 215 | background-color: $highlightedArea; |
| 124 | } | 216 | } |
| 125 | 217 | ||
| 126 | marquee { | 218 | marquee { |
| 127 | background-color: $highlightedArea; | 219 | background-color: $highlightedArea; |
| 128 | } | 220 | } |
| 129 | 221 | ||
| 130 | .front-index{ | 222 | .front-index{ |
| 131 | z-index: 9999; | 223 | z-index: 9999; |
| 132 | } | 224 | } |
| 133 | 225 | ||
| 134 | .uib-daypicker{ | 226 | .uib-daypicker{ |
| 135 | outline: 0 | 227 | outline: 0 |
| 136 | } | 228 | } |
| 137 | 229 | ||
| 138 | .right-0{ | 230 | .right-0{ |
| 139 | right: 0; | 231 | right: 0; |
| 140 | } | 232 | } |
| 141 | 233 | ||
| 142 | .tabla-factura{ | 234 | .tabla-factura{ |
| 143 | word-wrap: break-word; | 235 | word-wrap: break-word; |
| 144 | table-layout: fixed; | 236 | table-layout: fixed; |
| 145 | } | 237 | } |
| 146 | 238 | ||
| 147 | .ladda-w-100 .ladda-label{ | 239 | .ladda-w-100 .ladda-label{ |
| 148 | width: 100%; | 240 | width: 100%; |
| 149 | float: right; | 241 | float: right; |
| 150 | } | 242 | } |
| 151 | 243 | ||
| 152 | .btn-delete-image{ | 244 | .btn-delete-image{ |
| 153 | height: 25px; | 245 | height: 25px; |
| 154 | width: 25px; | 246 | width: 25px; |
| 155 | top: -10px; | 247 | top: -10px; |
| 156 | right: 0; | 248 | right: 0; |
| 157 | } | 249 | } |
| 158 | 250 | ||
| 159 | button.clear-input{ | 251 | button.clear-input{ |
| 160 | cursor: pointer; | 252 | cursor: pointer; |
| 161 | background: transparent; | 253 | background: transparent; |
| 162 | border: none; | 254 | border: none; |
| 163 | margin-left: -24px; | 255 | margin-left: -24px; |
| 164 | z-index: 9; | 256 | z-index: 9; |
| 165 | color: #a3a3a3; | 257 | color: #a3a3a3; |
| 166 | &:focus{ | 258 | &:focus{ |
| 167 | outline: none; | 259 | outline: none; |
| 168 | } | 260 | } |
| 169 | } | 261 | } |
| 170 | .custom-control-input { | 262 | .custom-control-input { |
| 171 | &:checked ~ .custom-control-label::before { | 263 | &:checked ~ .custom-control-label::before { |
| 172 | border: none !important; | 264 | border: none !important; |
| 173 | color: $primary !important; | 265 | color: $primary !important; |
| 174 | background-color: $primary !important; | 266 | background-color: $primary !important; |
| 175 | box-shadow: 0px 0px 0px 2px $primaryTransparency !important; | 267 | box-shadow: 0px 0px 0px 2px $primaryTransparency !important; |
| 176 | } | 268 | } |
| 177 | &:active ~ .custom-control-label::before { | 269 | &:active ~ .custom-control-label::before { |
| 178 | border: none !important; | 270 | border: none !important; |
| 179 | color: $primary !important; | 271 | color: $primary !important; |
| 180 | background-color: $primary !important; | 272 | background-color: $primary !important; |
| 181 | } | 273 | } |
| 182 | &:focus ~ .custom-control-label::before { | 274 | &:focus ~ .custom-control-label::before { |
| 183 | border: none !important; | 275 | border: none !important; |
| 184 | box-shadow: 0px 0px 0px 2px $primaryTransparency !important; | 276 | box-shadow: 0px 0px 0px 2px $primaryTransparency !important; |
| 185 | } | 277 | } |
| 186 | &:focus:not(:checked) ~ .custom-control-label::before { | 278 | &:focus:not(:checked) ~ .custom-control-label::before { |
| 187 | border: none !important; | 279 | border: none !important; |
| 188 | } | 280 | } |
| 189 | &:not(:disabled):active ~ .custom-control-label::before { | 281 | &:not(:disabled):active ~ .custom-control-label::before { |
| 190 | border: none !important; | 282 | border: none !important; |
| 191 | color: $primary !important; | 283 | color: $primary !important; |
| 192 | box-shadow: 0px 0px 0px 2px $primaryTransparency !important; | 284 | box-shadow: 0px 0px 0px 2px $primaryTransparency !important; |
| 193 | } | 285 | } |
| 194 | &:hover ~ .custom-control-label::before { | 286 | &:hover ~ .custom-control-label::before { |
| 195 | border: none !important; | 287 | border: none !important; |
| 196 | background-color: $primaryTransparency; | 288 | background-color: $primaryTransparency; |
| 197 | } | 289 | } |
| 198 | } | 290 | } |
| 199 | 291 |