Emmanuel 3 years ago
parent
commit
8b6932c2aa

BIN
platforms/android/app/src/main/assets/www/img/BARRO.jpg View File


BIN
platforms/android/app/src/main/assets/www/img/CRISTAL.jpg View File


BIN
platforms/android/app/src/main/assets/www/img/CUERO.jpg View File


BIN
platforms/android/app/src/main/assets/www/img/FIBRAS.jpg View File


BIN
platforms/android/app/src/main/assets/www/img/INSTRUMENTOS TÍPICOS.jpg View File


BIN
platforms/android/app/src/main/assets/www/img/JUGUETES TRADICIONALES.jpg View File


BIN
platforms/android/app/src/main/assets/www/img/LABORES EN AGUJA.jpg View File


BIN
platforms/android/app/src/main/assets/www/img/METAL.jpg View File


BIN
platforms/android/app/src/main/assets/www/img/MÁSCARAS.jpg View File


BIN
platforms/android/app/src/main/assets/www/img/TABACOS.jpg View File


+ 7
- 83
platforms/android/app/src/main/assets/www/index.html View File

253
                             if (Artesano.Especificacion.trim().length != 0) {
253
                             if (Artesano.Especificacion.trim().length != 0) {
254
                                 cont ++;
254
                                 cont ++;
255
                             }
255
                             }
256
-
256
+                            
257
+                            Artesano.Nombre = Artesano.Nombre + " " + Artesano["Apellido Paterno"] + " " + Artesano["Apellido Materno"];
257
 
258
 
258
                             //info a pasar
259
                             //info a pasar
259
                             //'title':'${Artesano.Nombre}','esp': '${info}'
260
                             //'title':'${Artesano.Nombre}','esp': '${info}'
260
                             //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)
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)
261
                             //And puts this into the 'item' variable
262
                             //And puts this into the 'item' variable
262
-<<<<<<< HEAD
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["Email"]}', esp: '${Artesano.Especificacion}', redes: '${Artesano["E-Commerce 1"]}' } })" tappable>
264
-=======
265
                             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>
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>
266
->>>>>>> 37c3d6cd46f4836cbf2145a6b7b02f3478ec5a4c
267
                         <div class="title">${Artesano.Nombre}</div>
264
                         <div class="title">${Artesano.Nombre}</div>
268
                     </ons-list-item>`);
265
                     </ons-list-item>`);
269
 
266
 
370
                              for(var i=0; i<results.length; i++) {
367
                              for(var i=0; i<results.length; i++) {
371
 
368
 
372
                                  //if(Esp[num] in artesanos_json.) {}
369
                                  //if(Esp[num] in artesanos_json.) {}
370
+                                 results[i].Nombre = results[i].Nombre + " " + results[i]["Apellido Paterno"] + " " + results[i]["Apellido Materno"]
373
                                  Artesanos+=`${results[i].Nombre}|`
371
                                  Artesanos+=`${results[i].Nombre}|`
374
-<<<<<<< HEAD
375
-                                 ArtesanosInfo+=`${results[i].Municipio}|${results[i]["Telefono 1"]}|${results[i]["Email"]}|${results[i].Especificacion}&&`
376
-=======
377
                                  ArtesanosInfo+=`${results[i].Municipio}|${results[i]["Telefono 1"]}|${results[i]["E-mail"]}|${results[i].Especificacion}|${results[i]["Tecnica 1"]}&&`
372
                                  ArtesanosInfo+=`${results[i].Municipio}|${results[i]["Telefono 1"]}|${results[i]["E-mail"]}|${results[i].Especificacion}|${results[i]["Tecnica 1"]}&&`
378
->>>>>>> 37c3d6cd46f4836cbf2145a6b7b02f3478ec5a4c
379
                                  //`<a id='home.html'>${Artesania.artesano} | ${Artesania.municipio}</a> `
373
                                  //`<a id='home.html'>${Artesania.artesano} | ${Artesania.municipio}</a> `
380
                              }
374
                              }
381
 
375
 
555
                     //This is basically declaring what we refer to as informacion in the filter() function
549
                     //This is basically declaring what we refer to as informacion in the filter() function
556
                     //It iterates though each artists in the all_artesanos json file from before, it displays their name in the "Buscar" page, and it gets prepared so that when its clicked it redirects to the "artesano.html" page with the other aditional information that we have other than the name.
550
                     //It iterates though each artists in the all_artesanos json file from before, it displays their name in the "Buscar" page, and it gets prepared so that when its clicked it redirects to the "artesano.html" page with the other aditional information that we have other than the name.
557
                     for (i = 0; i < all_artesanos.length;i++){
551
                     for (i = 0; i < all_artesanos.length;i++){
552
+                        all_artesanos[i].Nombre = all_artesanos[i].Nombre +  " " + all_artesanos[i]["Apellido Paterno"] + " " + all_artesanos[i]["Apellido Materno"];
558
                         var artesano = ons.createElement(`<ons-list-item class = "artists"
553
                         var artesano = ons.createElement(`<ons-list-item class = "artists"
559
-<<<<<<< HEAD
560
-                        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>
561
-=======
562
                         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>
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>
563
->>>>>>> 37c3d6cd46f4836cbf2145a6b7b02f3478ec5a4c
564
                         <div>${all_artesanos[i].Nombre}</div>
555
                         <div>${all_artesanos[i].Nombre}</div>
565
                     </ons-list-item>`);
556
                     </ons-list-item>`);
566
                         document.getElementById('results').appendChild(artesano);
557
                         document.getElementById('results').appendChild(artesano);
598
                             tecnicas = this.data.tecnicas;
589
                             tecnicas = this.data.tecnicas;
599
 
590
 
600
                         //here the email is the string made from the start to where the '#' is.
591
                         //here the email is the string made from the start to where the '#' is.
601
-                        email = em.slice(0, em.search("#"));
592
+                        
602
 
593
 
603
                         //Here it's dividing all the especificaciones and writing them into the page (data) and then goes to the next line
594
                         //Here it's dividing all the especificaciones and writing them into the page (data) and then goes to the next line
604
                         //if it has many especificaciones then it will replace all the ';' in it with ',' and writes it into the page
595
                         //if it has many especificaciones then it will replace all the ';' in it with ',' and writes it into the page
630
 
621
 
631
                         //Here it's writing their email, in blue color and its used as a link to send one when it's clicked, then it goes to the next line
622
                         //Here it's writing their email, in blue color and its used as a link to send one when it's clicked, then it goes to the next line
632
                         //Whenever the variable is empty or if it has "NO TIENE" then it doesnt write anything
623
                         //Whenever the variable is empty or if it has "NO TIENE" then it doesnt write anything
633
-                        if(email.trim() != "" & email.toUpperCase().trim() != "NO TIENE"){
634
-                            data+='Correo Electr\u00f3nico: <a style="color:blue" href="mailto: '+email+'"><u>'+email+'</u></a><br>';
624
+                        if(em.trim() != "" & em.toUpperCase().trim() != "NO TIENE"){
625
+                            data+='Correo Electr\u00f3nico: <a style="color:blue" href="mailto: '+em+'"><u>'+em+'</u></a><br>';
635
                         }
626
                         }
636
 
627
 
637
                         //Here it's writing their phone number into the page,its in blue and whenever its clicked the app will redirect the user to call them, then it goes to the next line
628
                         //Here it's writing their phone number into the page,its in blue and whenever its clicked the app will redirect the user to call them, then it goes to the next line
741
                     <script type="text/javascript" src="calendar_files/js/events.js"></script>
732
                     <script type="text/javascript" src="calendar_files/js/events.js"></script>
742
                 </div>
733
                 </div>
743
 
734
 
744
-<<<<<<< HEAD
745
-                </ons-card>-->
746
-                <br><br><br>
747
-                <button onclick="redirect()">Pasar a la pagina de eventos</button>
748
-=======
749
                 </ons-card>--
735
                 </ons-card>--
750
                 <br><br><br>-->
736
                 <br><br><br>-->
751
                 <ons-card>
737
                 <ons-card>
761
                     El Instituto de Cultura Puertorriqueña, el Gobierno de Puerto Rico, los Colaboradores de esta aplicación, así como los funcionarios, empleados y contratistas de los anteriores, no se hacen responsables de los mensajes, imágenes, opiniones, servicios, declaraciones, representaciones o cualquier forma de contenido incluido en cualquiera de los enlaces accesibles, vinculados o referidos a través de ArtesaníasICP.
747
                     El Instituto de Cultura Puertorriqueña, el Gobierno de Puerto Rico, los Colaboradores de esta aplicación, así como los funcionarios, empleados y contratistas de los anteriores, no se hacen responsables de los mensajes, imágenes, opiniones, servicios, declaraciones, representaciones o cualquier forma de contenido incluido en cualquiera de los enlaces accesibles, vinculados o referidos a través de ArtesaníasICP.
762
                 </div>
748
                 </div>
763
                 </ons-card>
749
                 </ons-card>
764
->>>>>>> 37c3d6cd46f4836cbf2145a6b7b02f3478ec5a4c
765
 
750
 
766
               <script>
751
               <script>
767
               function redirect() {
752
               function redirect() {
794
                         <br><br>
779
                         <br><br>
795
                         En esta plataforma agrupamos herramientas que permitirán que tu organización adquiera mayor visibilidad, recursos, conexiones, capacidad para una operación más eficiente y efectiva.
780
                         En esta plataforma agrupamos herramientas que permitirán que tu organización adquiera mayor visibilidad, recursos, conexiones, capacidad para una operación más eficiente y efectiva.
796
                         <br><br>
781
                         <br><br>
797
-<<<<<<< HEAD
798
-                    </body>
799
-                    
800
-
801
-
802
-                    Visita nuestra <a href="https://www.icp.pr.gov/">Página Web</a> o síguenos en nuestras redes sociales: <br> <br> 
803
-                    <a href="https://twitter.com/icppr"><img src="img/twitter.png" alt="Twitter" style="width:35px;height:35px;border:0;">
804
-                    </a> 
805
-                    <a href="https://facebook.com/icppr"><img src="img/facebook.png" alt="Facebook" style="width:35px;height:35px;border:0;">
806
-=======
807
-                        Saludos Cordiales,
808
-                                Aziria
809
-                    </div>   
810
-                    <div class = "column"> 
811
-                        <img src="img/sfpr.svg" style="width:150px;height:100px">
812
-                    </div>
813
-                    <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
814
-                    Visita nuesta Página Web o siguenos en nuestras redes sociales<br>
815
-                    <a href="https://twitter.com/SINFINESPR"><img src="img/twitter.png" alt="Twitter" style="width:35px;height:35px;border:0;">
816
-                    </a>
817
-                    <a href="https://www.facebook.com/sinfinespr"><img src="img/facebook.png" alt="Facebook" style="width:35px;height:35px;border:0;">
818
->>>>>>> 37c3d6cd46f4836cbf2145a6b7b02f3478ec5a4c
819
-                    </a>
820
-                    <a href="https://www.linkedin.com/company/sinfinespr/"><img src="img/linkedin.png" alt="Linkedin" style="width:35px;height:35px;border:0;">
821
-                    </a>
822
-                    <a href="https://www.instagram.com/sinfinespr/"><img src="img/instagram.png" alt="Instagram" style="width:35px;height:35px;border:0;">
823
-                    </a>
824
-<<<<<<< HEAD
825
-                    
826
-                    <br><br><br>
827
-                    <button onclick="redirect()">Pasar a la pagina de eventos</button>
828
-
829
-                    <script>
830
-                        function redirect() {
831
-                            location.replace("https://facebook.com/icppr")
832
-                        }
833
-                    </script>
834
-                    
835
-                    <br><br>
836
-                    <style>
837
-                        .column {
838
-                            float: left;
839
-                            width: 50%;
840
-                        }
841
-                        .row {
842
-                            width: 100%;
843
-                        }
844
-                    </style>
845
-                    <h2>SINFINESPR</h2>
846
-                    <div class = "column">
847
-                        SINFINESPR es un programa de Titín Foundation que responde a nuestro interés y compromiso con el fortalecimiento del tercer sector.
848
-                        <br><br>
849
-                        En esta plataforma agrupamos herramientas que permitirán que tu organización adquiera mayor visibilidad, recursos, conexiones, capacidad para una operación más eficiente y efectiva.
850
-                        <br><br>
851
                         Saludos Cordiales,
782
                         Saludos Cordiales,
852
                                 Aziria
783
                                 Aziria
853
                     </div>   
784
                     </div>   
865
                     <a href="https://www.instagram.com/sinfinespr/"><img src="img/instagram.png" alt="Instagram" style="width:35px;height:35px;border:0;">
796
                     <a href="https://www.instagram.com/sinfinespr/"><img src="img/instagram.png" alt="Instagram" style="width:35px;height:35px;border:0;">
866
                     </a>
797
                     </a>
867
                     <br><br>
798
                     <br><br>
868
-                    <h2>Centro de Desarrollo y Consultoria Computacional</h2>
869
-                    El Centro de Desarrollo y Consultoría Computacional está compuesto por profesores y estudiantes del departamento de Ciencia de Cómputos de la Universidad de Puerto Rico Recinto de Río Piedras. Nuestra meta es aportar al desarrollo computacional de la Universidad y de Puerto Rico al proveer servicios al día, de calidad y con precios accesibles, a la misma vez que se le ofrece experiencias prácticas a los estudiantes del departamento de Ciencia de Cómputos.
870
-                    <br><br>
871
-                    Si tiene alguna duda nos puede conactar por:
872
-=======
873
-                    <br><br>
874
                     <h2>Centro de Desarrollo y Consultoría Computacional</h2>
799
                     <h2>Centro de Desarrollo y Consultoría Computacional</h2>
875
                     El Centro de Desarrollo y Consultoría Computacional está compuesto por profesores y estudiantes del departamento de Ciencia de Cómputos de la Universidad de Puerto Rico Recinto de Río Piedras. Nuestra meta es aportar al desarrollo computacional de la Universidad y de Puerto Rico al proveer servicios al día, de calidad y con precios accesibles, a la misma vez que se le ofrece experiencias prácticas a los estudiantes del departamento de Ciencia de Cómputos.
800
                     El Centro de Desarrollo y Consultoría Computacional está compuesto por profesores y estudiantes del departamento de Ciencia de Cómputos de la Universidad de Puerto Rico Recinto de Río Piedras. Nuestra meta es aportar al desarrollo computacional de la Universidad y de Puerto Rico al proveer servicios al día, de calidad y con precios accesibles, a la misma vez que se le ofrece experiencias prácticas a los estudiantes del departamento de Ciencia de Cómputos.
876
                     <br><br>
801
                     <br><br>
879
                     
804
                     
880
                     <br><br>
805
                     <br><br>
881
                     Si tiene alguna duda nos puede contactar por:
806
                     Si tiene alguna duda nos puede contactar por:
882
->>>>>>> 37c3d6cd46f4836cbf2145a6b7b02f3478ec5a4c
883
                     <br>
807
                     <br>
884
                     Teléfono: 787-764-0000 Ext. 88341, 88349
808
                     Teléfono: 787-764-0000 Ext. 88341, 88349
885
                     <br>
809
                     <br>

+ 0
- 4
platforms/android/app/src/main/assets/www/js/azar.js View File

6
 var page = document.getElementById("home");
6
 var page = document.getElementById("home");
7
 
7
 
8
 var aleatorio = Math.floor(Math.random()*52);
8
 var aleatorio = Math.floor(Math.random()*52);
9
-<<<<<<< HEAD
10
-document.getElementById("image").innerHTML = `<img src="img/${aleatorio}.jpg" width="100%" height="300">`;
11
-=======
12
 document.getElementById("image").innerHTML = `<img src="img/${aleatorio}.jpg" width="100%" height="auto">`;
9
 document.getElementById("image").innerHTML = `<img src="img/${aleatorio}.jpg" width="100%" height="auto">`;
13
->>>>>>> 37c3d6cd46f4836cbf2145a6b7b02f3478ec5a4c
14
 document.getElementById("Content").innerHTML = "<h4>" + data[aleatorio].titulo + "</h4>" + data[aleatorio].texto; 
10
 document.getElementById("Content").innerHTML = "<h4>" + data[aleatorio].titulo + "</h4>" + data[aleatorio].texto; 
15
 
11
 
16
 page.addEventListener("show", function(event){
12
 page.addEventListener("show", function(event){

+ 1
- 1
platforms/browser/www/lib/OnsenUI/css/onsen-css-components.css View File

800
   background-size: 100% 1px;
800
   background-size: 100% 1px;
801
   background-repeat: no-repeat;
801
   background-repeat: no-repeat;
802
   background-position: bottom;
802
   background-position: bottom;
803
-  background-image: linear-gradient(0deg, #b2b2b2, #b2b2b2 100%);
803
+  background-image: linear-gradient(0deg, #FF0000, #b2b2b2 100%);
804
 }
804
 }
805
 @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
805
 @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
806
   .toolbar {
806
   .toolbar {

+ 1
- 1
platforms/browser/www/lib/OnsenUI/onsen-css-components.css View File

2148
     background-size: 100% 1px;
2148
     background-size: 100% 1px;
2149
     background-repeat: no-repeat;
2149
     background-repeat: no-repeat;
2150
     background-position: top;
2150
     background-position: top;
2151
-    background-image: linear-gradient(180deg, #ccc, #ccc 50%, transparent 50%);
2151
+    background-image: linear-gradient(180deg, #FF0000, #FF0000 50%, transparent 50%);
2152
   }
2152
   }
2153
 }
2153
 }
2154
 .tabbar__item {
2154
 .tabbar__item {