Browse Source

Renglones del Json y fotos

Emmanuel 5 years ago
parent
commit
27506d0035
100 changed files with 1084 additions and 429 deletions
  1. 2
    22
      platforms/android/app/src/main/assets/www/index.html
  2. 0
    45
      platforms/android/app/src/main/assets/www/js/link.js
  3. 0
    115
      platforms/android/app/src/main/assets/www/temp/index.html
  4. 309
    0
      platforms/browser/www/Replacement.html
  5. 1
    0
      platforms/browser/www/Server/AROMATIZACIÓN.json
  6. 1
    0
      platforms/browser/www/Server/BAMBÚ.json
  7. 1
    0
      platforms/browser/www/Server/BARRO.json
  8. 1
    0
      platforms/browser/www/Server/CARETAS.json
  9. 1
    0
      platforms/browser/www/Server/CRISTAL.json
  10. 1
    0
      platforms/browser/www/Server/CUERO.json
  11. 1
    0
      platforms/browser/www/Server/DESECHOS MARINOS.json
  12. 1
    0
      platforms/browser/www/Server/DULCES TÍPICOS.json
  13. 1
    0
      platforms/browser/www/Server/FIBRAS .json
  14. 1
    0
      platforms/browser/www/Server/HIGÜERA.json
  15. 1
    0
      platforms/browser/www/Server/INSTRUMENTOS TÍPICOS.json
  16. 1
    0
      platforms/browser/www/Server/JUGUETES TRADICIONALES.json
  17. 1
    0
      platforms/browser/www/Server/LABORES EN AGUJA.json
  18. 1
    0
      platforms/browser/www/Server/MADERA.json
  19. 1
    0
      platforms/browser/www/Server/METAL.json
  20. 1
    0
      platforms/browser/www/Server/PAPEL CARTÓN.json
  21. 1
    0
      platforms/browser/www/Server/PIEDRAS.json
  22. 1
    0
      platforms/browser/www/Server/PORCELANICRÓN.json
  23. 1
    0
      platforms/browser/www/Server/SEMILLAS.json
  24. 1
    0
      platforms/browser/www/Server/TABACOS.json
  25. 1
    0
      platforms/browser/www/Server/TEXTILES.json
  26. 76
    0
      platforms/browser/www/Server/driveToJson.php
  27. 1
    0
      platforms/browser/www/Server/renglones.json
  28. 3
    3
      platforms/browser/www/css/searchbar1.css
  29. 1
    0
      platforms/browser/www/data/AROMATIZACIÓN.json
  30. 1
    0
      platforms/browser/www/data/BAMBÚ.json
  31. 1
    0
      platforms/browser/www/data/BARRO.json
  32. 1
    0
      platforms/browser/www/data/CARETAS.json
  33. 1
    0
      platforms/browser/www/data/CRISTAL.json
  34. 1
    0
      platforms/browser/www/data/CUERO.json
  35. 1
    0
      platforms/browser/www/data/DESECHOSMARINOS.json
  36. 1
    0
      platforms/browser/www/data/DULCESTÍPICOS.json
  37. 1
    0
      platforms/browser/www/data/FIBRAS.json
  38. 1
    0
      platforms/browser/www/data/HIGÜERA.json
  39. 1
    0
      platforms/browser/www/data/INSTRUMENTOSTÍPICOS.json
  40. 1
    0
      platforms/browser/www/data/JUGUETESTRADICIONALES.json
  41. 1
    0
      platforms/browser/www/data/LABORESENAGUJA.json
  42. 1
    0
      platforms/browser/www/data/MADERA.json
  43. 1
    0
      platforms/browser/www/data/METAL.json
  44. 1
    0
      platforms/browser/www/data/PAPELCARTÓN.json
  45. 1
    0
      platforms/browser/www/data/PIEDRAS.json
  46. 1
    0
      platforms/browser/www/data/PORCELANICRÓN.json
  47. 1
    0
      platforms/browser/www/data/SEMILLAS.json
  48. 1
    0
      platforms/browser/www/data/TABACOS.json
  49. 1
    0
      platforms/browser/www/data/TEXTILES.json
  50. 76
    0
      platforms/browser/www/data/driveToJson.php
  51. 1
    0
      platforms/browser/www/data/renglones.json
  52. 145
    0
      platforms/browser/www/extract_files.js
  53. BIN
      platforms/browser/www/img/AROMATIZACIÓN.png
  54. BIN
      platforms/browser/www/img/BAMBÚ.png
  55. BIN
      platforms/browser/www/img/BARRO.png
  56. BIN
      platforms/browser/www/img/CARETAS.png
  57. BIN
      platforms/browser/www/img/CRISTAL.png
  58. BIN
      platforms/browser/www/img/CUERO.png
  59. BIN
      platforms/browser/www/img/DESECHOS MARINOS.png
  60. BIN
      platforms/browser/www/img/DULCES TÍPICOS.png
  61. BIN
      platforms/browser/www/img/FIBRAS.png
  62. BIN
      platforms/browser/www/img/HIGÜERA.png
  63. BIN
      platforms/browser/www/img/INSTRUMENTOS TÍPICOS.png
  64. BIN
      platforms/browser/www/img/JUGUETES TRADICIONALES.png
  65. BIN
      platforms/browser/www/img/LABORES EN AGUJA.png
  66. BIN
      platforms/browser/www/img/MADERA.png
  67. BIN
      platforms/browser/www/img/METAL.png
  68. BIN
      platforms/browser/www/img/PAPEL CARTÓN.jpg
  69. BIN
      platforms/browser/www/img/PAPEL.png
  70. BIN
      platforms/browser/www/img/PIEDRAS.png
  71. BIN
      platforms/browser/www/img/PORCELANICRÓN.png
  72. BIN
      platforms/browser/www/img/SEMILLAS.png
  73. BIN
      platforms/browser/www/img/TABACOS.png
  74. BIN
      platforms/browser/www/img/TEXTILES.png
  75. 361
    80
      platforms/browser/www/index.html
  76. 41
    0
      platforms/browser/www/instituto.html
  77. 0
    45
      platforms/browser/www/js/link.js
  78. 23
    0
      platforms/browser/www/js/renglones.js
  79. 1
    1
      platforms/browser/www/json/renglones.json
  80. 0
    115
      platforms/browser/www/temp/index.html
  81. 3
    3
      www/css/searchbar1.css
  82. BIN
      www/img/AROMATIZACIÓN.png
  83. BIN
      www/img/BAMBÚ.png
  84. BIN
      www/img/BARRO.png
  85. BIN
      www/img/CARETAS.png
  86. BIN
      www/img/CRISTAL.png
  87. BIN
      www/img/CUERO.png
  88. BIN
      www/img/DESECHOS MARINOS.png
  89. BIN
      www/img/DULCES TÍPICOS.png
  90. BIN
      www/img/FIBRAS.png
  91. BIN
      www/img/HIGÜERA.png
  92. BIN
      www/img/INSTRUMENTOS TÍPICOS.png
  93. BIN
      www/img/JUGUETES TRADICIONALES.png
  94. BIN
      www/img/LABORES EN AGUJA.png
  95. BIN
      www/img/MADERA.png
  96. BIN
      www/img/METAL.png
  97. BIN
      www/img/PAPEL CARTÓN.jpg
  98. BIN
      www/img/PAPEL.png
  99. BIN
      www/img/PIEDRAS.png
  100. 0
    0
      www/img/PORCELANICRÓN.png

+ 2
- 22
platforms/android/app/src/main/assets/www/index.html View File

@@ -63,11 +63,6 @@
63 63
             </ons-tabbar>
64 64
         </ons-page>
65 65
         </ons-navegator>
66
-        
67
-        <!--<ons-toolbar>
68
-                <div class="center">Cultura</div>
69
-                style="background-color:#ABBC5D"
70
-        </ons-toolbar>-->
71 66
 
72 67
 
73 68
         <template id="home.html">
@@ -99,7 +94,6 @@
99 94
                     
100 95
                     <ons-list>
101 96
                     <ons-list-header>Renglones</ons-list-header>
102
-                    <!--<ons-list-item modifier="chevron" id="myNavigator.pushPage('pageNav1.html')">Madera</ons-list-item>-->
103 97
                     <ons-list-item><a href="madera.html">Madera</a></ons-list-item>
104 98
                     <ons-list-item>Labores en aguja</ons-list-item>
105 99
                     <ons-list-item>Textiles</ons-list-item>
@@ -127,20 +121,6 @@
127 121
             </ons-page>
128 122
         </template>
129 123
         
130
-        <!--<template id="pageNav1.html">
131
-        <ons-page id="pageNav1">
132
-            <ons-toolbar>
133
-            <div class="left">
134
-                <ons-back-button>Back</ons-back-button>
135
-            </div>
136
-      <     div class="center"></div>
137
-            </ons-toolbar>
138
-            <p style="text-align: center">
139
-            Use the VOnsBackButton
140
-            </p>
141
-        </ons-page>
142
-        </template>-->
143
-        
144 124
         <template id="ferias.html">
145 125
             <ons-page id="Ferias">
146 126
                 
@@ -169,7 +149,8 @@
169 149
 		Director Ejecutivo<br>
170 150
 		Instituto de Cultura Puertorriqueña<br>
171 151
 		<br><br>
172
-		</body>
152
+        </body>
153
+		
173 154
 
174 155
 		Visita nuestra <a href="https://www.icp.pr.gov/">Página Web</a> o síguenos en nuestras redes sociales: 
175 156
 		<a href="https://twitter.com/icppr"><img src="img/twitter.png" alt="Twitter" style="width:35px;height:35px;border:0;">
@@ -189,6 +170,5 @@
189 170
         
190 171
         <script type="text/javascript" src="cordova.js"></script>
191 172
         <script type="text/javascript" src="js/index.js"></script>
192
-        <script type="text/javascript" src="js/link.js"></script>
193 173
     </body>
194 174
 </html>

+ 0
- 45
platforms/android/app/src/main/assets/www/js/link.js View File

@@ -1,45 +0,0 @@
1
-/*window.fn = {};
2
-
3
-window.fn.toggleMenu = function () {
4
-  document.getElementById('appSplitter').right.toggle();
5
-};
6
-
7
-window.fn.loadView = function (index) {
8
-  document.getElementById('appTabbar').setActiveTab(index);
9
-  document.getElementById('sidemenu').close();
10
-};
11
-
12
-window.fn.loadLink = function (url) {
13
-  window.open(url, '_blank');
14
-};
15
-
16
-window.fn.pushPage = function (page, anim) {
17
-  if (anim) {
18
-    document.getElementById('appNavigator').pushPage(page.id, { data: { title: page.title }, animation: anim });
19
-  } else {
20
-    document.getElementById('appNavigator').pushPage(page.id, { data: { title: page.title } });
21
-  }
22
-};
23
-
24
-document.addEventListener('init', function(event) {
25
-  var page = event.target;
26
-
27
-  if (page.id === 'artesania') {
28
-    page.querySelector('#push-button').onclick = function() {
29
-      document.querySelector('#myNavigator').pushPage('page1.html', {data: {title: 'Page 1'}});
30
-    };
31
-  } else if (page.id === 'page1') {
32
-    page.querySelector('ons-toolbar .center').innerHTML = page.data.title;
33
-  }
34
-});*/
35
-
36
-/*document.addEventListener('init', function (event) {
37
-  if (event.target.id === 'pageNav1') {
38
-    var title = event.target.data && event.target.data.title ? event.target.data.title : 'Custom Page';
39
-    event.target.querySelector('ons-toolbar div.center').textContent = title;
40
-  }
41
-  if (event.target.id === 'pageNav2') {
42
-    var cardTitle = event.target.data && event.target.data.cardTitle ? event.target.data.cardTitle : 'Custom Card';
43
-    event.target.querySelector('ons-card div.title').textContent = cardTitle;
44
-  }
45
-});*/

+ 0
- 115
platforms/android/app/src/main/assets/www/temp/index.html View File

@@ -1,115 +0,0 @@
1
-<!DOCTYPE html>
2
-<!--
3
-    Licensed to the Apache Software Foundation (ASF) under one
4
-    or more contributor license agreements.  See the NOTICE file
5
-    distributed with this work for additional information
6
-    regarding copyright ownership.  The ASF licenses this file
7
-    to you under the Apache License, Version 2.0 (the
8
-    "License"); you may not use this file except in compliance
9
-    with the License.  You may obtain a copy of the License at
10
-
11
-    http://www.apache.org/licenses/LICENSE-2.0
12
-
13
-    Unless required by applicable law or agreed to in writing,
14
-    software distributed under the License is distributed on an
15
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
-     KIND, either express or implied.  See the License for the
17
-    specific language governing permissions and limitations
18
-    under the License.
19
--->
20
-<html>
21
-    <head>
22
-        <!--
23
-        Customize this policy to fit your own app's needs. For more guidance, see:
24
-            https://github.com/apache/cordova-plugin-whitelist/blob/master/README.md#content-security-policy
25
-        Some notes:
26
-            * gap: is required only on iOS (when using UIWebView) and is needed for JS->native communication
27
-            * https://ssl.gstatic.com is required only on Android and is needed for TalkBack to function properly
28
-            * Disables use of inline scripts in order to mitigate risk of XSS vulnerabilities. To change this:
29
-                * Enable inline JS: add 'unsafe-inline' to default-src
30
-        -->
31
-        
32
-        <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *; img-src 'self' data: content:;">
33
-        <meta name="format-detection" content="telephone=no">
34
-        <meta name="msapplication-tap-highlight" content="no">
35
-        <meta name="viewport" content="initial-scale=1, width=device-width, viewport-fit=cover">
36
-        <link rel="stylesheet" type="text/css" href="css/index.css">
37
-        <title>Cultura</title>
38
-        <link rel="stylesheet" href="lib/OnsenUI/css/onsenui.css">
39
-        <link rel="stylesheet" href="lib/OnsenUI/css/onsen-css-components.min.css">
40
-        <script src="lib/OnsenUI/js/onsenui.min.js"></script>
41
-    </head>
42
-    <body>
43
-        
44
-        <ons-page>
45
-            <ons-toolbar>
46
-                <div class="center">Cultura</div>
47
-            </ons-toolbar>
48
-
49
-            <ons-tabbar swipeable position="auto">
50
-                <ons-tab page="home.html" label="Hogar" active></ons-tab>
51
-                <ons-tab page="artesania.html" label="Artesanias"></ons-tab>
52
-                <ons-tab page="ferias.html" label="Ferias"></ons-tab>
53
-                <ons-tab page="instituto.html" label="Instituto"></ons-tab>
54
-            </ons-tabbar>
55
-        </ons-page>
56
-
57
-        <template id="home.html">
58
-            <ons-page id="Hogar">
59
-                <p style="text-align: center;">
60
-                    Este es el hogar.
61
-                </p>
62
-            </ons-page>
63
-        </template>
64
-
65
-        <template id="artesania.html">
66
-            <ons-page id="Artesanias">
67
-                <table id="table" align="center">
68
-                   <tr>
69
-                       <th>Renglones</th>
70
-                       <th>Especificaciones</th>
71
-                   </tr>
72
-                   <script type="text/javascript" src="test.js">
73
-                       table = document.getElementById("table");
74
-                       for(var i = 0; i < esp.length; i++)
75
-                            {
76
-                            // create a new row
77
-                            var newRow = table.insertRow(table.length);
78
-                            
79
-                            // create a new cell
80
-                            var cell = newRow.insertCell(0);
81
-                            // add value to the cell
82
-                            cell.innerHTML = renglones[i];
83
-                                
84
-                            // create a new cell
85
-                            var cell = newRow.insertCell(1);
86
-                            // add value to the cell
87
-                            cell.innerHTML = esp[i];
88
-                                
89
-                            }
90
-                   </script>
91
-                </table>
92
-            </ons-page>
93
-        </template>
94
-        
95
-        <template id="ferias.html">
96
-            <ons-page id="Ferias">
97
-                <p style="text-align: center;">
98
-                    Aqui estan las ferias.
99
-                </p>
100
-            </ons-page>
101
-        </template>
102
-        
103
-        <template id="instituto.html">
104
-            <ons-page id="Instituto">
105
-                <p style="text-align: center;">
106
-                    Aqui esta la informacion del instituto.
107
-                </p>
108
-            </ons-page>
109
-        </template>
110
-        
111
-        <script type="text/javascript" src="cordova.js"></script>
112
-        <script type="text/javascript" src="js/index.js"></script>
113
-        <script type="text/javascript" src="json/renglones.json"></script>
114
-    </body>
115
-</html>

+ 309
- 0
platforms/browser/www/Replacement.html View File

@@ -0,0 +1,309 @@
1
+<!DOCTYPE html>
2
+<!--
3
+    Licensed to the Apache Software Foundation (ASF) under one
4
+    or more contributor license agreements.  See the NOTICE file
5
+    distributed with this work for additional information
6
+    regarding copyright ownership.  The ASF licenses this file
7
+    to you under the Apache License, Version 2.0 (the
8
+    "License"); you may not use this file except in compliance
9
+    with the License.  You may obtain a copy of the License at
10
+
11
+    http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+    Unless required by applicable law or agreed to in writing,
14
+    software distributed under the License is distributed on an
15
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
+     KIND, either express or implied.  See the License for the
17
+    specific language governing permissions and limitations
18
+    under the License.
19
+-->
20
+<html>
21
+    <head>
22
+        <!--
23
+        Customize this policy to fit your own app's needs. For more guidance, see:
24
+            https://github.com/apache/cordova-plugin-whitelist/blob/master/README.md#content-security-policy
25
+        Some notes:
26
+            * gap: is required only on iOS (when using UIWebView) and is needed for JS->native communication
27
+            * https://ssl.gstatic.com is required only on Android and is needed for TalkBack to function properly
28
+            * Disables use of inline scripts in order to mitigate risk of XSS vulnerabilities. To change this:
29
+                * Enable inline JS: add 'unsafe-inline' to default-src
30
+        -->
31
+        <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; media-src *; img-src 'self' data: content:;">
32
+        <!--these three for the calendar-->
33
+        <link href="https://fonts.googleapis.com/css?family=Roboto+Condensed" rel="stylesheet">
34
+        <link rel="stylesheet" href="calendar_files/css/demo.css"/>
35
+        <link rel="stylesheet" href="calendar_files/css/theme1.css"/>
36
+        <!--this is for the search bar-->
37
+        <link rel = "stylesheet" href = "css/searchbar1.css">
38
+
39
+        <meta name="format-detection" content="telephone=no">
40
+        <meta name="msapplication-tap-highlight" content="no">
41
+        <meta name="viewport" content="initial-scale=1, width=device-width, viewport-fit=cover">
42
+        <link rel="stylesheet" type="text/css" href="css/index.css">
43
+        <link rel="stylesheet" href="lib/OnsenUI/css/onsenui.css">
44
+        <link rel="stylesheet" href="lib/OnsenUI/css/onsen-css-components.min.css">
45
+        <script src="lib/OnsenUI/js/onsenui.min.js"></script>
46
+
47
+    </head>
48
+    <body>
49
+        
50
+         <!--<script>
51
+                        /*const loadPage = (page) => {
52
+                        //document.querySelector('#menu').close();
53
+                        document.querySelector('#myNavigator').bringPageTop(page, { animation: 'fade' });
54
+                        };*/
55
+             
56
+             window.fn = {};
57
+             
58
+             window.fn.pushPage = function (page, anim) {
59
+                 if (anim) {
60
+                     document.getElementById('myNavigator').pushPage(page.id, { data: { title: page.title }, animation: anim });
61
+                 } else {
62
+                     document.getElementById('myNavigator').pushPage(page.id, { data: { title: page.title } });
63
+                 }
64
+             };
65
+        </script>-->
66
+        
67
+        <ons-navegator id="myNavigator"></ons-navegator>
68
+        <ons-page>
69
+            
70
+            <ons-toolbar>
71
+                <div class="center">Cultura</div>
72
+            </ons-toolbar>
73
+
74
+
75
+            <ons-tabbar swipeable position="bottom">
76
+                <ons-tab page="home.html" label="Hogar" active></ons-tab>
77
+                <ons-tab page="artesania.html" label="Artesanias"></ons-tab>
78
+                <ons-tab page="ferias.html" label="Ferias"></ons-tab>
79
+                <ons-tab page="instituto.html" label="Instituto"></ons-tab>
80
+            </ons-tabbar>
81
+            
82
+        </ons-page>
83
+
84
+        <script>
85
+            document.addEventListener('prechange', function(event) {
86
+  document.querySelector('ons-toolbar .center')
87
+    .innerHTML = event.tabItem.getAttribute('label');
88
+            });</script>
89
+
90
+        <template id="home.html">
91
+            <ons-page id="Hogar">
92
+                <p style="text-align: center;">
93
+			     Pantalla Principal
94
+                </p>
95
+            </ons-page>
96
+        </template>
97
+
98
+        <template id="artesania.html">
99
+            
100
+            <ons-page id="artesania">
101
+                
102
+                <div class="search-bar">
103
+                     <p style="text-align: center; margin-top: 10px;">
104
+                        <ons-search-input placeholder="Search" onchange="ons.notification.alert('Searched for: ' + this.value)" style="width: 96%; margin: 6px auto 6px auto;"></ons-search-input>
105
+                    </p>   
106
+                </div>
107
+      
108
+                <div>
109
+                <ons-scroller>
110
+                    <!--<table id="table" align="center">
111
+                        <tr>
112
+                            <th>Renglones</th>
113
+                            <th>Especificaciones</th>
114
+                        </tr>
115
+                    <script type="text/javascript" src="js/test.js"></script>      
116
+                    </table>     -->
117
+                   
118
+                    
119
+                    <ons-list>
120
+                    <ons-list-header>Renglones</ons-list-header>
121
+                        
122
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Madera'})">
123
+                        <div class="center">Madera</div>
124
+                        <div class="right"><img class="list-item__thumbnail" src="img/madera.png"></div>
125
+                    </ons-list-item>
126
+                        
127
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Labores en aguja'})">
128
+                        <div class="center">Labores en aguja</div>
129
+                        <div class="right"><img class="list-item__thumbnail" src="img/agujas.png"></div>
130
+                    </ons-list-item>
131
+                        
132
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Textiles'})">
133
+                        <div class="center">Textiles</div>
134
+                        <div class="right"><img class="list-item__thumbnail" src="img/textiles.png"></div>
135
+                    </ons-list-item>
136
+                        
137
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Barro'})">
138
+                        <div class="center">Barro</div>
139
+                        <div class="right"><img class="list-item__thumbnail" src="img/barro.png"></div>
140
+                    </ons-list-item>
141
+                        
142
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Instrumentos Típicos'})">
143
+                        <div class="center">Instrumentos Típicos</div>
144
+                        <div class="right"><img class="list-item__thumbnail" src="img/instrumentos.png"></div>
145
+                    </ons-list-item>
146
+                        
147
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Juguetes tradicionales'})">
148
+                        <div class="center">Juguetes tradicionales</div>
149
+                        <div class="right"><img class="list-item__thumbnail" src="img/juguetes.png"></div>
150
+                    </ons-list-item>
151
+                        
152
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Fibras'})">
153
+                        <div class="center">Fibras</div>
154
+                        <div class="right"><img class="list-item__thumbnail" src="img/fibras.png"></div>
155
+                    </ons-list-item>
156
+                        
157
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Caretas'})">
158
+                        <div class="center">Caretas</div>
159
+                        <div class="right"><img class="list-item__thumbnail" src="img/caretas.png"></div>
160
+                    </ons-list-item>
161
+                        
162
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Cuero'})">
163
+                        <div class="center">Cuero</div>
164
+                        <div class="right"><img class="list-item__thumbnail" src="img/cuero.png"></div>
165
+                    </ons-list-item>
166
+                        
167
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Metal'})">
168
+                        <div class="center">Metal</div>
169
+                        <div class="right"><img class="list-item__thumbnail" src="img/metal.png"></div>
170
+                    </ons-list-item>
171
+                        
172
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Piedras'})">
173
+                        <div class="center">Piedras</div>
174
+                        <div class="right"><img class="list-item__thumbnail" src="img/piedras.png"></div>
175
+                    </ons-list-item>
176
+                        
177
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Papel'})">
178
+                        <div class="center">Papel</div>
179
+                        <div class="right"><img class="list-item__thumbnail" src="img/papel.png"></div>
180
+                    </ons-list-item>
181
+                        
182
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Bambú'})">
183
+                        <div class="center">Bambú</div>
184
+                        <div class="right"><img class="list-item__thumbnail" src="img/bambu.png"></div>
185
+                    </ons-list-item>
186
+                        
187
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Cristal'})">
188
+                        <div class="center">Cristal</div>
189
+                        <div class="right"><img class="list-item__thumbnail" src="img/cristal.png"></div>
190
+                    </ons-list-item>
191
+                        
192
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Higüera'})">
193
+                        <div class="center">Higüera</div>
194
+                        <div class="right"><img class="list-item__thumbnail" src="img/higuera.png"></div>
195
+                    </ons-list-item>
196
+                        
197
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Desechos Marinos'})">
198
+                        <div class="center">Desechos Marinos</div>
199
+                        <div class="right"><img class="list-item__thumbnail" src="img/desechos.png"></div>
200
+                    </ons-list-item>
201
+                        
202
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Porcelanicrón'})">
203
+                        <div class="center">Porcelanicrón</div>
204
+                        <div class="right"><img class="list-item__thumbnail" src="img/porcelanicron.png"></div>
205
+                    </ons-list-item>
206
+                        
207
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Tabacos'})">
208
+                        <div class="center">Tabacos</div>
209
+                        <div class="right"><img class="list-item__thumbnail" src="img/tabacos.png"></div>
210
+                    </ons-list-item>
211
+                        
212
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Semillas'})">
213
+                        <div class="center">Semillas</div>
214
+                        <div class="right"><img class="list-item__thumbnail" src="img/semillas.png"></div>
215
+                    </ons-list-item>
216
+                        
217
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Aromatización'})">
218
+                        <div class="center">Aromatización</div>
219
+                        <div class="right"><img class="list-item__thumbnail" src="img/aromatizacion.png"></div>
220
+                    </ons-list-item>
221
+                        
222
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Dulces Típicos'})">
223
+                        <div class="center">Dulces Típicos</div>
224
+                        <div class="right"><img class="list-item__thumbnail" src="img/dulces.png"></div>
225
+                    </ons-list-item>
226
+                        
227
+                    </ons-list>
228
+                </ons-scroller>
229
+                </div>
230
+            </ons-page>
231
+        </template>
232
+        
233
+        <template id="madera.html">
234
+        
235
+            <ons-page id="madera">
236
+            <ons-toolbar>
237
+                <div class="left"><ons-toolbar-button><a href="index.html">Home</a></ons-toolbar-button></div>
238
+                <div class="center">Cultura</div>
239
+            </ons-toolbar>
240
+        <div>
241
+        <ons-scroller>
242
+                    <table id="table" align="center" border=1>
243
+                        <tr>
244
+                            <th>Nombres</th>
245
+                            <th>Especificaciones</th>
246
+                            <th>Teléfono</th>
247
+                            <th>E-mail</th>
248
+                            <th>Municipio</th>
249
+                        </tr>
250
+                    <script type="text/javascript" src="js/test.js"></script>      
251
+                    </table>
252
+        </ons-scroller>
253
+            </div>
254
+        </ons-page>
255
+            
256
+        </template>
257
+        
258
+        <template id="ferias.html">
259
+            <ons-page id="Ferias">
260
+                
261
+                <div id = "caleandar" class = "calendar" style="margin-top: 50px;">
262
+                    <script type="text/javascript" src="calendar_files/js/caleandar.js"></script>
263
+                    <script type="text/javascript" src="calendar_files/js/events.js"></script>
264
+                </div>
265
+            </ons-page>
266
+        </template>
267
+        
268
+        <template id="instituto.html">
269
+            <ons-page id="Instituto">
270
+                <p style="text-align: center;">
271
+
272
+		<h1>Instituto de Cultura Puertorriqueña</h1> 
273
+		<h3>Ven, descubre lo que nuestra riqueza cultural puertorriqueña tiene para tí.<br> Disfrútala, es tu identidad.
274
+		</h3>
275
+
276
+		<body>
277
+            
278
+		<br>
279
+		El Instituto de Cultura Puertorriqueña (ICP) tiene como misión investigar, conservar, promover y divulgar la cultura puertorriqueña en su diversidad y complejidad. Con la memoria y la promesa de la cultura, los distintos niveles, sectores, edades e intereses de la comunidad crean el conjunto de modos de vida, costumbres y manifestaciones artísticas que nos identifica como país. El ICP existe para preservar y divulgar estos saberes, difundir internacionalmente nuestro talento y enriquecer el amor a lo propio.
280
+		<br><br>
281
+		Nuestras tradiciones no son rígidos objetos de museo, sino actividades vivas en constante renovación y reapropiación, según van también desarrollándose nuevas tradiciones. El respeto a la diversidad, a lo híbrido, a lo apropiado y a lo replanteado también son parte esencial de esta institución que busca activamente la colaboración de todos en un quehacer que debe ser siempre compartido de la mano con su ingente diversidad.
282
+		<br><br>
283
+		Prof. Carlos R. Ruiz Cortés<br>
284
+		Director Ejecutivo<br>
285
+		Instituto de Cultura Puertorriqueña<br>
286
+		<br><br>
287
+        </body>
288
+		
289
+
290
+		Visita nuestra <a href="https://www.icp.pr.gov/">Página Web</a> o síguenos en nuestras redes sociales: 
291
+		<a href="https://twitter.com/icppr"><img src="img/twitter.png" alt="Twitter" style="width:35px;height:35px;border:0;">
292
+		</a> 
293
+		<a href="https://facebook.com/icppr"><img src="img/facebook.png" alt="Facebook" style="width:35px;height:35px;border:0;">
294
+		</a> 
295
+		<a href="https://youtube.com/user/icppr"><img src="img/youtube.png" alt="Youtube" style="width:35px;height:35px;border:0;">
296
+		</a> 
297
+		<a href="https://instagram.com/icppr"><img src="img/instagram.png" alt="Instagram" style="width:35px;height:35px;border:0;">
298
+		</a> 
299
+
300
+
301
+
302
+                </p>
303
+            </ons-page>
304
+        </template>
305
+        
306
+        <script type="text/javascript" src="cordova.js"></script>
307
+        <script type="text/javascript" src="js/index.js"></script>
308
+    </body>
309
+</html>

+ 1
- 0
platforms/browser/www/Server/AROMATIZACIÓN.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/Server/BAMBÚ.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/Server/BARRO.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/Server/CARETAS.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/Server/CRISTAL.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/Server/CUERO.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/Server/DESECHOS MARINOS.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/Server/DULCES TÍPICOS.json View File

@@ -0,0 +1 @@
1
+[{"Nombre":"Daphne L. Labault Romero","Especificaciones":"Joyer\u00eda, Resina","Tel\u00e9fono 1":"(787) 671-3101","E-mail":"petalobydaphne@gmail.com","Municipio":"San Juan PR","id":0},{"Nombre":"El\u00ed J. David Cede\u00f1o","Especificaciones":"Cera, Figuras y simbolos indigenas, Im\u00e1genes Religiosas, S\u00edmbolos Patrios","Tel\u00e9fono 1":"(787) 795-2890","E-mail":"","Municipio":"Toa Baja PR","id":1},{"Nombre":"H\u00e9ctor L. Pe\u00f1a Gonz\u00e1lez","Especificaciones":"Cemento, S\u00edmbolos Patrios","Tel\u00e9fono 1":"","E-mail":"","Municipio":"","id":2},{"Nombre":"Nancy Laureano Figueroa","Especificaciones":"Cascarones  de frutas, Joyer\u00eda","Tel\u00e9fono 1":"(787) 451-9375","E-mail":"nancylaureano@yahoo.com","Municipio":"Bayam\u00f3n PR","id":3},{"Nombre":"Josefina Mart\u00ednez Campos","Especificaciones":"Cascarones de huevos, Figuras, S\u00edmbolos Patrios","Tel\u00e9fono 1":"(939) 216-3500","E-mail":"yamanay3@gmail.com","Municipio":"Arecibo PR","id":4},{"Nombre":"Lizzette M. Santiago Agosto","Especificaciones":"Velas","Tel\u00e9fono 1":"(787) 214-3393","E-mail":"lizziesan622@gmail.com","Municipio":"Yabucoa PR","id":5},{"Nombre":"Luis G. S\u00e1nchez Cruz","Especificaciones":"Pique","Tel\u00e9fono 1":"(787) 412-0205","E-mail":"","Municipio":"Gurabo PR","id":6},{"Nombre":"Mar\u00eda M. Rivera V\u00e1zquez","Especificaciones":"Cabello (Pelo), Figuras","Tel\u00e9fono 1":"(787) 672-9872","E-mail":"","Municipio":"Salinas PR","id":7},{"Nombre":"Ram\u00f3n Buchamp","Especificaciones":"Cemento","Tel\u00e9fono 1":"(787) 831-1434","E-mail":"","Municipio":"Mayag\u00fcez PR","id":8},{"Nombre":"Ram\u00f3n F. Lugo Silva","Especificaciones":"","Tel\u00e9fono 1":"(787) 368-0582","E-mail":"mochoreciklarte@gmail.com","Municipio":"Ponce PR","id":9},{"Nombre":"Silvia Solorzano Cede\u00f1o","Especificaciones":"Resina","Tel\u00e9fono 1":"(787) 636-0073","E-mail":"","Municipio":"","id":10}]

+ 1
- 0
platforms/browser/www/Server/FIBRAS .json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/Server/HIGÜERA.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/Server/INSTRUMENTOS TÍPICOS.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/Server/JUGUETES TRADICIONALES.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/Server/LABORES EN AGUJA.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/Server/MADERA.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/Server/METAL.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/Server/PAPEL CARTÓN.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/Server/PIEDRAS.json View File

@@ -0,0 +1 @@
1
+[{"Nombre":"Andr\u00e9s Mel\u00e9ndez Cosme","Especificaciones":"Cuadros, Figuras, Placas, S\u00edmbolos","Tel\u00e9fono 1":"(787) 373-9225","E-mail":"talladepiedrasarte@gmail.com","Municipio":"Comer\u00edo PR","id":0},{"Nombre":"\u00c1ngel R. Medina Mart\u00ednez","Especificaciones":"Figuras y simbolos indigenas, Instrumentos de percusi\u00f3n, Maracas","Tel\u00e9fono 1":"(787) 635-6354","E-mail":"","Municipio":"Toa Alta PR","id":1},{"Nombre":"Carlos A. Ramos Camilo","Especificaciones":"","Tel\u00e9fono 1":"(787) 531-7358","E-mail":"","Municipio":"Trujillo Alto PR","id":2},{"Nombre":"Edgar Gand\u00eda Torres","Especificaciones":"Figuras y simbolos indigenas, S\u00edmbolos Patrios","Tel\u00e9fono 1":"(787) 315-0123","E-mail":"","Municipio":"San Juan PR","id":3},{"Nombre":"Eduardo G\u00f3mez","Especificaciones":"Dise\u00f1os, Figuras y simbolos indigenas, Quijotes, Reyes, S\u00edmbolos Patrios","Tel\u00e9fono 1":"","E-mail":"","Municipio":"Barranquitas PR","id":4},{"Nombre":"Evelyn M. Rivera Cancel","Especificaciones":"Figuras","Tel\u00e9fono 1":"(787) 884-4851","E-mail":"evelyn.rivera.cancel@gmail.com","Municipio":"Mayag\u00fcez PR","id":5},{"Nombre":"Hailie Rivera Ortiz","Especificaciones":"Figuras y simbolos indigenas, Muebles, S\u00edmbolos Patrios","Tel\u00e9fono 1":"","E-mail":"","Municipio":"Trujillo Alto PR","id":6},{"Nombre":"H\u00e9ctor de Le\u00f3n","Especificaciones":"Reyes, S\u00edmbolos Patrios","Tel\u00e9fono 1":"(787) 232-2314","E-mail":"eneidariosaponte@gmail.com","Municipio":"Florida PR","id":7},{"Nombre":"Jeannette Rosa Carrero","Especificaciones":"Figuras, Flores, Nacimientos, Reyes","Tel\u00e9fono 1":"(787) 299-7667","E-mail":"fifososa@gmail.com","Municipio":"Bayam\u00f3n PR","id":8},{"Nombre":"Jorge L. Col\u00f3n Reyes","Especificaciones":"Figuras y simbolos indigenas, Im\u00e1genes Religiosas, S\u00edmbolos Patrios","Tel\u00e9fono 1":"(787) 506-3388","E-mail":"","Municipio":"Barceloneta PR","id":9},{"Nombre":"Jos\u00e9 A. Rodr\u00edguez D\u00e1vila","Especificaciones":"Escultura, Figuras","Tel\u00e9fono 1":"(787) 502-7987","E-mail":"esculturasenpiedra@gmail.com","Municipio":"Salinas PR","id":10},{"Nombre":"Luoisa Torres Hern\u00e1ndez","Especificaciones":"","Tel\u00e9fono 1":"(787) 795-9147","E-mail":"","Municipio":"Toa Baja PR","id":11},{"Nombre":"Mar\u00eda S. del  Valle","Especificaciones":"","Tel\u00e9fono 1":"(787) 747-4229","E-mail":"","Municipio":"Caguas PR","id":12},{"Nombre":"Maritza de Jes\u00fas Vel\u00e1zquez","Especificaciones":"","Tel\u00e9fono 1":"(787) 815-1241","E-mail":"","Municipio":"","id":13},{"Nombre":"Teresa P\u00e9rez V\u00e1zquez","Especificaciones":"Cuadros, Figuras y simbolos indigenas, Im\u00e1genes Religiosas, Llaveros, Paisajes, Placas, S\u00edmbolos Patrios","Tel\u00e9fono 1":"(787) 951-0025","E-mail":"terearte518@gmail.com","Municipio":"Cabo Rojo PR","id":14},{"Nombre":"Marysel Cab\u00e1n Marrero","Especificaciones":"Cuadros","Tel\u00e9fono 1":"(787) 425-3938","E-mail":"marycm626@gmail.com","Municipio":"Cidra PR","id":15}]

+ 1
- 0
platforms/browser/www/Server/PORCELANICRÓN.json View File

@@ -0,0 +1 @@
1
+[{"Nombre":"Ada L. Robles Rivera","T\u00e9cnica":"Fabricantes, Manual","Especificaciones":"Figuras, Mu\u00f1ecas de Trapo","Tel\u00e9fono 1":"(787) 854-7446","E-mail":"","Municipio":"Manat\u00ed PR","id":0},{"Nombre":"Betzaida Ramos Rosado","T\u00e9cnica":"Esculpir","Especificaciones":"Figuras","Tel\u00e9fono 1":"(787) 202-5760","E-mail":"tallernuestropueblo@hotmail.com","Municipio":"San Sebast\u00edan PR","id":1},{"Nombre":"Carmen A. Rivera Acevedo","T\u00e9cnica":"","Especificaciones":"","Tel\u00e9fono 1":"","E-mail":"","Municipio":"","id":2},{"Nombre":"Carmen E. Resto Col\u00f3n","T\u00e9cnica":"Esculpir","Especificaciones":"Figuras","Tel\u00e9fono 1":"","E-mail":"","Municipio":"","id":3},{"Nombre":"Carmen M. L\u00f3pez Cruz","T\u00e9cnica":"Manual","Especificaciones":"Figuras","Tel\u00e9fono 1":"(787) 439-4927","E-mail":"","Municipio":"Salinas PR","id":4},{"Nombre":"Casilda Negr\u00f3n Tejera","T\u00e9cnica":"Esculpir","Especificaciones":"Figuras","Tel\u00e9fono 1":"","E-mail":"","Municipio":"","id":5},{"Nombre":"Edna S. Malabet R\u00edos","T\u00e9cnica":"Dise\u00f1ar, Ensamblar, Manual","Especificaciones":"Joyer\u00eda","Tel\u00e9fono 1":"(787) 593-6932","E-mail":"sally227@gmail.com","Municipio":"Carolina PR","id":6},{"Nombre":"Elsa D. Berr\u00edos Padilla","T\u00e9cnica":"Al horno, Manual","Especificaciones":"Figuras, Im\u00e1genes Religiosas, Paisajes, Quijotes","Tel\u00e9fono 1":"(787) 857-9328","E-mail":"","Municipio":"Barranquitas PR","id":7},{"Nombre":"Evelyn R. Cintr\u00f3n V\u00e9lez","T\u00e9cnica":"Dise\u00f1ar, Ensamblar, Manual","Especificaciones":"Alambre, Joyer\u00eda","Tel\u00e9fono 1":"(787) 439-1547","E-mail":"","Municipio":"Guayanilla PR","id":8},{"Nombre":"Jonathan U. Ortiz Aponte","T\u00e9cnica":"Manual, Pintura","Especificaciones":"Aves","Tel\u00e9fono 1":"(787) 529-6202","E-mail":"","Municipio":"Carolina PR","id":9},{"Nombre":"Luisa Y. Candelaria Estrella","T\u00e9cnica":"","Especificaciones":"","Tel\u00e9fono 1":"(787) 399-9001","E-mail":"iliremaria17@gmail.com","Municipio":"Carolina PR","id":10},{"Nombre":"Magdalena Gonz\u00e1lez Avil\u00e9s","T\u00e9cnica":"","Especificaciones":"","Tel\u00e9fono 1":"(787) 231-6597","E-mail":"mgonzalezavilesriv@hotmail.com","Municipio":"Aguadilla PR","id":11},{"Nombre":"Norma Agr\u00f3n Santiago","T\u00e9cnica":"","Especificaciones":"","Tel\u00e9fono 1":"(787) 877-6081","E-mail":"normasclay@yahoo.com","Municipio":"Moca PR","id":12},{"Nombre":"Virgen M. Rodr\u00edguez Rivera","T\u00e9cnica":"","Especificaciones":"","Tel\u00e9fono 1":"(939) 717-1028","E-mail":"","Municipio":"Yauco PR","id":13},{"Nombre":"Wilfredo Cab\u00e1n Vega","T\u00e9cnica":"","Especificaciones":"","Tel\u00e9fono 1":"(787) 818-8662","E-mail":"laartesana01@yahoo.com","Municipio":"Moca PR","id":14},{"Nombre":"Zorimar D. Rivera Nieves","T\u00e9cnica":"","Especificaciones":"","Tel\u00e9fono 1":"(787) 404-0543","E-mail":"zorimardenisse@gmail.com","Municipio":"San Juan PR","id":15},{"Nombre":"Rafael Cruz Collazo","T\u00e9cnica":"Dise\u00f1ar","Especificaciones":"Joyer\u00eda","Tel\u00e9fono 1":"(787) 315-3491","E-mail":"artesaniasguasabara3618@gmail.com","Municipio":"Utuado PR","id":16},{"Nombre":"Lydia Santiago Toledo","T\u00e9cnica":"Esculpir","Especificaciones":"Figuras","Tel\u00e9fono 1":"(787) 599-7653","E-mail":"lydia655@gmail.com","Municipio":"Lares PR","id":17},{"Nombre":"Ciryanis V\u00e1zquez Lezcano","T\u00e9cnica":"Dise\u00f1ar","Especificaciones":"Joyer\u00eda","Tel\u00e9fono 1":"(787) 452-4778","E-mail":"ciry.vazquez@gmail.com","Municipio":"Arecibo PR","id":18}]

+ 1
- 0
platforms/browser/www/Server/SEMILLAS.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/Server/TABACOS.json View File

@@ -0,0 +1 @@
1
+[{"Nombre":"\u00c1ngel Otero Cotto","Especificaciones":"Cigarros, Mascadura","Tel\u00e9fono 1":"(939) 350-4999","E-mail":"papiroscigars@gmail.com","Municipio":"Cidra PR","id":0},{"Nombre":"\u00c1ngel Otero Vicente","Especificaciones":"Cigarros, Mascadura","Tel\u00e9fono 1":"(787) 595-1431","E-mail":"papiroscigars@gmail.com","Municipio":"Cidra PR","id":1},{"Nombre":"Angelo Vel\u00e1zquez Santiago","Especificaciones":"Cigarros","Tel\u00e9fono 1":"(787) 396-0941","E-mail":"velazquezcigars@hotmail.com","Municipio":"Aguas Buenas PR","id":2},{"Nombre":"Carlos M. Del Valle Mel\u00e9ndez","Especificaciones":"Cigarros","Tel\u00e9fono 1":"(787) 380-9122","E-mail":"cdelvalle1229@yahoo.com","Municipio":"Gu\u00e1nica PR","id":3},{"Nombre":"Jos\u00e9 A. V\u00e9lez Burgos","Especificaciones":"Cigarros, Muebles, Restaurador","Tel\u00e9fono 1":"(787) 648-2858","E-mail":"velez.jose751@gmail.com","Municipio":"Yauco PR","id":4},{"Nombre":"Patricio A. Pe\u00f1a","Especificaciones":"","Tel\u00e9fono 1":"(787) 785-8619","E-mail":"","Municipio":"Bayam\u00f3n PR","id":5}]

+ 1
- 0
platforms/browser/www/Server/TEXTILES.json
File diff suppressed because it is too large
View File


+ 76
- 0
platforms/browser/www/Server/driveToJson.php View File

@@ -0,0 +1,76 @@
1
+<?php
2
+header('Content-type: application/json');
3
+ 
4
+
5
+ 
6
+// Function to convert CSV into associative array
7
+function csvToArray($file, $delimiter) { 
8
+  if (($handle = fopen($file, 'r')) !== FALSE) { 
9
+    $i = 0; 
10
+    while (($lineArray = fgetcsv($handle, 4000, $delimiter, '"')) !== FALSE) { 
11
+      for ($j = 0; $j < count($lineArray); $j++) { 
12
+        $arr[$i][$j] = $lineArray[$j]; 
13
+      } 
14
+      $i++; 
15
+    } 
16
+    fclose($handle); 
17
+  } 
18
+  return $arr; 
19
+} 
20
+ 
21
+function formatArray ($feed) {
22
+
23
+  $keys = array();
24
+  $newArray = array();
25
+  $data = csvToArray($feed, ',');
26
+ 
27
+  $count = count($data) - 1;
28
+ 
29
+  $labels = array_shift($data);  
30
+ 
31
+  foreach ($labels as $label) {
32
+    $keys[] = $label;
33
+  }
34
+ 
35
+  $keys[] = 'id';
36
+ 
37
+  for ($i = 0; $i < $count; $i++) {
38
+    $data[$i][] = $i;
39
+  }
40
+ 
41
+  for ($j = 0; $j < $count; $j++) {
42
+    $d = array_combine($keys, $data[$j]);
43
+    $newArray[$j] = $d;
44
+  }
45
+
46
+  return $newArray;
47
+
48
+}
49
+ 
50
+$feed = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQUspPunAmkZrtfhMgMvGYGTK_4ONsCnSoe6OcTFc-4ILRHTatdPIwgRx1eRM1qFTkYFMrvcx8OI4cv/pub?output=csv';
51
+
52
+$data = formatArray($feed);
53
+
54
+$info = json_encode($data);
55
+
56
+$infoAsJson = json_decode($info);
57
+
58
+
59
+
60
+$handle = fopen("renglones.json", 'w');
61
+fwrite($handle, $info);
62
+
63
+
64
+
65
+for ($i = 0; $i < count($infoAsJson); $i++) {
66
+  $renglon = formatArray($infoAsJson[$i]->Link);
67
+  $renglonInfo = json_encode($renglon);
68
+  $renglonAsJson = json_decode($renglonInfo);
69
+  
70
+  $my_file = $infoAsJson[$i]->Renglones . ".json";
71
+  $handle = fopen($my_file, 'w') or die ('Cannot open file');
72
+  fwrite($handle, $renglonInfo);
73
+
74
+}
75
+
76
+?>

+ 1
- 0
platforms/browser/www/Server/renglones.json
File diff suppressed because it is too large
View File


+ 3
- 3
platforms/browser/www/css/searchbar1.css View File

@@ -1,11 +1,11 @@
1 1
 ons-toolbar ~ .page__content{
2
-    margin-top: 45px;
2
+    margin-top: 0px;
3 3
 }
4 4
 .search-bar {
5 5
     width: 100%;
6
-    position: fixed;
6
+    position: relative;
7 7
     display: block;
8
-    margin-top: -45px;
8
+    margin-top: 0px;
9 9
 }
10 10
 .after-search-bar {
11 11
     margin-top: -10px;

+ 1
- 0
platforms/browser/www/data/AROMATIZACIÓN.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/data/BAMBÚ.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/data/BARRO.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/data/CARETAS.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/data/CRISTAL.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/data/CUERO.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/data/DESECHOSMARINOS.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/data/DULCESTÍPICOS.json View File

@@ -0,0 +1 @@
1
+[{"Nombre":"Daphne L. Labault Romero","Especificaciones":"Joyer\u00eda, Resina","Tel\u00e9fono 1":"(787) 671-3101","E-mail":"petalobydaphne@gmail.com","Municipio":"San Juan PR","id":0},{"Nombre":"El\u00ed J. David Cede\u00f1o","Especificaciones":"Cera, Figuras y simbolos indigenas, Im\u00e1genes Religiosas, S\u00edmbolos Patrios","Tel\u00e9fono 1":"(787) 795-2890","E-mail":"","Municipio":"Toa Baja PR","id":1},{"Nombre":"H\u00e9ctor L. Pe\u00f1a Gonz\u00e1lez","Especificaciones":"Cemento, S\u00edmbolos Patrios","Tel\u00e9fono 1":"","E-mail":"","Municipio":"","id":2},{"Nombre":"Nancy Laureano Figueroa","Especificaciones":"Cascarones  de frutas, Joyer\u00eda","Tel\u00e9fono 1":"(787) 451-9375","E-mail":"nancylaureano@yahoo.com","Municipio":"Bayam\u00f3n PR","id":3},{"Nombre":"Josefina Mart\u00ednez Campos","Especificaciones":"Cascarones de huevos, Figuras, S\u00edmbolos Patrios","Tel\u00e9fono 1":"(939) 216-3500","E-mail":"yamanay3@gmail.com","Municipio":"Arecibo PR","id":4},{"Nombre":"Lizzette M. Santiago Agosto","Especificaciones":"Velas","Tel\u00e9fono 1":"(787) 214-3393","E-mail":"lizziesan622@gmail.com","Municipio":"Yabucoa PR","id":5},{"Nombre":"Luis G. S\u00e1nchez Cruz","Especificaciones":"Pique","Tel\u00e9fono 1":"(787) 412-0205","E-mail":"","Municipio":"Gurabo PR","id":6},{"Nombre":"Mar\u00eda M. Rivera V\u00e1zquez","Especificaciones":"Cabello (Pelo), Figuras","Tel\u00e9fono 1":"(787) 672-9872","E-mail":"","Municipio":"Salinas PR","id":7},{"Nombre":"Ram\u00f3n Buchamp","Especificaciones":"Cemento","Tel\u00e9fono 1":"(787) 831-1434","E-mail":"","Municipio":"Mayag\u00fcez PR","id":8},{"Nombre":"Ram\u00f3n F. Lugo Silva","Especificaciones":"","Tel\u00e9fono 1":"(787) 368-0582","E-mail":"mochoreciklarte@gmail.com","Municipio":"Ponce PR","id":9},{"Nombre":"Silvia Solorzano Cede\u00f1o","Especificaciones":"Resina","Tel\u00e9fono 1":"(787) 636-0073","E-mail":"","Municipio":"","id":10}]

+ 1
- 0
platforms/browser/www/data/FIBRAS.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/data/HIGÜERA.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/data/INSTRUMENTOSTÍPICOS.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/data/JUGUETESTRADICIONALES.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/data/LABORESENAGUJA.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/data/MADERA.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/data/METAL.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/data/PAPELCARTÓN.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/data/PIEDRAS.json View File

@@ -0,0 +1 @@
1
+[{"Nombre":"Andr\u00e9s Mel\u00e9ndez Cosme","Especificaciones":"Cuadros, Figuras, Placas, S\u00edmbolos","Tel\u00e9fono 1":"(787) 373-9225","E-mail":"talladepiedrasarte@gmail.com","Municipio":"Comer\u00edo PR","id":0},{"Nombre":"\u00c1ngel R. Medina Mart\u00ednez","Especificaciones":"Figuras y simbolos indigenas, Instrumentos de percusi\u00f3n, Maracas","Tel\u00e9fono 1":"(787) 635-6354","E-mail":"","Municipio":"Toa Alta PR","id":1},{"Nombre":"Carlos A. Ramos Camilo","Especificaciones":"","Tel\u00e9fono 1":"(787) 531-7358","E-mail":"","Municipio":"Trujillo Alto PR","id":2},{"Nombre":"Edgar Gand\u00eda Torres","Especificaciones":"Figuras y simbolos indigenas, S\u00edmbolos Patrios","Tel\u00e9fono 1":"(787) 315-0123","E-mail":"","Municipio":"San Juan PR","id":3},{"Nombre":"Eduardo G\u00f3mez","Especificaciones":"Dise\u00f1os, Figuras y simbolos indigenas, Quijotes, Reyes, S\u00edmbolos Patrios","Tel\u00e9fono 1":"","E-mail":"","Municipio":"Barranquitas PR","id":4},{"Nombre":"Evelyn M. Rivera Cancel","Especificaciones":"Figuras","Tel\u00e9fono 1":"(787) 884-4851","E-mail":"evelyn.rivera.cancel@gmail.com","Municipio":"Mayag\u00fcez PR","id":5},{"Nombre":"Hailie Rivera Ortiz","Especificaciones":"Figuras y simbolos indigenas, Muebles, S\u00edmbolos Patrios","Tel\u00e9fono 1":"","E-mail":"","Municipio":"Trujillo Alto PR","id":6},{"Nombre":"H\u00e9ctor de Le\u00f3n","Especificaciones":"Reyes, S\u00edmbolos Patrios","Tel\u00e9fono 1":"(787) 232-2314","E-mail":"eneidariosaponte@gmail.com","Municipio":"Florida PR","id":7},{"Nombre":"Jeannette Rosa Carrero","Especificaciones":"Figuras, Flores, Nacimientos, Reyes","Tel\u00e9fono 1":"(787) 299-7667","E-mail":"fifososa@gmail.com","Municipio":"Bayam\u00f3n PR","id":8},{"Nombre":"Jorge L. Col\u00f3n Reyes","Especificaciones":"Figuras y simbolos indigenas, Im\u00e1genes Religiosas, S\u00edmbolos Patrios","Tel\u00e9fono 1":"(787) 506-3388","E-mail":"","Municipio":"Barceloneta PR","id":9},{"Nombre":"Jos\u00e9 A. Rodr\u00edguez D\u00e1vila","Especificaciones":"Escultura, Figuras","Tel\u00e9fono 1":"(787) 502-7987","E-mail":"esculturasenpiedra@gmail.com","Municipio":"Salinas PR","id":10},{"Nombre":"Luoisa Torres Hern\u00e1ndez","Especificaciones":"","Tel\u00e9fono 1":"(787) 795-9147","E-mail":"","Municipio":"Toa Baja PR","id":11},{"Nombre":"Mar\u00eda S. del  Valle","Especificaciones":"","Tel\u00e9fono 1":"(787) 747-4229","E-mail":"","Municipio":"Caguas PR","id":12},{"Nombre":"Maritza de Jes\u00fas Vel\u00e1zquez","Especificaciones":"","Tel\u00e9fono 1":"(787) 815-1241","E-mail":"","Municipio":"","id":13},{"Nombre":"Teresa P\u00e9rez V\u00e1zquez","Especificaciones":"Cuadros, Figuras y simbolos indigenas, Im\u00e1genes Religiosas, Llaveros, Paisajes, Placas, S\u00edmbolos Patrios","Tel\u00e9fono 1":"(787) 951-0025","E-mail":"terearte518@gmail.com","Municipio":"Cabo Rojo PR","id":14},{"Nombre":"Marysel Cab\u00e1n Marrero","Especificaciones":"Cuadros","Tel\u00e9fono 1":"(787) 425-3938","E-mail":"marycm626@gmail.com","Municipio":"Cidra PR","id":15}]

+ 1
- 0
platforms/browser/www/data/PORCELANICRÓN.json View File

@@ -0,0 +1 @@
1
+[{"Nombre":"Ada L. Robles Rivera","T\u00e9cnica":"Fabricantes, Manual","Especificaciones":"Figuras, Mu\u00f1ecas de Trapo","Tel\u00e9fono 1":"(787) 854-7446","E-mail":"","Municipio":"Manat\u00ed PR","id":0},{"Nombre":"Betzaida Ramos Rosado","T\u00e9cnica":"Esculpir","Especificaciones":"Figuras","Tel\u00e9fono 1":"(787) 202-5760","E-mail":"tallernuestropueblo@hotmail.com","Municipio":"San Sebast\u00edan PR","id":1},{"Nombre":"Carmen A. Rivera Acevedo","T\u00e9cnica":"","Especificaciones":"","Tel\u00e9fono 1":"","E-mail":"","Municipio":"","id":2},{"Nombre":"Carmen E. Resto Col\u00f3n","T\u00e9cnica":"Esculpir","Especificaciones":"Figuras","Tel\u00e9fono 1":"","E-mail":"","Municipio":"","id":3},{"Nombre":"Carmen M. L\u00f3pez Cruz","T\u00e9cnica":"Manual","Especificaciones":"Figuras","Tel\u00e9fono 1":"(787) 439-4927","E-mail":"","Municipio":"Salinas PR","id":4},{"Nombre":"Casilda Negr\u00f3n Tejera","T\u00e9cnica":"Esculpir","Especificaciones":"Figuras","Tel\u00e9fono 1":"","E-mail":"","Municipio":"","id":5},{"Nombre":"Edna S. Malabet R\u00edos","T\u00e9cnica":"Dise\u00f1ar, Ensamblar, Manual","Especificaciones":"Joyer\u00eda","Tel\u00e9fono 1":"(787) 593-6932","E-mail":"sally227@gmail.com","Municipio":"Carolina PR","id":6},{"Nombre":"Elsa D. Berr\u00edos Padilla","T\u00e9cnica":"Al horno, Manual","Especificaciones":"Figuras, Im\u00e1genes Religiosas, Paisajes, Quijotes","Tel\u00e9fono 1":"(787) 857-9328","E-mail":"","Municipio":"Barranquitas PR","id":7},{"Nombre":"Evelyn R. Cintr\u00f3n V\u00e9lez","T\u00e9cnica":"Dise\u00f1ar, Ensamblar, Manual","Especificaciones":"Alambre, Joyer\u00eda","Tel\u00e9fono 1":"(787) 439-1547","E-mail":"","Municipio":"Guayanilla PR","id":8},{"Nombre":"Jonathan U. Ortiz Aponte","T\u00e9cnica":"Manual, Pintura","Especificaciones":"Aves","Tel\u00e9fono 1":"(787) 529-6202","E-mail":"","Municipio":"Carolina PR","id":9},{"Nombre":"Luisa Y. Candelaria Estrella","T\u00e9cnica":"","Especificaciones":"","Tel\u00e9fono 1":"(787) 399-9001","E-mail":"iliremaria17@gmail.com","Municipio":"Carolina PR","id":10},{"Nombre":"Magdalena Gonz\u00e1lez Avil\u00e9s","T\u00e9cnica":"","Especificaciones":"","Tel\u00e9fono 1":"(787) 231-6597","E-mail":"mgonzalezavilesriv@hotmail.com","Municipio":"Aguadilla PR","id":11},{"Nombre":"Norma Agr\u00f3n Santiago","T\u00e9cnica":"","Especificaciones":"","Tel\u00e9fono 1":"(787) 877-6081","E-mail":"normasclay@yahoo.com","Municipio":"Moca PR","id":12},{"Nombre":"Virgen M. Rodr\u00edguez Rivera","T\u00e9cnica":"","Especificaciones":"","Tel\u00e9fono 1":"(939) 717-1028","E-mail":"","Municipio":"Yauco PR","id":13},{"Nombre":"Wilfredo Cab\u00e1n Vega","T\u00e9cnica":"","Especificaciones":"","Tel\u00e9fono 1":"(787) 818-8662","E-mail":"laartesana01@yahoo.com","Municipio":"Moca PR","id":14},{"Nombre":"Zorimar D. Rivera Nieves","T\u00e9cnica":"","Especificaciones":"","Tel\u00e9fono 1":"(787) 404-0543","E-mail":"zorimardenisse@gmail.com","Municipio":"San Juan PR","id":15},{"Nombre":"Rafael Cruz Collazo","T\u00e9cnica":"Dise\u00f1ar","Especificaciones":"Joyer\u00eda","Tel\u00e9fono 1":"(787) 315-3491","E-mail":"artesaniasguasabara3618@gmail.com","Municipio":"Utuado PR","id":16},{"Nombre":"Lydia Santiago Toledo","T\u00e9cnica":"Esculpir","Especificaciones":"Figuras","Tel\u00e9fono 1":"(787) 599-7653","E-mail":"lydia655@gmail.com","Municipio":"Lares PR","id":17},{"Nombre":"Ciryanis V\u00e1zquez Lezcano","T\u00e9cnica":"Dise\u00f1ar","Especificaciones":"Joyer\u00eda","Tel\u00e9fono 1":"(787) 452-4778","E-mail":"ciry.vazquez@gmail.com","Municipio":"Arecibo PR","id":18}]

+ 1
- 0
platforms/browser/www/data/SEMILLAS.json
File diff suppressed because it is too large
View File


+ 1
- 0
platforms/browser/www/data/TABACOS.json View File

@@ -0,0 +1 @@
1
+[{"Nombre":"\u00c1ngel Otero Cotto","Especificaciones":"Cigarros, Mascadura","Tel\u00e9fono 1":"(939) 350-4999","E-mail":"papiroscigars@gmail.com","Municipio":"Cidra PR","id":0},{"Nombre":"\u00c1ngel Otero Vicente","Especificaciones":"Cigarros, Mascadura","Tel\u00e9fono 1":"(787) 595-1431","E-mail":"papiroscigars@gmail.com","Municipio":"Cidra PR","id":1},{"Nombre":"Angelo Vel\u00e1zquez Santiago","Especificaciones":"Cigarros","Tel\u00e9fono 1":"(787) 396-0941","E-mail":"velazquezcigars@hotmail.com","Municipio":"Aguas Buenas PR","id":2},{"Nombre":"Carlos M. Del Valle Mel\u00e9ndez","Especificaciones":"Cigarros","Tel\u00e9fono 1":"(787) 380-9122","E-mail":"cdelvalle1229@yahoo.com","Municipio":"Gu\u00e1nica PR","id":3},{"Nombre":"Jos\u00e9 A. V\u00e9lez Burgos","Especificaciones":"Cigarros, Muebles, Restaurador","Tel\u00e9fono 1":"(787) 648-2858","E-mail":"velez.jose751@gmail.com","Municipio":"Yauco PR","id":4},{"Nombre":"Patricio A. Pe\u00f1a","Especificaciones":"","Tel\u00e9fono 1":"(787) 785-8619","E-mail":"","Municipio":"Bayam\u00f3n PR","id":5}]

+ 1
- 0
platforms/browser/www/data/TEXTILES.json
File diff suppressed because it is too large
View File


+ 76
- 0
platforms/browser/www/data/driveToJson.php View File

@@ -0,0 +1,76 @@
1
+<?php
2
+header('Content-type: application/json');
3
+ 
4
+
5
+ 
6
+// Function to convert CSV into associative array
7
+function csvToArray($file, $delimiter) { 
8
+  if (($handle = fopen($file, 'r')) !== FALSE) { 
9
+    $i = 0; 
10
+    while (($lineArray = fgetcsv($handle, 4000, $delimiter, '"')) !== FALSE) { 
11
+      for ($j = 0; $j < count($lineArray); $j++) { 
12
+        $arr[$i][$j] = $lineArray[$j]; 
13
+      } 
14
+      $i++; 
15
+    } 
16
+    fclose($handle); 
17
+  } 
18
+  return $arr; 
19
+} 
20
+ 
21
+function formatArray ($feed) {
22
+
23
+  $keys = array();
24
+  $newArray = array();
25
+  $data = csvToArray($feed, ',');
26
+ 
27
+  $count = count($data) - 1;
28
+ 
29
+  $labels = array_shift($data);  
30
+ 
31
+  foreach ($labels as $label) {
32
+    $keys[] = $label;
33
+  }
34
+ 
35
+  $keys[] = 'id';
36
+ 
37
+  for ($i = 0; $i < $count; $i++) {
38
+    $data[$i][] = $i;
39
+  }
40
+ 
41
+  for ($j = 0; $j < $count; $j++) {
42
+    $d = array_combine($keys, $data[$j]);
43
+    $newArray[$j] = $d;
44
+  }
45
+
46
+  return $newArray;
47
+
48
+}
49
+ 
50
+$feed = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQUspPunAmkZrtfhMgMvGYGTK_4ONsCnSoe6OcTFc-4ILRHTatdPIwgRx1eRM1qFTkYFMrvcx8OI4cv/pub?output=csv';
51
+
52
+$data = formatArray($feed);
53
+
54
+$info = json_encode($data);
55
+
56
+$infoAsJson = json_decode($info);
57
+
58
+
59
+
60
+$handle = fopen("renglones.json", 'w');
61
+fwrite($handle, $info);
62
+
63
+
64
+
65
+for ($i = 0; $i < count($infoAsJson); $i++) {
66
+  $renglon = formatArray($infoAsJson[$i]->Link);
67
+  $renglonInfo = json_encode($renglon);
68
+  $renglonAsJson = json_decode($renglonInfo);
69
+  
70
+  $my_file = $infoAsJson[$i]->Renglones . ".json";
71
+  $handle = fopen($my_file, 'w') or die ('Cannot open file');
72
+  fwrite($handle, $renglonInfo);
73
+
74
+}
75
+
76
+?>

+ 1
- 0
platforms/browser/www/data/renglones.json
File diff suppressed because it is too large
View File


+ 145
- 0
platforms/browser/www/extract_files.js View File

@@ -0,0 +1,145 @@
1
+
2
+//Declare variables
3
+var path = "Server";
4
+var fs = require('fs');
5
+var files = fs.readdirSync(path);
6
+var filenames = [files.length];
7
+
8
+//Remove space from strings
9
+for(var i=0; i<files.length; i++)  
10
+	if(/\s/.test(files[i]))
11
+	   filenames[i] = files[i].replace(/\s/g, '');
12
+    else
13
+	   filenames[i] = files[i];
14
+
15
+//Extract json files to local folder
16
+for(var i=0; i<files.length; i++)   {
17
+
18
+	//Print filenames
19
+	//console.log(files[i] + " = "+filenames[i]);
20
+    
21
+    fs.copyFile(path+'/'+files[i], 'data/'+filenames[i], (err) => {
22
+		if (err) throw err;
23
+	});
24
+
25
+};
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+/*
46
+var xmlhttp = new XMLHttpRequest();
47
+var url = "http://136.145.231.34/";
48
+
49
+xmlhttp.onreadystatechange = function() {
50
+    if (this.readyState == 4 && this.status == 200) {
51
+        var myArr = JSON.parse(this.responseText);
52
+        myFunction(myArr);
53
+    }
54
+};
55
+xmlhttp.open("GET", url, true);
56
+xmlhttp.send();
57
+
58
+function myFunction(arr) {
59
+    var out = "";
60
+    var i;
61
+    for(i = 0; i < arr.length; i++) {
62
+        out += '<a href="' + arr[i].url + '">' +
63
+        arr[i].display + '</a><br>';
64
+    }
65
+    document.getElementById("id01").innerHTML = out;
66
+}
67
+
68
+
69
+src="http://code.jquery.com/jquery-1.11.0.min.js";
70
+
71
+(function() {
72
+          var URL = "/Json/";
73
+          $.getJSON( URL, {
74
+            format: "json"
75
+          })
76
+            .done(function( data ) {
77
+              $.each( data.items, function( i, item ) {
78
+              
79
+                //copyfile.js
80
+                const fs = require('fs');
81
+
82
+                // destination will be created or overwritten by default.
83
+                fs.copyFile('#.json', '/JsonFiles/#.json', (err) => {
84
+                  if (err) throw err;
85
+                  console.log('File was copied to destination');
86
+                });
87
+              
88
+                if ( i === 3 ) {
89
+                  return false;
90
+                }
91
+              });
92
+            });
93
+        })();
94
+
95
+
96
+*/
97
+
98
+/*
99
+$.ajax({
100
+  url: 'http://136.145.231.34',
101
+  data: data,
102
+  success: null,
103
+  dataType: "json"
104
+});
105
+
106
+
107
+
108
+
109
+$.get( "ajax/test.html", function( data ) {
110
+  $( ".result" ).html( data );
111
+  alert( "Load was performed." );
112
+});
113
+
114
+
115
+// Assign handlers immediately after making the request,
116
+// and remember the jqxhr object for this request
117
+var jqxhr = $.get( "AROMATIZACIÓN.json", function() {
118
+  alert( "success" );
119
+})
120
+  .done(function() {
121
+    alert( "second success" );
122
+  })
123
+  .fail(function() {
124
+    alert( "error" );
125
+  })
126
+  .always(function() {
127
+    alert( "finished" );
128
+  });
129
+ 
130
+// Perform other work here ...
131
+ 
132
+// Set another completion function for the request above
133
+jqxhr.always(function() {
134
+  alert( "second finished" );
135
+});
136
+
137
+
138
+
139
+ftp://ubuntu:BE#u3bFh@136.145.231.34/
140
+
141
+    host: '136.145.231.34',
142
+    username: 'ubuntu',
143
+    password: 'BE#u3bFh'
144
+	jquery get json
145
+*/

BIN
platforms/browser/www/img/AROMATIZACIÓN.png View File


BIN
platforms/browser/www/img/BAMBÚ.png View File


BIN
platforms/browser/www/img/BARRO.png View File


BIN
platforms/browser/www/img/CARETAS.png View File


BIN
platforms/browser/www/img/CRISTAL.png View File


BIN
platforms/browser/www/img/CUERO.png View File


BIN
platforms/browser/www/img/DESECHOS MARINOS.png View File


BIN
platforms/browser/www/img/DULCES TÍPICOS.png View File


BIN
platforms/browser/www/img/FIBRAS.png View File


BIN
platforms/browser/www/img/HIGÜERA.png View File


BIN
platforms/browser/www/img/INSTRUMENTOS TÍPICOS.png View File


BIN
platforms/browser/www/img/JUGUETES TRADICIONALES.png View File


BIN
platforms/browser/www/img/LABORES EN AGUJA.png View File


BIN
platforms/browser/www/img/MADERA.png View File


BIN
platforms/browser/www/img/METAL.png View File


BIN
platforms/browser/www/img/PAPEL CARTÓN.jpg View File


BIN
platforms/browser/www/img/PAPEL.png View File


BIN
platforms/browser/www/img/PIEDRAS.png View File


BIN
platforms/browser/www/img/PORCELANICRÓN.png View File


BIN
platforms/browser/www/img/SEMILLAS.png View File


BIN
platforms/browser/www/img/TABACOS.png View File


BIN
platforms/browser/www/img/TEXTILES.png View File


+ 361
- 80
platforms/browser/www/index.html View File

@@ -41,108 +41,383 @@
41 41
         <meta name="viewport" content="initial-scale=1, width=device-width, viewport-fit=cover">
42 42
         <link rel="stylesheet" type="text/css" href="css/index.css">
43 43
         <link rel="stylesheet" href="lib/OnsenUI/css/onsenui.css">
44
-        <link rel="stylesheet" href="lib/OnsenUI/css/onsen-css-components.min.css">
44
+        <link rel="stylesheet" href="lib/OnsenUI/css/onsen-css-components.min.css">    
45 45
         <script src="lib/OnsenUI/js/onsenui.min.js"></script>
46
+  	<script src="https://code.jquery.com/jquery-3.4.1.js"></script>
46 47
 
47 48
     </head>
48 49
     <body>
49
-        
50
-        <ons-navegator id="myNavigator">
51
-        <ons-page>
52
-            
50
+      
51
+        <ons-navigator swipeable animation="slide" id="myNavigator">
52
+           <ons-page>
53 53
             <ons-toolbar>
54
-                <div class="center">Cultura</div>
54
+                <div class="center">Instituto de Cultura</div>
55 55
             </ons-toolbar>
56
-
57
-
58
-            <ons-tabbar swipeable position="auto">
59
-                <ons-tab page="home.html" label="Hogar" active></ons-tab>
60
-                <ons-tab page="artesania.html" label="Artesanias"></ons-tab>
56
+            <ons-tabbar swipeable position="bottom">
57
+                <ons-tab page="home.html" label="Hogar"></ons-tab>
58
+                <ons-tab page="renglones.html" label="Artesanías"active></ons-tab>
61 59
                 <ons-tab page="ferias.html" label="Ferias"></ons-tab>
62
-                <ons-tab page="instituto.html" label="Instituto"></ons-tab>
60
+                <ons-tab page="instituto.html" label="ICP"></ons-tab>
63 61
             </ons-tabbar>
64 62
         </ons-page>
65
-        </ons-navegator>
66
-        
67
-        <!--<ons-toolbar>
68
-                <div class="center">Cultura</div>
69
-                style="background-color:#ABBC5D"
70
-        </ons-toolbar>-->
63
+        </ons-navigator>
64
+
65
+	<template id="artesanias.html">
66
+	  <ons-page id="artesanias">
67
+
68
+	    <ons-toolbar>
69
+	      <div class="left"><ons-back-button>Atrás</ons-back-button></div>
70
+	      <div class="center"></div>
71
+	    </ons-toolbar>
72
+
73
+    <ons-pull-hook id="pull-hook" threshold-height="120px">
74
+      <ons-icon id="pull-hook-icon" size="22px" class="pull-hook-content" icon="fa-arrow-down"></ons-icon>
75
+    </ons-pull-hook>
71 76
 
77
+    <ons-list id="artesania-list">
78
+      <ons-list-header>Pull to refresh</ons-list-header>
79
+    </ons-list>
80
+
81
+        <script>
82
+      ons.getScriptPage().onInit = function () {
83
+        this.querySelector('ons-toolbar div.center').textContent = this.data.title;
84
+        var pullHook = document.getElementById('pull-hook');
85
+        var icon = document.getElementById('pull-hook-icon');
86
+        pullHook.addEventListener('changestate', function (event) {
87
+          switch (event.state) {
88
+            case 'initial':
89
+              icon.setAttribute('icon', 'fa-arrow-down');
90
+              icon.removeAttribute('rotate');
91
+              icon.removeAttribute('spin');
92
+              break;
93
+            case 'preaction':
94
+              icon.setAttribute('icon', 'fa-arrow-down');
95
+              icon.setAttribute('rotate', '180');
96
+              icon.removeAttribute('spin');
97
+              break;
98
+            case 'action':
99
+              icon.setAttribute('icon', 'fa-spinner');
100
+              icon.removeAttribute('rotate');
101
+              icon.setAttribute('spin', true);
102
+              break;
103
+          } 
104
+        });
105
+
106
+        var getArtesania = function (num) {
107
+          const names = ['Palo', 'Cara', 'Guitarra', 'Pilon', 'Raqueta', 'Envase', 'Vasija', 'Caparazon', 'Libros', 'Persona'];
108
+          return {
109
+            name: names[num]
110
+          };
111
+        };
112
+        var getData = function () {
113
+          const data = [];
114
+          for (var i = 0; i < 10; i++) {
115
+            data.push(getArtesania(i));
116
+          }
117
+          return data;
118
+        };
119
+        var createArtesania = function (Artesania) {
120
+          return ons.createElement(`
121
+              <ons-list-item expandable tappable>
122
+                <div class="center" >${Artesania.name}</div>
123
+      	        <div class="expandable-content"> -Artesanos que trabajan con ${Artesania.name}- <br><br> Luis Lao | Naguabo 
124
+							<br> <a id='home.html'>Jorge Rivera | Naguabo</a> </div>
125
+              </ons-list-item>
126
+            `
127
+          );
128
+        };
129
+        var Artesanias = getData();
130
+        for (Art of Artesanias) {
131
+          var Artesania = createArtesania(Art);
132
+          document.getElementById('artesania-list').appendChild(Artesania);
133
+        };
134
+        pullHook.onAction = function (done) {
135
+          setTimeout(function() {
136
+            document.getElementById('artesania-list').appendChild(createArtesania(getArtesania()));
137
+            done();
138
+          }, 400);
139
+        }
140
+      };
141
+        </script>
142
+
143
+        <style>
144
+          .pull-hook-content {
145
+            color: #333;
146
+            transition: transform .25s ease-in-out;
147
+          }
148
+        </style>
149
+      </ons-page>
150
+    </template>
72 151
 
73 152
         <template id="home.html">
74
-            <ons-page id="Hogar">
153
+
154
+	      <ons-page id="home">
155
+
75 156
                 <p style="text-align: center;">
76
-			     Pantalla Principal
157
+					Aqui los datos :
77 158
                 </p>
159
+
78 160
             </ons-page>
161
+
162
+
79 163
         </template>
80 164
 
81
-        <template id="artesania.html">
82
-            <ons-page id="artesania">
165
+        <template id="renglones.html">
166
+
167
+            <ons-page id="renglones">
168
+
169
+	    <!--ons-card id="renglones-list" onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Madera'})">
170
+		<p> Aqui los renglones </p>
171
+	    </ons-card-->
83 172
                 
84 173
                 <div class="search-bar">
85 174
                      <p style="text-align: center; margin-top: 10px;">
86 175
                         <ons-search-input placeholder="Search" onchange="ons.notification.alert('Searched for: ' + this.value)" style="width: 96%; margin: 6px auto 6px auto;"></ons-search-input>
87 176
                     </p>   
88 177
                 </div>
89
-      
90
-                <div>
91
-                <ons-scroller>
92
-                    <!--<table id="table" align="center">
93
-                        <tr>
94
-                            <th>Renglones</th>
95
-                            <th>Especificaciones</th>
96
-                        </tr>
97
-                    <script type="text/javascript" src="js/test.js"></script>      
98
-                    </table>     -->
99
-                    
100
-                    <ons-list>
178
+                
179
+                <ons-list id="list">
180
+                <script type="text/javascript" src="js/renglones.js"></script>
181
+                </ons-list>
182
+                
183
+                
184
+                <!--<ons-list>
101 185
                     <ons-list-header>Renglones</ons-list-header>
102
-                    <!--<ons-list-item modifier="chevron" id="myNavigator.pushPage('pageNav1.html')">Madera</ons-list-item>-->
103
-                    <ons-list-item><a href="madera.html">Madera</a></ons-list-item>
104
-                    <ons-list-item>Labores en aguja</ons-list-item>
105
-                    <ons-list-item>Textiles</ons-list-item>
106
-                    <ons-list-item>Barro</ons-list-item>
107
-                    <ons-list-item>Instrumentos Típicos</ons-list-item>
108
-                    <ons-list-item>Juguetes tradicionales</ons-list-item>
109
-                    <ons-list-item>Fibras</ons-list-item>
110
-                    <ons-list-item>Caretas</ons-list-item>
111
-                    <ons-list-item>Cuero</ons-list-item>
112
-                    <ons-list-item>Metal</ons-list-item>
113
-                    <ons-list-item>Piedras</ons-list-item>
114
-                    <ons-list-item>Papel</ons-list-item>
115
-                    <ons-list-item>Bambú</ons-list-item>
116
-                    <ons-list-item>Cristal</ons-list-item>
117
-                    <ons-list-item>Higüera</ons-list-item>
118
-                    <ons-list-item>Desechos Marinos</ons-list-item>
119
-                    <ons-list-item>Porcelanicrón</ons-list-item>
120
-                    <ons-list-item>Tabacos</ons-list-item>
121
-                    <ons-list-item>Semillas</ons-list-item>
122
-                    <ons-list-item>Aromatización</ons-list-item>
123
-                    <ons-list-item>Dulces Típicos</ons-list-item>
124
-                    </ons-list>
125
-                </ons-scroller>
126
-                </div>
127
-            </ons-page>
186
+                        
187
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Madera'})">
188
+                        <div class="center">Madera</div>
189
+                        <div class="right"><img class="list-item__thumbnail" src="img/madera.png"></div>
190
+                    </ons-list-item>
191
+                        
192
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Labores en aguja'})">
193
+                        <div class="center">Labores en aguja</div>
194
+                        <div class="right"><img class="list-item__thumbnail" src="img/agujas.png"></div>
195
+                    </ons-list-item>
196
+                        
197
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Textiles'})">
198
+                        <div class="center">Textiles</div>
199
+                        <div class="right"><img class="list-item__thumbnail" src="img/textiles.png"></div>
200
+                    </ons-list-item>
201
+                        
202
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Barro'})">
203
+                        <div class="center">Barro</div>
204
+                        <div class="right"><img class="list-item__thumbnail" src="img/barro.png"></div>
205
+                    </ons-list-item>
206
+                        
207
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Instrumentos Típicos'})">
208
+                        <div class="center">Instrumentos Típicos</div>
209
+                        <div class="right"><img class="list-item__thumbnail" src="img/instrumentos.png"></div>
210
+                    </ons-list-item>
211
+                        
212
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Juguetes tradicionales'})">
213
+                        <div class="center">Juguetes tradicionales</div>
214
+                        <div class="right"><img class="list-item__thumbnail" src="img/juguetes.png"></div>
215
+                    </ons-list-item>
216
+                        
217
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Fibras'})">
218
+                        <div class="center">Fibras</div>
219
+                        <div class="right"><img class="list-item__thumbnail" src="img/fibras.png"></div>
220
+                    </ons-list-item>
221
+                        
222
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Caretas'})">
223
+                        <div class="center">Caretas</div>
224
+                        <div class="right"><img class="list-item__thumbnail" src="img/caretas.png"></div>
225
+                    </ons-list-item>
226
+                        
227
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Cuero'})">
228
+                        <div class="center">Cuero</div>
229
+                        <div class="right"><img class="list-item__thumbnail" src="img/cuero.png"></div>
230
+                    </ons-list-item>
231
+                        
232
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Metal'})">
233
+                        <div class="center">Metal</div>
234
+                        <div class="right"><img class="list-item__thumbnail" src="img/metal.png"></div>
235
+                    </ons-list-item>
236
+                        
237
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Piedras'})">
238
+                        <div class="center">Piedras</div>
239
+                        <div class="right"><img class="list-item__thumbnail" src="img/piedras.png"></div>
240
+                    </ons-list-item>
241
+                        
242
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Papel'})">
243
+                        <div class="center">Papel</div>
244
+                        <div class="right"><img class="list-item__thumbnail" src="img/papel.png"></div>
245
+                    </ons-list-item>
246
+                        
247
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Bambú'})">
248
+                        <div class="center">Bambú</div>
249
+                        <div class="right"><img class="list-item__thumbnail" src="img/bambu.png"></div>
250
+                    </ons-list-item>
251
+                        
252
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Cristal'})">
253
+                        <div class="center">Cristal</div>
254
+                        <div class="right"><img class="list-item__thumbnail" src="img/cristal.png"></div>
255
+                    </ons-list-item>
256
+                        
257
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Higüera'})">
258
+                        <div class="center">Higüera</div>
259
+                        <div class="right"><img class="list-item__thumbnail" src="img/higuera.png"></div>
260
+                    </ons-list-item>
261
+                        
262
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Desechos Marinos'})">
263
+                        <div class="center">Desechos Marinos</div>
264
+                        <div class="right"><img class="list-item__thumbnail" src="img/desechos.png"></div>
265
+                    </ons-list-item>
266
+                        
267
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Porcelanicrón'})">
268
+                        <div class="center">Porcelanicrón</div>
269
+                        <div class="right"><img class="list-item__thumbnail" src="img/porcelanicron.png"></div>
270
+                    </ons-list-item>
271
+                        
272
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Tabacos'})">
273
+                        <div class="center">Tabacos</div>
274
+                        <div class="right"><img class="list-item__thumbnail" src="img/tabacos.png"></div>
275
+                    </ons-list-item>
276
+                        
277
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Semillas'})">
278
+                        <div class="center">Semillas</div>
279
+                        <div class="right"><img class="list-item__thumbnail" src="img/semillas.png"></div>
280
+                    </ons-list-item>
281
+                        
282
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Aromatización'})">
283
+                        <div class="center">Aromatización</div>
284
+                        <div class="right"><img class="list-item__thumbnail" src="img/aromatizacion.png"></div>
285
+                    </ons-list-item>
286
+                        
287
+                    <ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Dulces Típicos'})">
288
+                        <div class="center">Dulces Típicos</div>
289
+                        <div class="right"><img class="list-item__thumbnail" src="img/dulces.png"></div>
290
+                    </ons-list-item>
291
+                        
292
+                    </ons-list>-->
293
+
294
+
295
+   		<!--<ons-card onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Madera'})">
296
+	          <div class="title">Madera</div>
297
+                <div class="right"><img class="list-item__thumbnail" src="img/madera.png"></div>
298
+	        </ons-card>
299
+
300
+		     
301
+	        <ons-card onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Labores en aguja'})">
302
+	          <div class="title">Labores en aguja</div>
303
+	        </ons-card>
304
+
305
+	        <ons-card onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Textiles'})">
306
+	          <div class="title">Textiles</div>
307
+	        </ons-card>
308
+
309
+	        <ons-card onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Barro'})">
310
+	          <div class="title">Barro</div>
311
+	        </ons-card>
312
+
313
+	        <ons-card onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Instrumentos Típicos'})">
314
+	          <div class="title">Instrumentos Típicos</div>
315
+	        </ons-card>
316
+
317
+	        <ons-card onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Juguetes tradicionales'})">
318
+	          <div class="title">Juguetes tradicionales</div>
319
+	        </ons-card>
320
+
321
+	        <ons-card onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Fibras'})">
322
+	          <div class="title">Fibras</div>
323
+	        </ons-card>
324
+
325
+	        <ons-card onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Caretas'})">
326
+	          <div class="title">Caretas</div>
327
+	        </ons-card>
328
+
329
+	        <ons-card onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Cuero'})">
330
+	          <div class="title">Cuero</div>
331
+	        </ons-card>
332
+
333
+	        <ons-card onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Metal'})">
334
+	          <div class="title">Metal</div>
335
+	        </ons-card>
336
+                
337
+            <ons-card onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Piedras'})">
338
+	          <div class="title">Piedras</div>
339
+	        </ons-card>
340
+                
341
+            <ons-card onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Papel'})">
342
+	          <div class="title">Papel</div>
343
+	        </ons-card>
344
+                
345
+            <ons-card onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Bambú'})">
346
+	          <div class="title">Bambú</div>
347
+	        </ons-card>
348
+                
349
+            <ons-card onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Cristal'})">
350
+	          <div class="title">Cristal</div>
351
+	        </ons-card>
352
+                
353
+            <ons-card onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Higüera'})">
354
+	          <div class="title">Higüera</div>
355
+	        </ons-card>
356
+                
357
+            <ons-card onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Desechos Marinos'})">
358
+	          <div class="title">Desechos Marinos</div>
359
+	        </ons-card>
360
+                
361
+            <ons-card onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Porcelanicrón'})">
362
+	          <div class="title">Porcelanicrón</div>
363
+	        </ons-card>
364
+                
365
+            <ons-card onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Tabacos'})">
366
+	          <div class="title">Tabacos</div>
367
+	        </ons-card>
368
+                
369
+            <ons-card onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Semillas'})">
370
+	          <div class="title">Semillas</div>
371
+	        </ons-card>
372
+                
373
+            <ons-card onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Aromatización'})">
374
+	          <div class="title">Aromatización</div>
375
+	        </ons-card>
376
+                
377
+            <ons-card onclick="fn.pushPage({'id': 'artesanias.html', 'title': 'Dulces Típicos'})">
378
+	          <div class="title">Dulces Típicos</div>
379
+	        </ons-card>
380
+
381
+	        <style>
382
+	          .intro {
383
+		    text-align: center;
384
+		    padding: 20px;
385
+		    margin-top: 30px;
386
+	          }
387
+
388
+	          ons-card {
389
+		    cursor: pointer;
390
+		    color: #333;
391
+	          }
392
+
393
+	          .card__title,
394
+	          .card--material__title {
395
+		    font-size: 15px;
396
+	          }
397
+	        </style>-->
398
+	    </ons-page>
399
+
400
+	<!--script>
401
+	ons.getScriptPage().onInit = function () {
402
+        this.querySelector('ons-toolbar div.center').textContent = this.data.title;
403
+        var createArtesania = function (Artesania) {
404
+          return ons.createElement(`
405
+              <ons-list-item expandable tappable>
406
+                <div class="center" >${Artesania.name}</div>
407
+      	        <div class="expandable-content"> -Artesanos que trabajan con ${Artesania.name}- <br><br> Luis Lao | Naguabo 
408
+							<br> <a id='home.html'>Jorge Rivera | Naguabo</a> </div>
409
+              </ons-list-item>
410
+            `
411
+          );
412
+         document.getElementById('artesania-list').appendChild(createArtesania(getArtesania()));
413
+	};
414
+	</script-->
415
+
416
+
128 417
         </template>
129 418
         
130
-        <!--<template id="pageNav1.html">
131
-        <ons-page id="pageNav1">
132
-            <ons-toolbar>
133
-            <div class="left">
134
-                <ons-back-button>Back</ons-back-button>
135
-            </div>
136
-      <     div class="center"></div>
137
-            </ons-toolbar>
138
-            <p style="text-align: center">
139
-            Use the VOnsBackButton
140
-            </p>
141
-        </ons-page>
142
-        </template>-->
143
-        
144 419
         <template id="ferias.html">
145
-            <ons-page id="Ferias">
420
+            <ons-page id="ferias">
146 421
                 
147 422
                 <div id = "caleandar" class = "calendar" style="margin-top: 50px;">
148 423
                     <script type="text/javascript" src="calendar_files/js/caleandar.js"></script>
@@ -152,9 +427,15 @@
152 427
         </template>
153 428
         
154 429
         <template id="instituto.html">
155
-            <ons-page id="Instituto">
430
+            <ons-page id="instituto">
156 431
                 <p style="text-align: center;">
157 432
 
433
+		    <!--<ons-toolbar>
434
+		      <div class="left"><ons-back-button>Pagejjn 3</ons-back-button></div>
435
+		      <div class="center"></div>
436
+		    </ons-toolbar>-->
437
+
438
+
158 439
 		<h1>Instituto de Cultura Puertorriqueña</h1> 
159 440
 		<h3>Ven, descubre lo que nuestra riqueza cultural puertorriqueña tiene para tí.<br> Disfrútala, es tu identidad.
160 441
 		</h3>
@@ -172,7 +453,7 @@
172 453
         </body>
173 454
 		
174 455
 
175
-		Visita nuestra <a href="https://www.icp.pr.gov/">Página Web</a> o síguenos en nuestras redes sociales: 
456
+		Visita nuestra <a href="https://www.icp.pr.gov/">Página Web</a> o síguenos en nuestras redes sociales: <br>
176 457
 		<a href="https://twitter.com/icppr"><img src="img/twitter.png" alt="Twitter" style="width:35px;height:35px;border:0;">
177 458
 		</a> 
178 459
 		<a href="https://facebook.com/icppr"><img src="img/facebook.png" alt="Facebook" style="width:35px;height:35px;border:0;">
@@ -182,14 +463,14 @@
182 463
 		<a href="https://instagram.com/icppr"><img src="img/instagram.png" alt="Instagram" style="width:35px;height:35px;border:0;">
183 464
 		</a> 
184 465
 
185
-
186
-
187 466
                 </p>
188 467
             </ons-page>
189 468
         </template>
469
+
470
+	<script src="js/load.js"></script>
471
+	<script src="js/demo.js"></script>
190 472
         
191 473
         <script type="text/javascript" src="cordova.js"></script>
192 474
         <script type="text/javascript" src="js/index.js"></script>
193
-        <script type="text/javascript" src="js/link.js"></script>
194 475
     </body>
195 476
 </html>

+ 41
- 0
platforms/browser/www/instituto.html View File

@@ -0,0 +1,41 @@
1
+<html>
2
+<body>
3
+    
4
+    <ons-page id="Instituto">
5
+                <p style="text-align: center;">
6
+
7
+		<h1>Instituto de Cultura Puertorriqueña</h1> 
8
+		<h3>Ven, descubre lo que nuestra riqueza cultural puertorriqueña tiene para tí.<br> Disfrútala, es tu identidad.
9
+		</h3>
10
+
11
+		<body>
12
+		<br>
13
+		El Instituto de Cultura Puertorriqueña (ICP) tiene como misión investigar, conservar, promover y divulgar la cultura puertorriqueña en su diversidad y complejidad. Con la memoria y la promesa de la cultura, los distintos niveles, sectores, edades e intereses de la comunidad crean el conjunto de modos de vida, costumbres y manifestaciones artísticas que nos identifica como país. El ICP existe para preservar y divulgar estos saberes, difundir internacionalmente nuestro talento y enriquecer el amor a lo propio.
14
+		<br><br>
15
+		Nuestras tradiciones no son rígidos objetos de museo, sino actividades vivas en constante renovación y reapropiación, según van también desarrollándose nuevas tradiciones. El respeto a la diversidad, a lo híbrido, a lo apropiado y a lo replanteado también son parte esencial de esta institución que busca activamente la colaboración de todos en un quehacer que debe ser siempre compartido de la mano con su ingente diversidad.
16
+		<br><br>
17
+		Prof. Carlos R. Ruiz Cortés<br>
18
+		Director Ejecutivo<br>
19
+		Instituto de Cultura Puertorriqueña<br>
20
+		<br><br>
21
+        </body>
22
+		
23
+
24
+		Visita nuestra <a href="https://www.icp.pr.gov/">Página Web</a> o síguenos en nuestras redes sociales: 
25
+		<a href="https://twitter.com/icppr"><img src="img/twitter.png" alt="Twitter" style="width:35px;height:35px;border:0;">
26
+		</a> 
27
+		<a href="https://facebook.com/icppr"><img src="img/facebook.png" alt="Facebook" style="width:35px;height:35px;border:0;">
28
+		</a> 
29
+		<a href="https://youtube.com/user/icppr"><img src="img/youtube.png" alt="Youtube" style="width:35px;height:35px;border:0;">
30
+		</a> 
31
+		<a href="https://instagram.com/icppr"><img src="img/instagram.png" alt="Instagram" style="width:35px;height:35px;border:0;">
32
+		</a> 
33
+
34
+
35
+
36
+                </p>
37
+            </ons-page>
38
+    
39
+</body>
40
+
41
+</html>

+ 0
- 45
platforms/browser/www/js/link.js View File

@@ -1,45 +0,0 @@
1
-/*window.fn = {};
2
-
3
-window.fn.toggleMenu = function () {
4
-  document.getElementById('appSplitter').right.toggle();
5
-};
6
-
7
-window.fn.loadView = function (index) {
8
-  document.getElementById('appTabbar').setActiveTab(index);
9
-  document.getElementById('sidemenu').close();
10
-};
11
-
12
-window.fn.loadLink = function (url) {
13
-  window.open(url, '_blank');
14
-};
15
-
16
-window.fn.pushPage = function (page, anim) {
17
-  if (anim) {
18
-    document.getElementById('appNavigator').pushPage(page.id, { data: { title: page.title }, animation: anim });
19
-  } else {
20
-    document.getElementById('appNavigator').pushPage(page.id, { data: { title: page.title } });
21
-  }
22
-};
23
-
24
-document.addEventListener('init', function(event) {
25
-  var page = event.target;
26
-
27
-  if (page.id === 'artesania') {
28
-    page.querySelector('#push-button').onclick = function() {
29
-      document.querySelector('#myNavigator').pushPage('page1.html', {data: {title: 'Page 1'}});
30
-    };
31
-  } else if (page.id === 'page1') {
32
-    page.querySelector('ons-toolbar .center').innerHTML = page.data.title;
33
-  }
34
-});*/
35
-
36
-/*document.addEventListener('init', function (event) {
37
-  if (event.target.id === 'pageNav1') {
38
-    var title = event.target.data && event.target.data.title ? event.target.data.title : 'Custom Page';
39
-    event.target.querySelector('ons-toolbar div.center').textContent = title;
40
-  }
41
-  if (event.target.id === 'pageNav2') {
42
-    var cardTitle = event.target.data && event.target.data.cardTitle ? event.target.data.cardTitle : 'Custom Card';
43
-    event.target.querySelector('ons-card div.title').textContent = cardTitle;
44
-  }
45
-});*/

+ 23
- 0
platforms/browser/www/js/renglones.js View File

@@ -0,0 +1,23 @@
1
+var request = new XMLHttpRequest()
2
+
3
+request.open('GET', 'json/renglones.json', true)
4
+
5
+request.onload = function() {
6
+  // begin accessing JSON data here
7
+  var info = JSON.parse(this.response)
8
+        
9
+  var list = document.getElementById("list");
10
+    
11
+    for (var i = 0; i < info.length; i++) {
12
+
13
+            var item = ons.createElement(`<ons-list-item onclick="fn.pushPage({'id': 'artesanias.html', 'title': '${info[i].Renglones}')">
14
+                        <div class="center">${info[i].Renglones}</div>
15
+                        <div class="right"><img class="list-item__thumbnail" src="img/${info[i].Renglones}.png"></div>
16
+                    </ons-list-item>`);
17
+            list.appendChild(item);
18
+            }
19
+        }
20
+    
21
+
22
+
23
+request.send()  

+ 1
- 1
platforms/browser/www/json/renglones.json
File diff suppressed because it is too large
View File


+ 0
- 115
platforms/browser/www/temp/index.html View File

@@ -1,115 +0,0 @@
1
-<!DOCTYPE html>
2
-<!--
3
-    Licensed to the Apache Software Foundation (ASF) under one
4
-    or more contributor license agreements.  See the NOTICE file
5
-    distributed with this work for additional information
6
-    regarding copyright ownership.  The ASF licenses this file
7
-    to you under the Apache License, Version 2.0 (the
8
-    "License"); you may not use this file except in compliance
9
-    with the License.  You may obtain a copy of the License at
10
-
11
-    http://www.apache.org/licenses/LICENSE-2.0
12
-
13
-    Unless required by applicable law or agreed to in writing,
14
-    software distributed under the License is distributed on an
15
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
-     KIND, either express or implied.  See the License for the
17
-    specific language governing permissions and limitations
18
-    under the License.
19
--->
20
-<html>
21
-    <head>
22
-        <!--
23
-        Customize this policy to fit your own app's needs. For more guidance, see:
24
-            https://github.com/apache/cordova-plugin-whitelist/blob/master/README.md#content-security-policy
25
-        Some notes:
26
-            * gap: is required only on iOS (when using UIWebView) and is needed for JS->native communication
27
-            * https://ssl.gstatic.com is required only on Android and is needed for TalkBack to function properly
28
-            * Disables use of inline scripts in order to mitigate risk of XSS vulnerabilities. To change this:
29
-                * Enable inline JS: add 'unsafe-inline' to default-src
30
-        -->
31
-        
32
-        <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *; img-src 'self' data: content:;">
33
-        <meta name="format-detection" content="telephone=no">
34
-        <meta name="msapplication-tap-highlight" content="no">
35
-        <meta name="viewport" content="initial-scale=1, width=device-width, viewport-fit=cover">
36
-        <link rel="stylesheet" type="text/css" href="css/index.css">
37
-        <title>Cultura</title>
38
-        <link rel="stylesheet" href="lib/OnsenUI/css/onsenui.css">
39
-        <link rel="stylesheet" href="lib/OnsenUI/css/onsen-css-components.min.css">
40
-        <script src="lib/OnsenUI/js/onsenui.min.js"></script>
41
-    </head>
42
-    <body>
43
-        
44
-        <ons-page>
45
-            <ons-toolbar>
46
-                <div class="center">Cultura</div>
47
-            </ons-toolbar>
48
-
49
-            <ons-tabbar swipeable position="auto">
50
-                <ons-tab page="home.html" label="Hogar" active></ons-tab>
51
-                <ons-tab page="artesania.html" label="Artesanias"></ons-tab>
52
-                <ons-tab page="ferias.html" label="Ferias"></ons-tab>
53
-                <ons-tab page="instituto.html" label="Instituto"></ons-tab>
54
-            </ons-tabbar>
55
-        </ons-page>
56
-
57
-        <template id="home.html">
58
-            <ons-page id="Hogar">
59
-                <p style="text-align: center;">
60
-                    Este es el hogar.
61
-                </p>
62
-            </ons-page>
63
-        </template>
64
-
65
-        <template id="artesania.html">
66
-            <ons-page id="Artesanias">
67
-                <table id="table" align="center">
68
-                   <tr>
69
-                       <th>Renglones</th>
70
-                       <th>Especificaciones</th>
71
-                   </tr>
72
-                   <script type="text/javascript" src="test.js">
73
-                       table = document.getElementById("table");
74
-                       for(var i = 0; i < esp.length; i++)
75
-                            {
76
-                            // create a new row
77
-                            var newRow = table.insertRow(table.length);
78
-                            
79
-                            // create a new cell
80
-                            var cell = newRow.insertCell(0);
81
-                            // add value to the cell
82
-                            cell.innerHTML = renglones[i];
83
-                                
84
-                            // create a new cell
85
-                            var cell = newRow.insertCell(1);
86
-                            // add value to the cell
87
-                            cell.innerHTML = esp[i];
88
-                                
89
-                            }
90
-                   </script>
91
-                </table>
92
-            </ons-page>
93
-        </template>
94
-        
95
-        <template id="ferias.html">
96
-            <ons-page id="Ferias">
97
-                <p style="text-align: center;">
98
-                    Aqui estan las ferias.
99
-                </p>
100
-            </ons-page>
101
-        </template>
102
-        
103
-        <template id="instituto.html">
104
-            <ons-page id="Instituto">
105
-                <p style="text-align: center;">
106
-                    Aqui esta la informacion del instituto.
107
-                </p>
108
-            </ons-page>
109
-        </template>
110
-        
111
-        <script type="text/javascript" src="cordova.js"></script>
112
-        <script type="text/javascript" src="js/index.js"></script>
113
-        <script type="text/javascript" src="json/renglones.json"></script>
114
-    </body>
115
-</html>

+ 3
- 3
www/css/searchbar1.css View File

@@ -1,11 +1,11 @@
1 1
 ons-toolbar ~ .page__content{
2
-    margin-top: 45px;
2
+    margin-top: 0px;
3 3
 }
4 4
 .search-bar {
5 5
     width: 100%;
6
-    position: fixed;
6
+    position: relative;
7 7
     display: block;
8
-    margin-top: -45px;
8
+    margin-top: 0px;
9 9
 }
10 10
 .after-search-bar {
11 11
     margin-top: -10px;

BIN
www/img/AROMATIZACIÓN.png View File


BIN
www/img/BAMBÚ.png View File


BIN
www/img/BARRO.png View File


BIN
www/img/CARETAS.png View File


BIN
www/img/CRISTAL.png View File


BIN
www/img/CUERO.png View File


BIN
www/img/DESECHOS MARINOS.png View File


BIN
www/img/DULCES TÍPICOS.png View File


BIN
www/img/FIBRAS.png View File


BIN
www/img/HIGÜERA.png View File


BIN
www/img/INSTRUMENTOS TÍPICOS.png View File


BIN
www/img/JUGUETES TRADICIONALES.png View File


BIN
www/img/LABORES EN AGUJA.png View File


BIN
www/img/MADERA.png View File


BIN
www/img/METAL.png View File


BIN
www/img/PAPEL CARTÓN.jpg View File


BIN
www/img/PAPEL.png View File


BIN
www/img/PIEDRAS.png View File


+ 0
- 0
www/img/PORCELANICRÓN.png View File


Some files were not shown because too many files changed in this diff