Browse Source

fix in search

Christian Matos 3 years ago
parent
commit
3e37077f57
2 changed files with 0 additions and 51 deletions
  1. 0
    47
      platforms/browser/www/index.html
  2. 0
    4
      www/index.html

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

@@ -260,11 +260,7 @@
260 260
                             //'title':'${Artesano.Nombre}','esp': '${info}'
261 261
                             //Tries to pass all the info of each artesano into a new page, the page that display this information is 'artesano.html', not to be confused with 'artesanias.html' or 'artesanos.html'(current page)
262 262
                             //And puts this into the 'item' variable
263
-<<<<<<< HEAD
264
-                            var item = ons.createElement(`<ons-list-item onclick="myNavigator.pushPage('artesano.html', { data: { title: '${Artesano.Nombre}', mun: '${Artesano.Municipio}', tel: '${Artesano["Telefono 1"]}', email: '${Artesano["Email"]}', esp: '${Artesano.Especificacion}', redes: '${Artesano["E-Commerce 1"]}' } })" tappable>
265
-=======
266 263
                             var item = ons.createElement(`<ons-list-item onclick="myNavigator.pushPage('artesano.html', { data: { title: '${Artesano.Nombre}', mun: '${Artesano.Municipio}', tel: '${Artesano["Telefono 1"]}', email: '${Artesano["E-mail"]}', esp: '${Artesano.Especificacion}', redes: '${Artesano["E-Commerce 1"]}', tecnicas: '${Artesano["Tecnica 1"]}' } })" tappable>
267
->>>>>>> 37c3d6cd46f4836cbf2145a6b7b02f3478ec5a4c
268 264
                         <div class="title">${Artesano.Nombre}</div>
269 265
                     </ons-list-item>`);
270 266
 
@@ -373,11 +369,7 @@
373 369
                                  //if(Esp[num] in artesanos_json.) {}
374 370
                                  results[i].Nombre = results[i].Nombre + " " + results[i]["Apellido Paterno"] + " " + results[i]["Apellido Materno"]
375 371
                                  Artesanos+=`${results[i].Nombre}|`
376
-<<<<<<< HEAD
377
-                                 ArtesanosInfo+=`${results[i].Municipio}|${results[i]["Telefono 1"]}|${results[i]["Email"]}|${results[i].Especificacion}&&`
378
-=======
379 372
                                  ArtesanosInfo+=`${results[i].Municipio}|${results[i]["Telefono 1"]}|${results[i]["E-mail"]}|${results[i].Especificacion}|${results[i]["Tecnica 1"]}&&`
380
->>>>>>> 37c3d6cd46f4836cbf2145a6b7b02f3478ec5a4c
381 373
                                  //`<a id='home.html'>${Artesania.artesano} | ${Artesania.municipio}</a> `
382 374
                              }
383 375
 
@@ -411,12 +403,7 @@
411 403
                                      redes = lot[4],
412 404
                                      tecnicas = lot[5];
413 405
 
414
-<<<<<<< HEAD
415
-                                 listaArt += `<ons-item tappable onclick="myNavigator.pushPage('artesano.html', {data: {title:'${arts[i]}', mun: '${mun}', tel: '${tel}', email: '${email}', esp: '${esp}', redes: '${redes}'}} )" ><div class="center">`+ arts[i] +`</div></ons-item><br>`;
416
-                                 console.log(listaArt)
417
-=======
418 406
                                  listaArt += `<ons-item tappable onclick="myNavigator.pushPage('artesano.html', {data: {title:'${arts[i]}', mun: '${mun}', tel: '${tel}', email: '${email}', esp: '${esp}', redes: '${redes}', tecnicas: '${tecnicas}' }} )" ><div class="center">`+ arts[i] +`</div></ons-item><br>`;
419
->>>>>>> 37c3d6cd46f4836cbf2145a6b7b02f3478ec5a4c
420 407
                              }
421 408
 
422 409
                              if (Artesania.name == "Figuras y simbolos indigenas") {
@@ -564,11 +551,7 @@
564 551
                     for (i = 0; i < all_artesanos.length;i++){
565 552
                         all_artesanos[i].Nombre = all_artesanos[i].Nombre +  " " + all_artesanos[i]["Apellido Paterno"] + " " + all_artesanos[i]["Apellido Materno"];
566 553
                         var artesano = ons.createElement(`<ons-list-item class = "artists"
567
-<<<<<<< HEAD
568
-                        onclick="SNavigator.pushPage('artesano.html', { data: {title: '${all_artesanos[i].Nombre}', mun: '${all_artesanos[i].Municipio}', tel: '${all_artesanos[i]["Telefono 1"]}', email: '${all_artesanos[i]["Email"]}', esp: '${all_artesanos[i].Especificacion}', redes: '${all_artesanos[i]["E-Commerce 1"]}' } })" tappable>
569
-=======
570 554
                         onclick="SNavigator.pushPage('artesano.html', { data: {title: '${all_artesanos[i].Nombre}', mun: '${all_artesanos[i].Municipio}', tel: '${all_artesanos[i]["Telefono 1"]}', email: '${all_artesanos[i]["E-mail"]}', esp: '${all_artesanos[i].Especificacion}', redes: '${all_artesanos[i]["E-Commerce 1"]}', tecnicas: '${all_artesanos[i]["Tecnica 1"]}' } })" tappable>
571
->>>>>>> 37c3d6cd46f4836cbf2145a6b7b02f3478ec5a4c
572 555
                         <div>${all_artesanos[i].Nombre}</div>
573 556
                     </ons-list-item>`);
574 557
                         document.getElementById('results').appendChild(artesano);
@@ -602,13 +585,8 @@
602 585
                             tel = this.data.tel,
603 586
                             em = this.data.email,
604 587
                             esp = this.data.esp,
605
-<<<<<<< HEAD
606
-                            redes = this.data.redes;
607
-                    
608
-=======
609 588
                             redes = this.data.redes,
610 589
                             tecnicas = this.data.tecnicas;
611
->>>>>>> 37c3d6cd46f4836cbf2145a6b7b02f3478ec5a4c
612 590
 
613 591
                         //here the email is the string made from the start to where the '#' is.
614 592
                         
@@ -786,31 +764,6 @@
786 764
 
787 765
                     <h1>Colaboradores</h1>
788 766
                     
789
-<<<<<<< HEAD
790
-
791
-
792
-                    Visita nuestra <a href="https://www.icp.pr.gov/">Página Web</a> o síguenos en nuestras redes sociales: <br> <br> 
793
-                    <a href="https://twitter.com/icppr"><img src="img/twitter.png" alt="Twitter" style="width:35px;height:35px;border:0;">
794
-                    </a> 
795
-                    <a href="https://facebook.com/icppr"><img src="img/facebook.png" alt="Facebook" style="width:35px;height:35px;border:0;">
796
-                    </a>
797
-                    <a href="https://youtube.com/user/icppr"><img src="img/youtube.png" alt="Youtube" style="width:35px;height:35px;border:0;">
798
-                    </a>
799
-                    <a href="https://instagram.com/icppr"><img src="img/instagram.png" alt="Instagram" style="width:35px;height:35px;border:0;">
800
-                    </a>
801
-                    
802
-                    <br><br><br>
803
-                    <button onclick="redirect()">Pasar a la pagina de eventos</button>
804
-
805
-                    <script>
806
-                        function redirect() {
807
-                            location.replace("https://facebook.com/icppr")
808
-                        }
809
-                    </script>
810
-                    
811
-                    <br><br>
812
-=======
813
->>>>>>> 37c3d6cd46f4836cbf2145a6b7b02f3478ec5a4c
814 767
                     <style>
815 768
                         .column {
816 769
                             float: left;

+ 0
- 4
www/index.html View File

@@ -551,11 +551,7 @@
551 551
                     for (i = 0; i < all_artesanos.length;i++){
552 552
                         all_artesanos[i].Nombre = all_artesanos[i].Nombre +  " " + all_artesanos[i]["Apellido Paterno"] + " " + all_artesanos[i]["Apellido Materno"];
553 553
                         var artesano = ons.createElement(`<ons-list-item class = "artists"
554
-<<<<<<< HEAD
555
-                        onclick="SNavigator.pushPage('artesano.html', { data: {title: '${all_artesanos[i].Nombre}', mun: '${all_artesanos[i].Municipio}', tel: '${all_artesanos[i]["Telefono 1"]}', email: '${all_artesanos[i]["Email"]}', esp: '${all_artesanos[i].Especificacion}', redes: '${all_artesanos[i]["E-Commerce 1"]}' } })" tappable>
556
-=======
557 554
                         onclick="SNavigator.pushPage('artesano.html', { data: {title: '${all_artesanos[i].Nombre}', mun: '${all_artesanos[i].Municipio}', tel: '${all_artesanos[i]["Telefono 1"]}', email: '${all_artesanos[i]["E-mail"]}', esp: '${all_artesanos[i].Especificacion}', redes: '${all_artesanos[i]["E-Commerce 1"]}', tecnicas: '${all_artesanos[i]["Tecnica 1"]}' } })" tappable>
558
->>>>>>> 37c3d6cd46f4836cbf2145a6b7b02f3478ec5a4c
559 555
                         <div>${all_artesanos[i].Nombre}</div>
560 556
                     </ons-list-item>`);
561 557
                         document.getElementById('results').appendChild(artesano);