|
@@ -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>
|