Commit 01b1a46db22019cd874d4c18f0f9fadf7097dd2e
1 parent
939158fbcc
Exists in
master
elimino espacios innecesarios
Showing
1 changed file
with
0 additions
and
2 deletions
Show diff stats
index.html
1 | <html ng-app="focaModalVendedores"> | 1 | <html ng-app="focaModalVendedores"> |
2 | 2 | ||
3 | <head> | 3 | <head> |
4 | <meta charset="UTF-8" /> | 4 | <meta charset="UTF-8" /> |
5 | <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | 5 | <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> |
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 | 10 | ||
11 | <!--VENDOR JS--> | 11 | <!--VENDOR JS--> |
12 | <script src="node_modules/jquery/dist/jquery.min.js"></script> | 12 | <script src="node_modules/jquery/dist/jquery.min.js"></script> |
13 | <script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script> | 13 | <script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script> |
14 | <script src="node_modules/angular/angular.min.js"></script> | 14 | <script src="node_modules/angular/angular.min.js"></script> |
15 | <script src="node_modules/ui-bootstrap4/dist/ui-bootstrap-tpls.js"></script> | 15 | <script src="node_modules/ui-bootstrap4/dist/ui-bootstrap-tpls.js"></script> |
16 | <script src="node_modules/foca-directivas/dist/foca-directivas.min.js"></script> | 16 | <script src="node_modules/foca-directivas/dist/foca-directivas.min.js"></script> |
17 | 17 | ||
18 | <!-- BUILD --> | 18 | <!-- BUILD --> |
19 | <script src="src/js/app.js"></script> | 19 | <script src="src/js/app.js"></script> |
20 | <script src="src/js/controller.js"></script> | 20 | <script src="src/js/controller.js"></script> |
21 | <script src="src/js/service.js"></script> | 21 | <script src="src/js/service.js"></script> |
22 | 22 | ||
23 | <!-- /BUILD --> | 23 | <!-- /BUILD --> |
24 | 24 | ||
25 | <!-- CONFIG PARA DEVELOP --> | 25 | <!-- CONFIG PARA DEVELOP --> |
26 | <script type="text/javascript"> | 26 | <script type="text/javascript"> |
27 | angular.module('focaModalVendedores') | 27 | angular.module('focaModalVendedores') |
28 | .controller('controller', ['$uibModal', '$timeout', function($uibModal, $timeout) { | 28 | .controller('controller', ['$uibModal', '$timeout', function($uibModal, $timeout) { |
29 | openModal(); | 29 | openModal(); |
30 | 30 | ||
31 | function openModal() { | 31 | function openModal() { |
32 | var modalInstance = $uibModal.open( | 32 | var modalInstance = $uibModal.open( |
33 | { | 33 | { |
34 | ariaLabelledBy: 'Busqueda de Vendedores', | 34 | ariaLabelledBy: 'Busqueda de Vendedores', |
35 | templateUrl: 'src/views/modal-vendedores.html', | 35 | templateUrl: 'src/views/modal-vendedores.html', |
36 | controller: 'modalVendedoresCtrl', | 36 | controller: 'modalVendedoresCtrl', |
37 | size: 'lg' | 37 | size: 'lg' |
38 | } | 38 | } |
39 | ); | 39 | ); |
40 | 40 | ||
41 | modalInstance.result.then( | 41 | modalInstance.result.then( |
42 | function (selectedItem) { | 42 | function (selectedItem) { |
43 | console.info(selectedItem); | 43 | console.info(selectedItem); |
44 | $timeout(openModal, 500); | 44 | $timeout(openModal, 500); |
45 | }, function () { | 45 | }, function () { |
46 | console.info('modal-component dismissed at: ' + new Date()); | 46 | console.info('modal-component dismissed at: ' + new Date()); |
47 | $timeout(openModal, 500); | 47 | $timeout(openModal, 500); |
48 | } | 48 | } |
49 | ); | 49 | ); |
50 | } | 50 | } |
51 | |||
52 | |||
53 | }]); | 51 | }]); |
54 | </script> | 52 | </script> |
55 | 53 | ||
56 | <script src="src/etc/develop.js"></script> | 54 | <script src="src/etc/develop.js"></script> |
57 | </head> | 55 | </head> |
58 | 56 | ||
59 | <body ng-controller="controller"> | 57 | <body ng-controller="controller"> |
60 | <style> | 58 | <style> |
61 | .p-5 { | 59 | .p-5 { |
62 | padding: 5px !important; | 60 | padding: 5px !important; |
63 | } | 61 | } |
64 | </style> | 62 | </style> |
65 | </body> | 63 | </body> |
66 | 64 | ||
67 | </html> | 65 | </html> |