Commit 14429e90074cbd54b30456674270965237f82403
1 parent
a348305b1b
Exists in
master
files from wrapper-demo
Showing
10 changed files
with
157 additions
and
46 deletions
Show diff stats
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/ladda/dist/ladda-themeless.min.css" rel="stylesheet"/> | 11 | <link href="./node_modules/ladda/dist/ladda-themeless.min.css" rel="stylesheet"/> |
12 | <link href="./node_modules/leaflet/dist/leaflet.css" rel="stylesheet"/> | 12 | <link href="./node_modules/leaflet/dist/leaflet.css" rel="stylesheet"/> |
13 | <link href="./css/general.css" rel="stylesheet"/> | 13 | <link href="./css/general.css" rel="stylesheet"/> |
14 | 14 | ||
15 | <!--VENDOR JS--> | 15 | <!--VENDOR JS--> |
16 | <script src="./node_modules/jquery/dist/jquery.min.js"></script> | 16 | <script src="./node_modules/jquery/dist/jquery.min.js"></script> |
17 | <script src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script> | 17 | <script src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script> |
18 | <script src="./node_modules/angular/angular.min.js"></script> | 18 | <script src="./node_modules/angular/angular.min.js"></script> |
19 | <script src="./node_modules/angular-cookies/angular-cookies.min.js"></script> | 19 | <script src="./node_modules/angular-cookies/angular-cookies.min.js"></script> |
20 | <script src="./node_modules/angular-i18n/angular-locale_es-ar.js"></script> | 20 | <script src="./node_modules/angular-i18n/angular-locale_es-ar.js"></script> |
21 | <script src="./node_modules/angular-route/angular-route.min.js"></script> | 21 | <script src="./node_modules/angular-route/angular-route.min.js"></script> |
22 | <script src="./node_modules/angular-sanitize/angular-sanitize.min.js"></script> | 22 | <script src="./node_modules/angular-sanitize/angular-sanitize.min.js"></script> |
23 | <script src="./node_modules/ui-bootstrap4/dist/ui-bootstrap-tpls.js"></script> | 23 | <script src="./node_modules/ui-bootstrap4/dist/ui-bootstrap-tpls.js"></script> |
24 | <script src="./node_modules/angular-ui-swiper/dist/angular-ui-swiper.js"></script> | 24 | <script src="./node_modules/angular-ui-swiper/dist/angular-ui-swiper.js"></script> |
25 | <script src="./node_modules/ladda/dist/spin.min.js"></script> | 25 | <script src="./node_modules/ladda/dist/spin.min.js"></script> |
26 | <script src="./node_modules/ladda/dist/ladda.min.js"></script> | 26 | <script src="./node_modules/ladda/dist/ladda.min.js"></script> |
27 | <script src="./node_modules/angular-ladda/dist/angular-ladda.min.js"></script> | 27 | <script src="./node_modules/angular-ladda/dist/angular-ladda.min.js"></script> |
28 | <script src="./node_modules/leaflet/dist/leaflet.js"></script> | 28 | <script src="./node_modules/leaflet/dist/leaflet.js"></script> |
29 | <script src="./node_modules/ngstorage/ngStorage.min.js"></script> | 29 | <script src="./node_modules/ngstorage/ngStorage.min.js"></script> |
30 | <script src="./vendor/cordovaGeolocationModule.min.js"></script> | 30 | <script src="./vendor/cordovaGeolocationModule.min.js"></script> |
31 | 31 | ||
32 | <script src="./node_modules/foca-botonera-facturador/dist/foca-botonera-facturador.min.js"></script> | 32 | <script src="./node_modules/foca-botonera-facturador/dist/foca-botonera-facturador.min.js"></script> |
33 | <script src="./node_modules/foca-botonera-lateral/dist/foca-botonera-lateral.min.js"></script> | 33 | <script src="./node_modules/foca-botonera-lateral/dist/foca-botonera-lateral.min.js"></script> |
34 | <script src="./node_modules/foca-botonera-principal/dist/foca-botonera-principal.min.js"></script> | 34 | <script src="./node_modules/foca-botonera-principal/dist/foca-botonera-principal.min.js"></script> |
35 | <script src="./node_modules/foca-busqueda-cliente/dist/foca-busqueda-cliente.min.js"></script> | 35 | <script src="./node_modules/foca-busqueda-cliente/dist/foca-busqueda-cliente.min.js"></script> |
36 | <script src="./node_modules/foca-cabecera-facturador/dist/foca-cabecera-facturador.min.js"></script> | 36 | <script src="./node_modules/foca-cabecera-facturador/dist/foca-cabecera-facturador.min.js"></script> |
37 | <script src="./node_modules/foca-configuracion/dist/foca-configuracion.min.js"></script> | 37 | <script src="./node_modules/foca-configuracion/dist/foca-configuracion.min.js"></script> |
38 | <script src="./node_modules/foca-crear-cobranza/dist/foca-crear-cobranza.min.js"></script> | 38 | <script src="./node_modules/foca-crear-cobranza/dist/foca-crear-cobranza.min.js"></script> |
39 | <script src="./node_modules/foca-crear-nota-pedido/dist/foca-crear-nota-pedido.min.js"></script> | 39 | <script src="./node_modules/foca-crear-nota-pedido/dist/foca-crear-nota-pedido.min.js"></script> |
40 | <script src="./node_modules/foca-directivas/dist/foca-directivas.min.js"></script> | 40 | <script src="./node_modules/foca-directivas/dist/foca-directivas.min.js"></script> |
41 | <script src="./node_modules/foca-filtros/dist/foca-filtros.min.js"></script> | 41 | <script src="./node_modules/foca-filtros/dist/foca-filtros.min.js"></script> |
42 | <script src="./node_modules/foca-hoja-ruta/dist/foca-hoja-ruta.min.js"></script> | 42 | <script src="./node_modules/foca-hoja-ruta/dist/foca-hoja-ruta.min.js"></script> |
43 | <script src="./node_modules/foca-login/dist/foca-login.min.js"></script> | 43 | <script src="./node_modules/foca-login/dist/foca-login.min.js"></script> |
44 | <script src="./node_modules/foca-modal/dist/foca-modal.min.js"></script> | 44 | <script src="./node_modules/foca-modal/dist/foca-modal.min.js"></script> |
45 | <script src="./node_modules/foca-modal-banco/dist/foca-modal-banco.min.js"></script> | 45 | |
46 | <script src="./node_modules/foca-modal-busqueda-productos/dist/foca-busqueda-productos.min.js"></script> | 46 | <script src="./node_modules/foca-modal-busqueda-productos/dist/foca-busqueda-productos.min.js"></script> |
47 | <script src="./node_modules/foca-modal-cheque/dist/foca-modal-cheque.min.js"></script> | 47 | <script src="./node_modules/foca-modal-cheque/dist/foca-modal-cheque.min.js"></script> |
48 | <script src="./node_modules/foca-modal-chofer/dist/foca-modal-chofer.min.js"></script> | ||
49 | <script src="./node_modules/foca-modal-cobrador/dist/foca-modal-cobradores.min.js"></script> | ||
50 | <script src="./node_modules/foca-modal-cobranza/dist/foca-modal-cobranza.min.js"></script> | 48 | <script src="./node_modules/foca-modal-cobranza/dist/foca-modal-cobranza.min.js"></script> |
51 | <script src="./node_modules/foca-modal-cotizacion/dist/foca-modal-cotizacion.min.js"></script> | 49 | <script src="./node_modules/foca-modal-cotizacion/dist/foca-modal-cotizacion.min.js"></script> |
52 | <script src="./node_modules/foca-modal-detalle-hoja-ruta/dist/foca-modal-detalle-hoja-ruta.min.js"></script> | 50 | <script src="./node_modules/foca-modal-detalle-hoja-ruta/dist/foca-modal-detalle-hoja-ruta.min.js"></script> |
51 | <script src="./node_modules/foca-modal-detalles/dist/foca-modal-detalles.min.js"></script> | ||
53 | <script src="./node_modules/foca-modal-domicilio/dist/foca-modal-domicilios.min.js"></script> | 52 | <script src="./node_modules/foca-modal-domicilio/dist/foca-modal-domicilios.min.js"></script> |
54 | <script src="./node_modules/foca-modal-efectivo/dist/foca-modal-efectivo.min.js"></script> | 53 | <script src="./node_modules/foca-modal-efectivo/dist/foca-modal-efectivo.min.js"></script> |
55 | <script src="./node_modules/foca-modal-factura/dist/foca-modal-factura.min.js"></script> | 54 | <script src="./node_modules/foca-modal-factura/dist/foca-modal-factura.min.js"></script> |
56 | <script src="./node_modules/foca-modal-factura-detalle/dist/foca-modal-factura-detalle.min.js"></script> | 55 | <script src="./node_modules/foca-modal-factura-detalle/dist/foca-modal-factura-detalle.min.js"></script> |
57 | <script src="./node_modules/foca-modal-flete/dist/foca-modal-flete.min.js"></script> | 56 | <script src="./node_modules/foca-modal-flete/dist/foca-modal-flete.min.js"></script> |
58 | <script src="./node_modules/foca-modal-lista-precio/dist/foca-modal-lista-precio.min.js"></script> | 57 | <script src="./node_modules/foca-modal-lista-precio/dist/foca-modal-lista-precio.min.js"></script> |
59 | <script src="./node_modules/foca-modal-localidad/dist/foca-modal-localidad.min.js"></script> | ||
60 | <script src="./node_modules/foca-modal-login/dist/foca-modal-login.min.js"></script> | 58 | <script src="./node_modules/foca-modal-login/dist/foca-modal-login.min.js"></script> |
61 | <script src="./node_modules/foca-modal-moneda/dist/foca-modal-moneda.min.js"></script> | ||
62 | <script src="./node_modules/foca-modal-nota-pedido/dist/foca-modal-nota-pedido.min.js"></script> | 59 | <script src="./node_modules/foca-modal-nota-pedido/dist/foca-modal-nota-pedido.min.js"></script> |
63 | <script src="./node_modules/foca-modal-precio-condiciones/dist/foca-modal-precio-condiciones.min.js"></script> | 60 | <script src="./node_modules/foca-modal-precio-condiciones/dist/foca-modal-precio-condiciones.min.js"></script> |
64 | <script src="./node_modules/foca-modal-proveedor/dist/foca-modal-proveedor.min.js"></script> | ||
65 | <script src="./node_modules/foca-modal-provincia/dist/foca-modal-provincia.min.js"></script> | ||
66 | <script src="./node_modules/foca-modal-punto-descarga/dist/foca-modal-punto-descarga.min.js"></script> | 61 | <script src="./node_modules/foca-modal-punto-descarga/dist/foca-modal-punto-descarga.min.js"></script> |
67 | <script src="./node_modules/foca-modal-tarifa-flete/dist/foca-modal-tarifa-flete.min.js"></script> | 62 | <script src="./node_modules/foca-modal-tarifa-flete/dist/foca-modal-tarifa-flete.min.js"></script> |
68 | <script src="./node_modules/foca-modal-transportista/dist/foca-modal-transportista.min.js"></script> | ||
69 | <script src="./node_modules/foca-modal-unidad-medida/dist/foca-modal-unidad-medida.min.js"></script> | ||
70 | <script src="./node_modules/foca-modal-vendedores/dist/foca-modal-vendedores.min.js"></script> | ||
71 | <script src="./node_modules/foca-nombre-empresa/dist/foca-nombre-empresa.min.js"></script> | 63 | <script src="./node_modules/foca-nombre-empresa/dist/foca-nombre-empresa.min.js"></script> |
72 | <script src="./node_modules/foca-seguimiento/dist/foca-seguimiento.min.js"></script> | 64 | <script src="./node_modules/foca-seguimiento/dist/foca-seguimiento.min.js"></script> |
73 | <script src="./node_modules/foca-sqlite/dist/foca-sqlite.min.js"></script> | 65 | <script src="./node_modules/foca-sqlite/dist/foca-sqlite.min.js"></script> |
74 | <script src="./src/js/app.js"></script> | 66 | <script src="./src/js/app.js"></script> |
75 | <script src="./src/js/controller.js"></script> | 67 | <script src="./src/js/controller.js"></script> |
76 | <script src="./src/etc/develop.js"></script> | 68 | <script src="./src/etc/develop.js"></script> |
77 | </head> | 69 | </head> |
78 | <body> | 70 | <body> |
79 | <style> | 71 | <style> |
80 | </style> | 72 | </style> |
81 | <foca-nombre-empresa></foca-nombre-empresa> | 73 | <foca-nombre-empresa></foca-nombre-empresa> |
82 | <div ng-view class="container contenedor"></div> | 74 | <div ng-view class="container contenedor"></div> |
83 | <div ng-controller="appWrapperDemoController" class="teclado-container container d-none d-md-block "> | 75 | <div ng-controller="appWrapperDemoController" class="teclado-container container d-none d-md-block "> |
84 | <foca-botonera-lateral></foca-botonera-lateral> | 76 | <foca-botonera-lateral></foca-botonera-lateral> |
85 | <foca-teclado | 77 | <foca-teclado |
86 | ng-show="usarTeclado && mostrarTeclado" | 78 | ng-show="usarTeclado && mostrarTeclado" |
87 | alfanumeric="true" | 79 | alfanumeric="true" |
88 | numeric="true" | 80 | numeric="true" |
89 | > | 81 | > |
90 | </foca-teclado> | 82 | </foca-teclado> |
91 | </div> | 83 | </div> |
92 | </body> | 84 | </body> |
93 | </html> | 85 | </html> |
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 | "initdev": "npm install gulp --global && npm install && npm install -g jshint", | 7 | "initdev": "npm install gulp --global && npm install && npm install -g jshint", |
8 | "gulp-pre-commit": "gulp pre-commit", | 8 | "gulp-pre-commit": "gulp pre-commit", |
9 | "compile": "gulp uglify && gulp sass", | 9 | "compile": "gulp uglify && gulp sass", |
10 | "actualizar": "git pull origin master", | 10 | "actualizar": "git pull origin master", |
11 | "install-dev": "gulp pre-install && npm install && gulp post-install" | 11 | "install-dev": "gulp pre-install && npm install && gulp post-install" |
12 | }, | 12 | }, |
13 | "pre-commit": [ | 13 | "pre-commit": [ |
14 | "gulp-pre-commit" | 14 | "gulp-pre-commit" |
15 | ], | 15 | ], |
16 | "repository": { | 16 | "repository": { |
17 | "type": "git", | 17 | "type": "git", |
18 | "url": "git@debonline.dyndns.org:npm/wrapper-demo.git" | 18 | "url": "git@debonline.dyndns.org:npm/wrapper-demo.git" |
19 | }, | 19 | }, |
20 | "author": "Foca Software", | 20 | "author": "Foca Software", |
21 | "license": "ISC", | 21 | "license": "ISC", |
22 | "dependencies": { | 22 | "dependencies": { |
23 | "angular": "^1.7.5", | 23 | "angular": "^1.7.7", |
24 | "angular-chart.js": "1.1.1", | 24 | "angular-chart.js": "1.1.1", |
25 | "angular-cookies": "^1.7.5", | 25 | "angular-cookies": "^1.7.7", |
26 | "angular-i18n": "^1.7.5", | 26 | "angular-i18n": "^1.7.7", |
27 | "angular-ladda": "^0.4.3", | 27 | "angular-ladda": "^0.4.3", |
28 | "angular-route": "^1.7.5", | 28 | "angular-route": "^1.7.7", |
29 | "angular-sanitize": "^1.7.5", | 29 | "angular-sanitize": "^1.7.7", |
30 | "angular-ui-swiper": "^2.3.8", | 30 | "angular-ui-swiper": "^2.3.8", |
31 | "bootstrap": "^4.1.3", | 31 | "bootstrap": "^4.3.1", |
32 | "chart.js": "2.7.3", | 32 | "chart.js": "2.7.3", |
33 | "foca-abm-chofer": "git+http://git.focasoftware.com/npm/foca-abm-chofer.git", | 33 | "foca-abm-chofer": "git+http://git.focasoftware.com/npm/foca-abm-chofer.git", |
34 | "foca-abm-plazo-pago": "git+http://git.focasoftware.com/npm/foca-abm-plazo-pago.git", | 34 | "foca-abm-plazo-pago": "git+http://git.focasoftware.com/npm/foca-abm-plazo-pago.git", |
35 | "foca-abm-precios-condiciones": "git+http://git.focasoftware.com/npm/foca-abm-precios-condiciones.git", | 35 | "foca-abm-precios-condiciones": "git+http://git.focasoftware.com/npm/foca-abm-precios-condiciones.git", |
36 | "foca-abm-sectores": "git+http://git.focasoftware.com/npm/foca-abm-sectores.git", | 36 | "foca-abm-sectores": "git+http://git.focasoftware.com/npm/foca-abm-sectores.git", |
37 | "foca-abm-vehiculo": "git+http://git.focasoftware.com/npm/foca-abm-vehiculo.git", | 37 | "foca-abm-vehiculo": "git+http://git.focasoftware.com/npm/foca-abm-vehiculo.git", |
38 | "foca-abm-vendedor-cobrador": "git+http://git.focasoftware.com/npm/foca-abm-vendedor-cobrador.git", | 38 | "foca-abm-vendedor-cobrador": "git+http://git.focasoftware.com/npm/foca-abm-vendedor-cobrador.git", |
39 | "foca-activar-hoja-ruta": "git+http://git.focasoftware.com/npm/foca-activar-hoja-ruta.git", | 39 | "foca-activar-hoja-ruta": "git+http://git.focasoftware.com/npm/foca-activar-hoja-ruta.git", |
40 | "foca-admin-seguimiento": "git+http://git.focasoftware.com/npm/foca-admin-seguimiento.git", | 40 | "foca-admin-seguimiento": "git+http://git.focasoftware.com/npm/foca-admin-seguimiento.git", |
41 | "foca-botonera-facturador": "git+http://git.focasoftware.com/npm/foca-botonera-facturador.git", | 41 | "foca-botonera-facturador": "git+http://git.focasoftware.com/npm/foca-botonera-facturador.git", |
42 | "foca-botonera-lateral": "git+http://git.focasoftware.com/npm/foca-botonera-lateral.git", | 42 | "foca-botonera-lateral": "git+http://git.focasoftware.com/npm/foca-botonera-lateral.git", |
43 | "foca-botonera-principal": "git+http://git.focasoftware.com/npm/foca-botonera-principal.git", | 43 | "foca-botonera-principal": "git+http://git.focasoftware.com/npm/foca-botonera-principal.git", |
44 | "foca-busqueda-cliente": "git+http://git.focasoftware.com/npm/foca-busqueda-cliente.git", | 44 | "foca-busqueda-cliente": "git+http://git.focasoftware.com/npm/foca-busqueda-cliente.git", |
45 | "foca-cabecera-facturador": "git+http://git.focasoftware.com/npm/foca-cabecera-facturador.git", | 45 | "foca-cabecera-facturador": "git+http://git.focasoftware.com/npm/foca-cabecera-facturador.git", |
46 | "foca-configuracion": "git+http://git.focasoftware.com/npm/foca-configuracion.git", | 46 | "foca-configuracion": "git+http://git.focasoftware.com/npm/foca-configuracion.git", |
47 | "foca-crear-cobranza": "git+http://git.focasoftware.com/npm/foca-crear-cobranza.git", | 47 | "foca-crear-cobranza": "git+http://git.focasoftware.com/npm/foca-crear-cobranza.git", |
48 | "foca-crear-hoja-ruta": "git+http://git.focasoftware.com/npm/foca-crear-hoja-ruta.git", | 48 | "foca-crear-hoja-ruta": "git+http://git.focasoftware.com/npm/foca-crear-hoja-ruta.git", |
49 | "foca-crear-login": "git+http://git.focasoftware.com/npm/foca-crear-login.git", | 49 | "foca-crear-login": "git+http://git.focasoftware.com/npm/foca-crear-login.git", |
50 | "foca-crear-nota-pedido": "git+http://git.focasoftware.com/npm/foca-crear-nota-pedido.git", | 50 | "foca-crear-nota-pedido": "git+http://git.focasoftware.com/npm/foca-crear-nota-pedido.git", |
51 | "foca-crear-remito": "git+http://git.focasoftware.com/npm/foca-crear-remito.git", | 51 | "foca-crear-remito": "git+http://git.focasoftware.com/npm/foca-crear-remito.git", |
52 | "foca-directivas": "git+http://git.focasoftware.com/npm/foca-directivas.git", | 52 | "foca-directivas": "git+http://git.focasoftware.com/npm/foca-directivas.git", |
53 | "foca-estado-cisternas": "git+http://git.focasoftware.com/npm/foca-estado-cisternas.git", | 53 | "foca-estado-cisternas": "git+http://git.focasoftware.com/npm/foca-estado-cisternas.git", |
54 | "foca-filtros": "git+http://git.focasoftware.com/npm/foca-filtros.git", | 54 | "foca-filtros": "git+http://git.focasoftware.com/npm/foca-filtros.git", |
55 | "foca-hoja-ruta": "git+http://git.focasoftware.com/npm/foca-hoja-ruta.git", | 55 | "foca-hoja-ruta": "git+http://git.focasoftware.com/npm/foca-hoja-ruta.git", |
56 | "foca-login": "git+http://git.focasoftware.com/npm/foca-login.git", | 56 | "foca-login": "git+http://git.focasoftware.com/npm/foca-login.git", |
57 | "foca-logistica-pedido-ruta": "git+http://git.focasoftware.com/npm/foca-logistica-pedido-ruta.git", | 57 | "foca-logistica-pedido-ruta": "git+http://git.focasoftware.com/npm/foca-logistica-pedido-ruta.git", |
58 | "foca-modal": "git+http://git.focasoftware.com/npm/foca-modal.git", | 58 | "foca-modal": "git+http://git.focasoftware.com/npm/foca-modal.git", |
59 | "foca-modal-banco": "git+http://git.focasoftware.com/npm/foca-modal-banco.git", | 59 | "foca-modal-banco": "git+http://git.focasoftware.com/npm/foca-modal-banco.git", |
60 | "foca-modal-busqueda-productos": "git+http://git.focasoftware.com/npm/foca-modal-busqueda-productos.git", | 60 | "foca-modal-busqueda-productos": "git+http://git.focasoftware.com/npm/foca-modal-busqueda-productos.git", |
61 | "foca-modal-cheque": "git+http://git.focasoftware.com/npm/foca-modal-cheque.git", | 61 | "foca-modal-cheque": "git+http://git.focasoftware.com/npm/foca-modal-cheque.git", |
62 | "foca-modal-chofer": "git+http://git.focasoftware.com/npm/foca-modal-chofer.git", | 62 | "foca-modal-chofer": "git+http://git.focasoftware.com/npm/foca-modal-chofer.git", |
63 | "foca-modal-cobrador": "git+http://git.focasoftware.com/npm/foca-modal-cobrador.git", | 63 | "foca-modal-cobrador": "git+http://git.focasoftware.com/npm/foca-modal-cobrador.git", |
64 | "foca-modal-cobranza": "git+http://git.focasoftware.com/npm/foca-modal-cobranza.git", | 64 | "foca-modal-cobranza": "git+http://git.focasoftware.com/npm/foca-modal-cobranza.git", |
65 | "foca-modal-cotizacion": "git+http://git.focasoftware.com/npm/foca-modal-cotizacion.git", | 65 | "foca-modal-cotizacion": "git+http://git.focasoftware.com/npm/foca-modal-cotizacion.git", |
66 | "foca-modal-detalle-hoja-ruta": "git+http://git.focasoftware.com/npm/foca-modal-detalle-hoja-ruta.git", | 66 | "foca-modal-detalle-hoja-ruta": "git+http://git.focasoftware.com/npm/foca-modal-detalle-hoja-ruta.git", |
67 | "foca-modal-detalles": "git+http://git.focasoftware.com/npm/foca-modal-detalles.git", | ||
67 | "foca-modal-domicilio": "git+http://git.focasoftware.com/npm/foca-modal-domicilio.git", | 68 | "foca-modal-domicilio": "git+http://git.focasoftware.com/npm/foca-modal-domicilio.git", |
68 | "foca-modal-efectivo": "git+http://git.focasoftware.com/npm/foca-modal-efectivo.git", | 69 | "foca-modal-efectivo": "git+http://git.focasoftware.com/npm/foca-modal-efectivo.git", |
69 | "foca-modal-factura": "git+http://git.focasoftware.com/npm/foca-modal-factura.git", | 70 | "foca-modal-factura": "git+http://git.focasoftware.com/npm/foca-modal-factura.git", |
70 | "foca-modal-factura-detalle": "git+http://git.focasoftware.com/npm/foca-modal-factura-detalle.git", | 71 | "foca-modal-factura-detalle": "git+http://git.focasoftware.com/npm/foca-modal-factura-detalle.git", |
71 | "foca-modal-flete": "git+http://git.focasoftware.com/npm/foca-modal-flete.git", | 72 | "foca-modal-flete": "git+http://git.focasoftware.com/npm/foca-modal-flete.git", |
72 | "foca-modal-lista-precio": "git+http://git.focasoftware.com/npm/foca-modal-lista-precio.git", | 73 | "foca-modal-lista-precio": "git+http://git.focasoftware.com/npm/foca-modal-lista-precio.git", |
73 | "foca-modal-localidad": "git+http://git.focasoftware.com/npm/foca-modal-localidad.git", | 74 | "foca-modal-localidad": "git+http://git.focasoftware.com/npm/foca-modal-localidad.git", |
74 | "foca-modal-login": "git+http://git.focasoftware.com/npm/foca-modal-login.git", | 75 | "foca-modal-login": "git+http://git.focasoftware.com/npm/foca-modal-login.git", |
75 | "foca-modal-moneda": "git+http://git.focasoftware.com/npm/foca-modal-moneda.git", | 76 | "foca-modal-moneda": "git+http://git.focasoftware.com/npm/foca-modal-moneda.git", |
76 | "foca-modal-nota-pedido": "git+http://git.focasoftware.com/npm/foca-modal-nota-pedido.git", | 77 | "foca-modal-nota-pedido": "git+http://git.focasoftware.com/npm/foca-modal-nota-pedido.git", |
77 | "foca-modal-precio-condiciones": "git+http://git.focasoftware.com/npm/foca-modal-precio-condiciones.git", | 78 | "foca-modal-precio-condiciones": "git+http://git.focasoftware.com/npm/foca-modal-precio-condiciones.git", |
78 | "foca-modal-proveedor": "git+http://git.focasoftware.com/npm/foca-modal-proveedor.git", | 79 | "foca-modal-proveedor": "git+http://git.focasoftware.com/npm/foca-modal-proveedor.git", |
79 | "foca-modal-provincia": "git+http://git.focasoftware.com/npm/foca-modal-provincia.git", | 80 | "foca-modal-provincia": "git+http://git.focasoftware.com/npm/foca-modal-provincia.git", |
80 | "foca-modal-punto-descarga": "git+http://git.focasoftware.com/npm/foca-modal-punto-descarga.git", | 81 | "foca-modal-punto-descarga": "git+http://git.focasoftware.com/npm/foca-modal-punto-descarga.git", |
81 | "foca-modal-remito": "git+http://git.focasoftware.com/npm/foca-modal-remito.git", | 82 | "foca-modal-remito": "git+http://git.focasoftware.com/npm/foca-modal-remito.git", |
82 | "foca-modal-tarifa-flete": "git+http://git.focasoftware.com/npm/foca-modal-tarifa-flete.git", | 83 | "foca-modal-tarifa-flete": "git+http://git.focasoftware.com/npm/foca-modal-tarifa-flete.git", |
83 | "foca-modal-transportista": "git+http://git.focasoftware.com/npm/foca-modal-transportista.git", | 84 | "foca-modal-transportista": "git+http://git.focasoftware.com/npm/foca-modal-transportista.git", |
84 | "foca-modal-unidad-medida": "git+http://git.focasoftware.com/npm/foca-modal-unidad-medida.git", | 85 | "foca-modal-unidad-medida": "git+http://git.focasoftware.com/npm/foca-modal-unidad-medida.git", |
85 | "foca-modal-vehiculo": "git+http://git.focasoftware.com/npm/foca-modal-vehiculo.git", | 86 | "foca-modal-vehiculo": "git+http://git.focasoftware.com/npm/foca-modal-vehiculo.git", |
86 | "foca-modal-vendedores": "git+http://git.focasoftware.com/npm/foca-modal-vendedores.git", | 87 | "foca-modal-vendedores": "git+http://git.focasoftware.com/npm/foca-modal-vendedores.git", |
87 | "foca-nombre-empresa": "git+http://git.focasoftware.com/npm/foca-nombre-empresa.git", | 88 | "foca-nombre-empresa": "git+http://git.focasoftware.com/npm/foca-nombre-empresa.git", |
88 | "foca-seguimiento": "git+http://git.focasoftware.com/npm/foca-seguimiento.git", | 89 | "foca-seguimiento": "git+http://git.focasoftware.com/npm/foca-seguimiento.git", |
89 | "foca-sqlite": "git+http://git.focasoftware.com/npm/foca-sqlite.git", | 90 | "foca-sqlite": "git+http://git.focasoftware.com/npm/foca-sqlite.git", |
90 | "foca-teclado": "git+http://git.focasoftware.com/npm/foca-teclado.git", | 91 | "foca-teclado": "git+http://git.focasoftware.com/npm/foca-teclado.git", |
91 | "font-awesome": "^4.7.0", | 92 | "font-awesome": "^4.7.0", |
92 | "gulp-angular-templatecache": "^2.2.1", | 93 | "gulp-angular-templatecache": "^2.2.1", |
93 | "gulp-htmlmin": "^5.0.1", | 94 | "gulp-htmlmin": "^5.0.1", |
94 | "gulp-uglify": "^3.0.1", | 95 | "gulp-uglify": "^3.0.1", |
95 | "gulp-uglify-es": "^1.0.4", | 96 | "gulp-uglify-es": "^1.0.4", |
96 | "jquery": "^3.3.1", | 97 | "jquery": "^3.3.1", |
97 | "ladda": "1.0.6", | 98 | "ladda": "1.0.6", |
98 | "leaflet": "1.3.4", | 99 | "leaflet": "1.3.4", |
99 | "moment": "2.23.0", | 100 | "moment": "2.23.0", |
100 | "ngstorage": "^0.3.11", | 101 | "ngstorage": "^0.3.11", |
101 | "node-sass": "^4.10.0", | 102 | "node-sass": "^4.10.0", |
102 | "uglify": "^0.1.5", | 103 | "uglify": "^0.1.5", |
103 | "ui-bootstrap4": "^3.0.5" | 104 | "ui-bootstrap4": "^3.0.6" |
104 | }, | 105 | }, |
105 | "devDependencies": { | 106 | "devDependencies": { |
106 | "gulp": "3.9.1", | 107 | "gulp": "3.9.1", |
107 | "gulp-clean": "^0.4.0", | 108 | "gulp-clean": "^0.4.0", |
108 | "gulp-concat": "^2.6.1", | 109 | "gulp-concat": "^2.6.1", |
109 | "gulp-connect": "^5.6.1", | 110 | "gulp-connect": "^5.6.1", |
110 | "gulp-jshint": "^2.1.0", | 111 | "gulp-jshint": "^2.1.0", |
111 | "gulp-rename": "^1.4.0", | 112 | "gulp-rename": "^1.4.0", |
112 | "gulp-replace": "^1.0.0", | 113 | "gulp-replace": "^1.0.0", |
113 | "gulp-sass": "^4.0.1", | 114 | "gulp-sass": "^4.0.1", |
114 | "gulp-uglify": "^1.0.4", | 115 | "gulp-uglify": "^1.0.4", |
115 | "gulp-watch": "^5.0.1", | 116 | "gulp-watch": "^5.0.1", |
116 | "jasmine-core": "^3.2.1", | 117 | "jasmine-core": "^3.2.1", |
117 | "jshint": "^2.9.6", | 118 | "jshint": "^2.10.1", |
118 | "pre-commit": "^1.2.2", | 119 | "pre-commit": "^1.2.2", |
119 | "pump": "^3.0.0" | 120 | "pump": "^3.0.0" |
120 | } | 121 | } |
121 | } | 122 | } |
122 | 123 |
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 | 'ngStorage', | 8 | 'ngStorage', |
9 | 'onScreenKeyboard', | ||
8 | 'ui.bootstrap', | 10 | 'ui.bootstrap', |
9 | 'ui.swiper', | 11 | 'ui.swiper', |
12 | 'ui.grid', | ||
13 | 'ui.grid.exporter', | ||
10 | 14 | ||
11 | // MODULOS FOCA | 15 | // MODULOS FOCA |
16 | 'focaAbmPreciosCondiciones', | ||
17 | 'focaAbmVehiculo', | ||
18 | 'focaAbmChofer', | ||
19 | 'focaAbmVendedorCobrador', | ||
20 | 'focaActivarHojaRuta', | ||
21 | 'focaAdminSeguimiento', | ||
12 | 'focaBotoneraFacturador', | 22 | 'focaBotoneraFacturador', |
13 | 'focaBotoneraLateral', | 23 | 'focaBotoneraLateral', |
14 | 'focaBotoneraPrincipal', | 24 | 'focaBotoneraPrincipal', |
15 | 'focaBusquedaCliente', | 25 | 'focaBusquedaCliente', |
16 | 'focaBusquedaProductos', | 26 | 'focaBusquedaProductos', |
17 | 'focaCabeceraFacturador', | 27 | 'focaCabeceraFacturador', |
18 | 'focaConfiguracion', | 28 | 'focaConfiguracion', |
29 | 'focaConfigurarTerminal', | ||
19 | 'focaCrearCobranza', | 30 | 'focaCrearCobranza', |
31 | 'focaCrearHojaRuta', | ||
32 | 'focaCrearLogin', | ||
20 | 'focaCrearNotaPedido', | 33 | 'focaCrearNotaPedido', |
34 | 'focaCrearRemito', | ||
21 | 'focaDirectivas', | 35 | 'focaDirectivas', |
36 | 'focaEstadoCisternas', | ||
22 | 'focaFiltros', | 37 | 'focaFiltros', |
23 | 'focaHojaRuta', | 38 | 'focaHojaRuta', |
39 | 'focaInformes', | ||
24 | 'focaLogin', | 40 | 'focaLogin', |
25 | 'focaModal', | 41 | 'focaModal', |
26 | 'focaModalBanco', | ||
27 | 'focaModalCheque', | 42 | 'focaModalCheque', |
28 | 'focaModalChofer', | ||
29 | 'focaModalCobradores', | ||
30 | 'focaModalCobranza', | 43 | 'focaModalCobranza', |
31 | 'focaModalCotizacion', | 44 | 'focaModalCotizacion', |
45 | 'focaModalDetalleCisternas', | ||
32 | 'focaModalDetalleHojaRuta', | 46 | 'focaModalDetalleHojaRuta', |
47 | 'focaModalDetalles', | ||
33 | 'focaModalDomicilio', | 48 | 'focaModalDomicilio', |
34 | 'focaModalEfectivo', | 49 | 'focaModalEfectivo', |
35 | 'focaModalFactura', | 50 | 'focaModalFactura', |
36 | 'focaModalFacturaDetalle', | 51 | 'focaModalFacturaDetalle', |
37 | 'focaModalFlete', | 52 | 'focaModalFlete', |
53 | 'focaModalGraficoCisternas', | ||
54 | 'focaModalInforme', | ||
38 | 'focaModalListaPrecio', | 55 | 'focaModalListaPrecio', |
39 | 'focaModalLocalidad', | 56 | 'focaModalLocalizar', |
40 | 'focaModalLogin', | 57 | 'focaModalLogin', |
41 | 'focaModalMoneda', | ||
42 | 'focaModalNotaPedido', | 58 | 'focaModalNotaPedido', |
43 | 'focaModalPrecioCondicion', | 59 | 'focaModalPrecioCondicion', |
44 | 'focaModalProveedor', | ||
45 | 'focaModalProvincia', | ||
46 | 'focaModalPuntoDescarga', | 60 | 'focaModalPuntoDescarga', |
61 | 'focaModalRemito', | ||
47 | 'focaModalTarifaFlete', | 62 | 'focaModalTarifaFlete', |
48 | 'focaModalTransportista', |
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 | 'focaSqliteService', | 6 | function($scope, $rootScope, $timeout) { |
7 | function($scope, $rootScope, $timeout, focaSqliteService) { | ||
8 | document.addEventListener('deviceready', function() { | ||
9 | focaSqliteService.openDataBase(); | ||
10 | }); | ||
11 | $scope.usarTeclado = false; | 7 | $scope.usarTeclado = false; |
12 | $rootScope.$broadcast('usarTeclado', false); | 8 | $rootScope.$broadcast('usarTeclado', false); |
13 | $scope.mostrarTeclado = false; | 9 | $scope.mostrarTeclado = false; |
14 | //Envรญa broadcast para avisar que el teclado estรก en funcionamiento o no | 10 | //Envรญa broadcast para avisar que el teclado estรก en funcionamiento o no |
15 | //para su uso cambiar ng-click del boton por esta funciรณn | 11 | //para su uso cambiar ng-click del boton por esta funciรณn |
16 | $scope.cambioUsoTeclado = function() { | 12 | $scope.cambioUsoTeclado = function() { |
17 | if($scope.usarTeclado) { | 13 | if($scope.usarTeclado) { |
18 | $scope.usarTeclado = false; | 14 | $scope.usarTeclado = false; |
19 | $rootScope.$broadcast('usarTeclado', false); | 15 | $rootScope.$broadcast('usarTeclado', false); |
20 | return; | 16 | return; |
21 | } | 17 | } |
22 | $scope.usarTeclado = true; | 18 | $scope.usarTeclado = true; |
23 | $rootScope.$broadcast('usarTeclado', true); | 19 | $rootScope.$broadcast('usarTeclado', true); |
24 | }; | 20 | }; |
25 | 21 | ||
26 | $rootScope.$on('focus', function(event) { | 22 | $rootScope.$on('focus', function() { |
27 | if(!$scope.usarTeclado) { | 23 | if(!$scope.usarTeclado) { |
28 | return; | 24 | return; |
29 | } | 25 | } |
30 | $scope.mostrarTeclado = true; | 26 | $scope.mostrarTeclado = true; |
31 | $timeout.cancel($scope.timeout); | 27 | $timeout.cancel($scope.timeout); |
32 | if(!$scope.$$phase) { | 28 | if(!$scope.$$phase) { |
33 | $scope.$apply(); | 29 | $scope.$apply(); |
34 | } | 30 | } |
35 | }); | 31 | }); |
36 | $rootScope.$on('blur', function(event) { | 32 | $rootScope.$on('blur', function() { |
37 | $scope.timeout = $timeout(function() { | 33 | $scope.timeout = $timeout(function() { |
38 | $scope.mostrarTeclado = false; | 34 | $scope.mostrarTeclado = false; |
39 | if(!$scope.$$phase) { | 35 | if(!$scope.$$phase) { |
40 | $scope.$apply(); | 36 | $scope.$apply(); |
41 | } | 37 | } |
42 | }, 150); | 38 | }, 150); |
43 | }); | 39 | }); |
44 | } | 40 | } |
45 | ]); | 41 | ]); |
46 | 42 |
src/sass/_botonera-lateral.scss
1 | .botonera-lateral { | 1 | .botonera-lateral { |
2 | pointer-events: none; | 2 | pointer-events: none; |
3 | position: absolute; | 3 | position: absolute; |
4 | left: 0; | 4 | left: 0; |
5 | right: 0; | 5 | right: 0; |
6 | top: 402px; | 6 | top: 402px; |
7 | &.teclado{ | 7 | &.teclado{ |
8 | top: 449px; | 8 | top: 449px; |
9 | z-index: 100000; | 9 | z-index: 100000; |
10 | } | 10 | } |
11 | .row{ | 11 | .row{ |
12 | margin: 0 !important; | 12 | margin: 0 !important; |
13 | pointer-events: none; | 13 | pointer-events: none; |
14 | } | 14 | } |
15 | 15 | ||
16 | .container{ | 16 | .container{ |
17 | @media (min-width: 768px){ | 17 | @media (min-width: 768px){ |
18 | display: grid !important; | 18 | display: grid !important; |
19 | } | 19 | } |
20 | } | 20 | } |
21 | 21 | ||
22 | button{ | 22 | button{ |
23 | pointer-events: all; | 23 | pointer-events: all; |
24 | background-color: #DDD; | 24 | background-color: #DDD; |
25 | } | 25 | } |
26 | 26 | ||
27 | .teclado-activar { | 27 | .teclado-activar { |
28 | background-color: #17d236 !important; | 28 | background-color: #17d236 !important; |
29 | color: #FFF !important; | 29 | color: #FFF !important; |
30 | } | 30 | } |
31 | div[ladda]{ | ||
32 | background-color: #DDD; | ||
33 | } | ||
31 | 34 | ||
32 | button, .btn-group-toggle{ | 35 | button, .btn-group-toggle{ |
33 | background-color: #DDD; | 36 | background-color: #DDD; |
34 | color: #000; | 37 | color: #000; |
35 | text-transform: uppercase; | 38 | text-transform: uppercase; |
36 | min-width: 109px; | 39 | min-width: 109px; |
37 | &:hover{ | 40 | &:hover{ |
38 | color: #FFF; | 41 | color: #FFF; |
39 | .boton-activar-teclado{ | 42 | .boton-activar-teclado{ |
40 | color: #FFF; | 43 | color: #FFF; |
41 | } | 44 | } |
42 | background-color: #000; | 45 | background-color: #000; |
43 | } | 46 | } |
44 | } | 47 | } |
45 | 48 | ||
46 | 49 | ||
47 | .btn-group-toggle{ | 50 | .btn-group-toggle{ |
48 | pointer-events: all; | 51 | pointer-events: all; |
49 | &.active{ | 52 | &.active{ |
50 | background-color: $primary-color; | 53 | background-color: $primary-color; |
51 | .boton-activar-teclado{ | 54 | .boton-activar-teclado{ |
52 | color: #FFF; | 55 | color: #FFF; |
53 | } | 56 | } |
54 | } | 57 | } |
55 | 58 | ||
56 | .boton-activar-teclado{ | 59 | .boton-activar-teclado{ |
57 | cursor: pointer; | 60 | cursor: pointer; |
58 | color: #000; | 61 | color: #000; |
59 | background-color: transparent; | 62 | background-color: transparent; |
60 | } | 63 | } |
61 | 64 | ||
62 | input{ | 65 | input{ |
63 | display: none; | 66 | display: none; |
64 | } | 67 | } |
65 | } | 68 | } |
69 | |||
70 | .guardado{ | ||
71 | animation:guardado 4s 1; | ||
72 | -webkit-animation:guardado 4s 1; /* Safari and Chrome */ | ||
73 | } | ||
74 | |||
75 | @keyframes guardado | ||
76 | { | ||
77 | 0% {background:#DDD; color: #000;} | ||
78 | 25% {background:#28a745; color: #FFF;} | ||
79 | 75% {background:#28a745; color: #FFF;} | ||
80 | 100% {background:#DDD; color: #000;} | ||
81 | } | ||
82 | |||
83 | @-webkit-keyframes guardado /* Safari and Chrome */ | ||
84 | { | ||
85 | 0% {background:#DDD; color: #000;} | ||
86 | 25% {background:#28a745; color: #FFF;} | ||
87 | 75% {background:#28a745; color: #FFF;} | ||
88 | 100% {background:#DDD; color: #000;} | ||
89 | } | ||
66 | } | 90 | } |
67 | 91 |
src/sass/_botonera-secundaria.scss
1 | .botonera-secundaria { | 1 | .botonera-secundaria { |
2 | .row { | 2 | .row { |
3 | border-radius: 5px; | 3 | border-radius: 5px; |
4 | overflow: hidden; | 4 | overflow: hidden; |
5 | } | 5 | } |
6 | .btn { | 6 | .btn-xs { |
7 | display: grid; | 7 | display: grid; |
8 | border-width: 3px !important; | 8 | border-width: 3px !important; |
9 | border-radius: .7rem !important; | 9 | border-radius: .7rem !important; |
10 | margin-right: 1px; | 10 | margin-right: 1px; |
11 | width: calc(100% - 1px); | 11 | width: calc(100% - 1px); |
12 | margin-bottom: 1px; | 12 | margin-bottom: 1px; |
13 | 13 | ||
14 | &:hover{ | 14 | &:hover{ |
15 | background-color: #d8b07d; | 15 | background-color: #d8b07d; |
16 | border-color: #e09125 !important; | 16 | border-color: #e09125 !important; |
17 | } | 17 | } |
18 | &:focus{ | 18 | &:focus{ |
19 | box-shadow: 0 0 0 0.2rem rgb(216, 176, 125); | 19 | box-shadow: 0 0 0 0.2rem rgb(216, 176, 125); |
20 | } | 20 | } |
21 | img{ | 21 | img{ |
22 | width: 50%; | 22 | width: 50%; |
23 | margin: auto | 23 | margin: auto |
24 | } | 24 | } |
25 | span{ | 25 | span{ |
26 | font-size: 11px; | 26 | font-size: 11px; |
27 | margin-left: -.25rem; | 27 | margin-left: -.25rem; |
28 | margin-right: -.25rem; | 28 | margin-right: -.25rem; |
29 | } | 29 | } |
30 | } | 30 | } |
31 | @media(max-width: 992px){ | 31 | @media(max-width: 992px){ |
32 | .btn{ | 32 | .btn-xs{ |
33 | font-weight: 700; | 33 | font-weight: 700; |
34 | } | 34 | } |
35 | } | 35 | } |
36 | @media(min-width: 1200px){ | 36 | @media(min-width: 1200px){ |
37 | .btn{ | 37 | .btn-xs{ |
38 | min-height: 85px; | 38 | height: 85px !important; |
39 | } | 39 | } |
40 | .foca-facturador-px{ | 40 | .foca-facturador-px{ |
41 | padding-left: 3rem; | 41 | padding-left: 3rem; |
42 | padding-right: 3rem; | 42 | padding-right: 3rem; |
43 | } | 43 | } |
44 | } | 44 | } |
45 | 45 | ||
46 | @media(min-width: 992px) and (max-width: 1200px){ | 46 | @media(min-width: 992px) and (max-width: 1200px){ |
47 | .btn{ | 47 | .btn-xs{ |
48 | min-height: 73px; | 48 | height: 73px !important; |
49 | } | 49 | } |
50 | } | 50 | } |
51 | 51 | ||
52 | @media(min-width: 768px) and (max-width: 992px){ | 52 | @media(min-width: 768px) and (max-width: 992px){ |
53 | .btn{ | 53 | .btn-xs{ |
54 | min-height: 62px; | 54 | height: 62px !important; |
55 | } | ||
56 | } | ||
57 | |||
58 | @media(min-width: 576px) and (max-width: 768px){ | ||
59 | .btn-xs{ | ||
60 | max-height: 51px; | ||
61 | } | ||
62 | } | ||
63 | |||
64 | @media(max-width: 576px) { | ||
65 | .btn-xs{ | ||
66 | max-height: 13vw; | ||
55 | } | 67 | } |
56 | } | 68 | } |
57 | 69 | ||
58 | } | 70 | } |
59 | 71 |
src/sass/_grid.scss
File was created | 1 | .gridInforme { | |
2 | width: 100%; | ||
3 | height: 350px; | ||
4 | } | ||
5 | .ui-grid-header-cell-wrapper{ | ||
6 | height: 40px !important; | ||
7 | } | ||
8 | |||
9 | |||
10 | .yellow { | ||
11 | max-width: unset !important; | ||
12 | >div { | ||
13 | background: yellow !important; | ||
14 | font-weight: bold; | ||
15 | } | ||
16 | } | ||
17 | |||
18 | .red { | ||
19 | max-width: unset !important; | ||
20 | >div { | ||
21 | color: red; | ||
22 | font-weight: bold; | ||
23 | } | ||
24 | } | ||
25 | |||
26 | .green { | ||
27 | max-width: unset !important; | ||
28 | >div { | ||
29 | color: green; | ||
30 | font-weight: bold; | ||
31 | } | ||
32 | } | ||
33 |
src/sass/_logistica-pedido-ruta.scss
1 | .arrastrando { | 1 | .arrastrando { |
2 | opacity: 0.5; | 2 | opacity: 0.5; |
3 | } | 3 | } |
4 | .vertical { | 4 | .vertical { |
5 | display: inline-block; | 5 | display: inline-block; |
6 | width: 20%; | 6 | width: 20%; |
7 | height: 40px; | 7 | height: 40px; |
8 | -webkit-transform: rotate(-90deg); /* Chrome, Safari, Opera */ | 8 | -webkit-transform: rotate(-90deg); /* Chrome, Safari, Opera */ |
9 | transform: rotate(-90deg); | 9 | transform: rotate(-90deg); |
10 | } | 10 | } |
11 | .progress-circle{ | 11 | .progress-circle{ |
12 | width: 150px; | 12 | width: 150px; |
13 | height: 150px; | 13 | height: 150px; |
14 | line-height: 150px; | 14 | line-height: 150px; |
15 | background: none; | 15 | background: none; |
16 | margin: 0 auto; | 16 | margin: 0 auto; |
17 | box-shadow: none; | 17 | box-shadow: none; |
18 | position: relative; | 18 | position: relative; |
19 | } | 19 | } |
20 | .progress-circle:after{ | 20 | .progress-circle:after{ |
21 | content: ""; | 21 | content: ""; |
22 | width: 100%; | 22 | width: 100%; |
23 | height: 100%; | 23 | height: 100%; |
24 | border-radius: 50%; | 24 | border-radius: 50%; |
25 | border: 12px solid #fff; | 25 | border: 12px solid #fff; |
26 | position: absolute; | 26 | position: absolute; |
27 | top: 0; | 27 | top: 0; |
28 | left: 0; | 28 | left: 0; |
29 | } | 29 | } |
30 | .progress-circle > span{ | 30 | .progress-circle > span{ |
31 | width: 50%; | 31 | width: 50%; |
32 | height: 100%; | 32 | height: 100%; |
33 | overflow: hidden; | 33 | overflow: hidden; |
34 | position: absolute; | 34 | position: absolute; |
35 | top: 0; | 35 | top: 0; |
36 | z-index: 1; | 36 | z-index: 1; |
37 | } | 37 | } |
38 | .progress-circle .progress-left{ | 38 | .progress-circle .progress-left{ |
39 | left: 0; | 39 | left: 0; |
40 | } | 40 | } |
41 | .progress-circle .progress-bar{ | 41 | .progress-circle .progress-bar{ |
42 | width: 100%; | 42 | width: 100%; |
43 | height: 100%; | 43 | height: 100%; |
44 | background: none; | 44 | background: none; |
45 | border-width: 12px; | 45 | border-width: 12px; |
46 | border-style: solid; | 46 | border-style: solid; |
47 | position: absolute; | 47 | position: absolute; |
48 | top: 0; | 48 | top: 0; |
49 | } | 49 | } |
50 | .progress-circle .progress-left .progress-bar{ | 50 | .progress-circle .progress-left .progress-bar{ |
51 | left: 100%; | 51 | left: 100%; |
52 | border-top-right-radius: 80px; | 52 | border-top-right-radius: 80px; |
53 | border-bottom-right-radius: 80px; | 53 | border-bottom-right-radius: 80px; |
54 | border-left: 0; | 54 | border-left: 0; |
55 | -webkit-transform-origin: center left; | 55 | -webkit-transform-origin: center left; |
56 | transform-origin: center left; | 56 | transform-origin: center left; |
57 | } | 57 | } |
58 | .progress-circle .progress-right{ | 58 | .progress-circle .progress-right{ |
59 | right: 0; | 59 | right: 0; |
60 | } | 60 | } |
61 | .progress-circle .progress-right .progress-bar{ | 61 | .progress-circle .progress-right .progress-bar{ |
62 | left: -100%; | 62 | left: -100%; |
63 | border-top-left-radius: 80px; | 63 | border-top-left-radius: 80px; |
64 | border-bottom-left-radius: 80px; | 64 | border-bottom-left-radius: 80px; |
65 | border-right: 0; | 65 | border-right: 0; |
66 | -webkit-transform-origin: center right; | 66 | -webkit-transform-origin: center right; |
67 | transform-origin: center right; | 67 | transform-origin: center right; |
68 | animation: loading-1 1.8s linear forwards; | 68 | animation: loading-1 1.8s linear forwards; |
69 | } | 69 | } |
70 | .progress-circle .progress-value{ | 70 | .progress-circle .progress-value{ |
71 | width: 90%; | 71 | width: 90%; |
72 | height: 90%; | 72 | height: 90%; |
73 | border-radius: 50%; | 73 | border-radius: 50%; |
74 | background: #44484b; | 74 | background: #44484b; |
75 | font-size: 24px; | 75 | font-size: 24px; |
76 | color: #fff; | 76 | color: #fff; |
77 | line-height: 135px; | 77 | line-height: 20px; |
78 | text-align: center; | 78 | text-align: center; |
79 | position: absolute; | 79 | position: absolute; |
80 | top: 5%; | 80 | top: 5%; |
81 | left: 5%; | 81 | left: 5%; |
82 | } | 82 | } |
83 | .progress-circle.blue .progress-bar{ | 83 | .progress-circle.blue .progress-bar{ |
84 | border-color: #049dff; | 84 | border-color: #049dff; |
85 | } | 85 | } |
86 | .progress-circle.blue .progress-left .progress-bar{ | 86 | .progress-circle.blue .progress-left .progress-bar{ |
87 | animation: loading-2 1.5s linear forwards 1.8s; | 87 | animation: loading-2 1.5s linear forwards 1.8s; |
88 | } | 88 | } |
89 | @keyframes loading-1{ | 89 | @keyframes loading-1{ |
90 | 0%{ | 90 | 0%{ |
91 | -webkit-transform: rotate(0deg); | 91 | -webkit-transform: rotate(0deg); |
92 | transform: rotate(0deg); | 92 | transform: rotate(0deg); |
93 | } | 93 | } |
94 | 100%{ | 94 | 100%{ |
95 | -webkit-transform: rotate(180deg); | 95 | -webkit-transform: rotate(180deg); |
96 | transform: rotate(180deg); | 96 | transform: rotate(180deg); |
97 | } | 97 | } |
98 | } | 98 | } |
99 | @keyframes loading-2{ | 99 | @keyframes loading-2{ |
100 | 0%{ | 100 | 0%{ |
101 | -webkit-transform: rotate(0deg); | 101 | -webkit-transform: rotate(0deg); |
102 | transform: rotate(0deg); | 102 | transform: rotate(0deg); |
103 | } | 103 | } |
104 | 100%{ | 104 | 100%{ |
105 | -webkit-transform: rotate(180deg); | 105 | -webkit-transform: rotate(180deg); |
106 | transform: rotate(180deg); | 106 | transform: rotate(180deg); |
107 | } | 107 | } |
108 | } | 108 | } |
109 | @keyframes loading-3{ | 109 | @keyframes loading-3{ |
110 | 0%{ | 110 | 0%{ |
111 | -webkit-transform: rotate(0deg); | 111 | -webkit-transform: rotate(0deg); |
112 | transform: rotate(0deg); | 112 | transform: rotate(0deg); |
113 | } | 113 | } |
114 | 100%{ | 114 | 100%{ |
115 | -webkit-transform: rotate(90deg); | 115 | -webkit-transform: rotate(90deg); |
116 | transform: rotate(90deg); | 116 | transform: rotate(90deg); |
117 | } | 117 | } |
118 | } | 118 | } |
119 | @keyframes loading-4{ | 119 | @keyframes loading-4{ |
120 | 0%{ | 120 | 0%{ |
121 | -webkit-transform: rotate(0deg); | 121 | -webkit-transform: rotate(0deg); |
122 | transform: rotate(0deg); | 122 | transform: rotate(0deg); |
123 | } | 123 | } |
124 | 100%{ | 124 | 100%{ |
125 | -webkit-transform: rotate(36deg); | 125 | -webkit-transform: rotate(36deg); |
126 | transform: rotate(36deg); | 126 | transform: rotate(36deg); |
127 | } | 127 | } |
128 | } | 128 | } |
129 | @keyframes loading-5{ | 129 | @keyframes loading-5{ |
130 | 0%{ | 130 | 0%{ |
131 | -webkit-transform: rotate(0deg); | 131 | -webkit-transform: rotate(0deg); |
132 | transform: rotate(0deg); | 132 | transform: rotate(0deg); |
133 | } | 133 | } |
134 | 100%{ | 134 | 100%{ |
135 | -webkit-transform: rotate(126deg); | 135 | -webkit-transform: rotate(126deg); |
136 | transform: rotate(126deg); | 136 | transform: rotate(126deg); |
137 | } | 137 | } |
138 | } | 138 | } |
139 | @media only screen and (max-width: 990px){ | 139 | @media only screen and (max-width: 990px){ |
140 | .progress{ margin-bottom: 20px; } | 140 | .progress{ margin-bottom: 20px; } |
141 | } | 141 | } |
142 | .foca-alto-progress{ | 142 | .foca-alto-progress{ |
143 | height: 2rem; | 143 | height: 2rem; |
144 | } | 144 | } |
145 | 145 |
src/sass/_paginador-abm.scss
File was created | 1 | .paginador-abm { | |
2 | margin-top: 1rem; | ||
3 | li { | ||
4 | &.active{ | ||
5 | > a { | ||
6 | background: $primary-color !important; | ||
7 | color: #FFF !important; | ||
8 | } | ||
9 | } | ||
10 | |||
11 | > a { | ||
12 | background-color: transparent !important; | ||
13 | border-color: #67615e !important; | ||
14 | color: #000 !important; | ||
15 | |||
16 | } | ||
17 | } | ||
18 | } | ||
19 |
src/sass/general.scss
1 | $primary-color: #e09125; | 1 | $primary-color: #e09125; |
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'; | ||
21 | @import 'paginador-abm'; | ||
20 | 22 | ||
21 | 23 | ||
22 | //OCULTA FLECHAS INPUT NUMBER | 24 | //OCULTA FLECHAS INPUT NUMBER |
23 | input[type='number'] { | 25 | input[type='number'] { |
24 | -moz-appearance:textfield; | 26 | -moz-appearance:textfield; |
25 | } | 27 | } |
26 | input::-webkit-outer-spin-button, | 28 | input::-webkit-outer-spin-button, |
27 | input::-webkit-inner-spin-button { | 29 | input::-webkit-inner-spin-button { |
28 | -webkit-appearance: none; | 30 | -webkit-appearance: none; |
29 | } | 31 | } |
30 | 32 | ||
31 | .d-md-grid{ | 33 | .d-md-grid{ |
32 | @media (min-width: 768px) { | 34 | @media (min-width: 768px) { |
33 | display: grid !important; | 35 | display: grid !important; |
34 | } | 36 | } |
35 | } | 37 | } |
36 | 38 | ||
37 | .btn-outline-debo{ | 39 | .btn-outline-debo{ |
38 | background-color: transparent; | 40 | background-color: transparent; |
39 | color: $primary-color; | 41 | color: $primary-color; |
40 | border-color: $primary-color; | 42 | border-color: $primary-color; |
41 | &:hover{ | 43 | &:hover{ |
42 | color: #FFF; | 44 | color: #FFF; |
43 | border-color: transparent; | 45 | border-color: transparent; |
44 | background-color: $primary-color; | 46 | background-color: $primary-color; |
45 | } | 47 | } |
46 | } | 48 | } |
47 | 49 | ||
48 | .front-index{ | 50 | .front-index{ |
49 | z-index: 9999; | 51 | z-index: 9999; |
50 | } | 52 | } |
51 | 53 | ||
52 | .foca-overflow-hidden{ | 54 | .uib-daypicker{ |
53 | overflow: hidden; | 55 | outline: 0 |
56 | } | ||
57 | |||
58 | .right-0{ | ||
59 | right: 0; | ||
60 | } | ||
61 | |||
62 | .tabla-factura{ | ||
63 | word-wrap: break-word; | ||
64 | table-layout: fixed; | ||
65 | } | ||
66 | |||
67 | .ladda-w-100 .ladda-label{ | ||
68 | width: 100% | ||
69 | } | ||
70 | |||
71 | .btn-delete-image{ | ||
72 | height: 25px; | ||
73 | width: 25px; | ||
74 | top: -10px; | ||
75 | right: 0; | ||
54 | } | 76 | } |
55 | 77 |