Browse Source

fixes and conflicts

Christian Matos 3 years ago
parent
commit
eb34a8a2cb
100 changed files with 291 additions and 65 deletions
  1. 37
    0
      config.xml
  2. BIN
      icon/android/.DS_Store
  3. 5
    0
      icon/android/mipmap-hdpi-v26/ic_launcher.xml
  4. BIN
      icon/android/mipmap-hdpi-v26/ic_launcher_background.png
  5. BIN
      icon/android/mipmap-hdpi-v26/ic_launcher_foreground.png
  6. 5
    0
      icon/android/mipmap-ldpi-v26/ic_launcher.xml
  7. BIN
      icon/android/mipmap-ldpi-v26/ic_launcher_background.png
  8. BIN
      icon/android/mipmap-ldpi-v26/ic_launcher_foreground.png
  9. 5
    0
      icon/android/mipmap-mdpi-v26/ic_launcher.xml
  10. BIN
      icon/android/mipmap-mdpi-v26/ic_launcher_background.png
  11. BIN
      icon/android/mipmap-mdpi-v26/ic_launcher_foreground.png
  12. 5
    0
      icon/android/mipmap-xhdpi-v26/ic_launcher.xml
  13. BIN
      icon/android/mipmap-xhdpi-v26/ic_launcher_background.png
  14. BIN
      icon/android/mipmap-xhdpi-v26/ic_launcher_foreground.png
  15. 5
    0
      icon/android/mipmap-xxhdpi-v26/ic_launcher.xml
  16. BIN
      icon/android/mipmap-xxhdpi-v26/ic_launcher_background.png
  17. BIN
      icon/android/mipmap-xxhdpi-v26/ic_launcher_foreground.png
  18. 5
    0
      icon/android/mipmap-xxxhdpi-v26/ic_launcher.xml
  19. BIN
      icon/android/mipmap-xxxhdpi-v26/ic_launcher_background.png
  20. BIN
      icon/android/mipmap-xxxhdpi-v26/ic_launcher_foreground.png
  21. BIN
      icon/iOS/.DS_Store
  22. 1
    0
      icon/iOS/AppIcon.appiconset/Contents.json
  23. BIN
      icon/iOS/AppIcon.appiconset/icon-1024.png
  24. BIN
      icon/iOS/AppIcon.appiconset/icon-20.png
  25. BIN
      icon/iOS/AppIcon.appiconset/icon-20@2x.png
  26. BIN
      icon/iOS/AppIcon.appiconset/icon-20@3x.png
  27. BIN
      icon/iOS/AppIcon.appiconset/icon-24@2x.png
  28. BIN
      icon/iOS/AppIcon.appiconset/icon-27.5@2x.png
  29. BIN
      icon/iOS/AppIcon.appiconset/icon-29.png
  30. BIN
      icon/iOS/AppIcon.appiconset/icon-29@2x.png
  31. BIN
      icon/iOS/AppIcon.appiconset/icon-29@3x.png
  32. BIN
      icon/iOS/AppIcon.appiconset/icon-40.png
  33. BIN
      icon/iOS/AppIcon.appiconset/icon-40@2x.png
  34. BIN
      icon/iOS/AppIcon.appiconset/icon-44@2x.png
  35. BIN
      icon/iOS/AppIcon.appiconset/icon-50.png
  36. BIN
      icon/iOS/AppIcon.appiconset/icon-50@2x.png
  37. BIN
      icon/iOS/AppIcon.appiconset/icon-60@2x.png
  38. BIN
      icon/iOS/AppIcon.appiconset/icon-60@3x.png
  39. BIN
      icon/iOS/AppIcon.appiconset/icon-72.png
  40. BIN
      icon/iOS/AppIcon.appiconset/icon-72@2x.png
  41. BIN
      icon/iOS/AppIcon.appiconset/icon-76.png
  42. BIN
      icon/iOS/AppIcon.appiconset/icon-76@2x.png
  43. BIN
      icon/iOS/AppIcon.appiconset/icon-83.5@2x.png
  44. BIN
      icon/iOS/AppIcon.appiconset/icon-86@2x.png
  45. BIN
      icon/iOS/AppIcon.appiconset/icon-98@2x.png
  46. BIN
      icon/iOS/AppIcon.appiconset/icon.png
  47. BIN
      icon/iOS/AppIcon.appiconset/icon@2x.png
  48. BIN
      platforms/android/app/src/main/assets/www/.index.html.swp
  49. BIN
      platforms/android/app/src/main/assets/www/img/PAPEL.jpg
  50. BIN
      platforms/android/app/src/main/assets/www/img/PIEDRAS.jpg
  51. BIN
      platforms/android/app/src/main/assets/www/img/culturalpr1800x3200-2-01.png
  52. BIN
      platforms/android/app/src/main/assets/www/img/logo_cdcc.png
  53. 95
    28
      platforms/android/app/src/main/assets/www/index.html
  54. 5
    1
      platforms/android/app/src/main/assets/www/js/azar.js
  55. 25
    1
      platforms/android/app/src/main/assets/www/js/searchfunctions.js
  56. BIN
      platforms/android/app/src/main/res/mipmap-hdpi-v26/ic_launcher_background.png
  57. BIN
      platforms/android/app/src/main/res/mipmap-hdpi-v26/ic_launcher_foreground.png
  58. BIN
      platforms/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
  59. BIN
      platforms/android/app/src/main/res/mipmap-ldpi-v26/ic_launcher_background.png
  60. BIN
      platforms/android/app/src/main/res/mipmap-ldpi-v26/ic_launcher_foreground.png
  61. BIN
      platforms/android/app/src/main/res/mipmap-ldpi/ic_launcher.png
  62. BIN
      platforms/android/app/src/main/res/mipmap-mdpi-v26/ic_launcher_background.png
  63. BIN
      platforms/android/app/src/main/res/mipmap-mdpi-v26/ic_launcher_foreground.png
  64. BIN
      platforms/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
  65. BIN
      platforms/android/app/src/main/res/mipmap-xhdpi-v26/ic_launcher_foreground.png
  66. BIN
      platforms/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
  67. BIN
      platforms/android/app/src/main/res/mipmap-xxhdpi-v26/ic_launcher_background.png
  68. BIN
      platforms/android/app/src/main/res/mipmap-xxhdpi-v26/ic_launcher_foreground.png
  69. BIN
      platforms/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
  70. BIN
      platforms/android/app/src/main/res/mipmap-xxxhdpi-v26/ic_launcher_background.png
  71. BIN
      platforms/android/app/src/main/res/mipmap-xxxhdpi-v26/ic_launcher_foreground.png
  72. BIN
      platforms/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
  73. 6
    0
      platforms/android/app/src/main/res/xml/config.xml
  74. BIN
      platforms/browser/www/.index.html.swp
  75. BIN
      platforms/browser/www/img/BARRO.jpg
  76. BIN
      platforms/browser/www/img/CRISTAL.jpg
  77. BIN
      platforms/browser/www/img/CUERO.jpg
  78. BIN
      platforms/browser/www/img/FIBRAS.jpg
  79. BIN
      platforms/browser/www/img/INSTRUMENTOS TÍPICOS.jpg
  80. BIN
      platforms/browser/www/img/JUGUETES TRADICIONALES.jpg
  81. BIN
      platforms/browser/www/img/LABORES EN AGUJA.jpg
  82. BIN
      platforms/browser/www/img/METAL.jpg
  83. BIN
      platforms/browser/www/img/MÁSCARAS.jpg
  84. BIN
      platforms/browser/www/img/PAPEL.jpg
  85. BIN
      platforms/browser/www/img/PIEDRAS.jpg
  86. BIN
      platforms/browser/www/img/TABACOS.jpg
  87. BIN
      platforms/browser/www/img/culturalpr1800x3200-2-01.png
  88. BIN
      platforms/browser/www/img/logo_cdcc.png
  89. 65
    32
      platforms/browser/www/index.html
  90. 2
    2
      platforms/browser/www/js/azar.js
  91. 25
    1
      platforms/browser/www/js/searchfunctions.js
  92. BIN
      www/.index.html.swp
  93. BIN
      www/img/BARRO.jpg
  94. BIN
      www/img/CRISTAL.jpg
  95. BIN
      www/img/CUERO.jpg
  96. BIN
      www/img/FIBRAS.jpg
  97. BIN
      www/img/INSTRUMENTOS TÍPICOS.jpg
  98. BIN
      www/img/JUGUETES TRADICIONALES.jpg
  99. BIN
      www/img/LABORES EN AGUJA.jpg
  100. 0
    0
      www/img/METAL.jpg

+ 37
- 0
config.xml View File

20
     <feature name="NativeStorage">
20
     <feature name="NativeStorage">
21
         <param name="ios-package" value="NativeStorage" />
21
         <param name="ios-package" value="NativeStorage" />
22
     </feature>
22
     </feature>
23
+    
24
+    <platform name="android">
25
+        <icon background="icon/android/mipmap-ldpi-v26/ic_launcher_background.png" density="ldpi" foreground="icon/android/mipmap-ldpi-v26/ic_launcher_foreground.png"/>
26
+        <icon background="icon/android/mipmap-mdpi-v26/ic_launcher_background.png" density="mdpi" foreground="icon/android/mipmap-mdpi-v26/ic_launcher_foreground.png"/>>
27
+        <icon background="icon/android/mipmap-hdpi-v26/ic_launcher_background.png" density="hdpi" foreground="icon/android/mipmap-hdpi-v26/ic_launcher_foreground.png"/>
28
+        <icon background="icon/android/mipmap-xhdpi-v26/ic_launcher_background.png" density="xhdpi" foreground="icon/android/mipmap-xhdpi-v26/ic_launcher_foreground.png"/>
29
+        <icon background="icon/android/mipmap-xxhdpi-v26/ic_launcher_background.png" density="xxhdpi" foreground="icon/android/mipmap-xxhdpi-v26/ic_launcher_foreground.png"/>
30
+        <icon background="icon/android/mipmap-xxxhdpi-v26/ic_launcher_background.png" density="xxxhdpi" foreground="icon/android/mipmap-xxxhdpi-v26/ic_launcher_foreground.png"/>
31
+    </platform>
32
+    
33
+    <platform name="ios">
34
+        <icon src="icon/iOS/AppIcon.appiconset/icon.png" width="57" height="57" />
35
+        <icon src="icon/iOS/AppIcon.appiconset/icon@2x.png" width="114" height="114" />
36
+        <icon src="icon/iOS/AppIcon.appiconset/icon-20.png" width="20" height="20" />
37
+        <icon src="icon/iOS/AppIcon.appiconset/icon-24@2x.png" width="48" height="48" />
38
+        <icon src="icon/iOS/AppIcon.appiconset/icon-20@3x.png" width="60" height="60" />
39
+        <icon src="icon/iOS/AppIcon.appiconset/icon-27.5@2x.png" width="55" height="55" />
40
+        <icon src="icon/iOS/AppIcon.appiconset/icon-29.png" width="29" height="29" />
41
+        <icon src="icon/iOS/AppIcon.appiconset/icon-29@2x.png" width="58" height="58" />
42
+        <icon src="icon/iOS/AppIcon.appiconset/icon-29@3x.png" width="88" height="88" />
43
+        <icon src="icon/iOS/AppIcon.appiconset/icon-40.png" width="40" height="40" />
44
+        <icon src="icon/iOS/AppIcon.appiconset/icon-40@2x.png" width="80" height="80" />
45
+        <icon src="icon/iOS/AppIcon.appiconset/icon-44@2x.png" width="88" height="88" />
46
+        <icon src="icon/iOS/AppIcon.appiconset/icon-50.png" width="50" height="50" />
47
+        <icon src="icon/iOS/AppIcon.appiconset/icon-50@2x.png" width="100" height="100" />
48
+        <icon src="icon/iOS/AppIcon.appiconset/icon-60@2x.png" width="120" height="120" />
49
+        <icon src="icon/iOS/AppIcon.appiconset/icon-60@3x.png" width="180" height="180" />
50
+        <icon src="icon/iOS/AppIcon.appiconset/icon-72.png" width="72" height="72" />
51
+        <icon src="icon/iOS/AppIcon.appiconset/icon-72@2x.png" width="144" height="144" />
52
+        <icon src="icon/iOS/AppIcon.appiconset/icon-76.png" width="76" height="76" />
53
+        <icon src="icon/iOS/AppIcon.appiconset/icon-76@2x.png" width="152" height="152" />
54
+        <icon src="icon/iOS/AppIcon.appiconset/icon-83.5@2x.png" width="167" height="167" />
55
+        <icon src="icon/iOS/AppIcon.appiconset/icon-86@2x.png" width="172" height="172" />
56
+        <icon src="icon/iOS/AppIcon.appiconset/icon-98@2x.png" width="196" height="196" />
57
+        <icon src="icon/iOS/AppIcon.appiconset/icon-1024.png" width="1024" height="1024" />
58
+    </platform>
59
+    
23
 </widget>
60
 </widget>

BIN
icon/android/.DS_Store View File


+ 5
- 0
icon/android/mipmap-hdpi-v26/ic_launcher.xml View File

1
+<?xml version="1.0" encoding="utf-8"?>
2
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3
+    <background android:drawable="@mipmap/ic_launcher_background" />
4
+    <foreground android:drawable="@mipmap/ic_launcher_foreground" />
5
+</adaptive-icon>

BIN
icon/android/mipmap-hdpi-v26/ic_launcher_background.png View File


BIN
icon/android/mipmap-hdpi-v26/ic_launcher_foreground.png View File


+ 5
- 0
icon/android/mipmap-ldpi-v26/ic_launcher.xml View File

1
+<?xml version="1.0" encoding="utf-8"?>
2
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3
+    <background android:drawable="@mipmap/ic_launcher_background" />
4
+    <foreground android:drawable="@mipmap/ic_launcher_foreground" />
5
+</adaptive-icon>

BIN
icon/android/mipmap-ldpi-v26/ic_launcher_background.png View File


BIN
icon/android/mipmap-ldpi-v26/ic_launcher_foreground.png View File


+ 5
- 0
icon/android/mipmap-mdpi-v26/ic_launcher.xml View File

1
+<?xml version="1.0" encoding="utf-8"?>
2
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3
+    <background android:drawable="@mipmap/ic_launcher_background" />
4
+    <foreground android:drawable="@mipmap/ic_launcher_foreground" />
5
+</adaptive-icon>

BIN
icon/android/mipmap-mdpi-v26/ic_launcher_background.png View File


BIN
icon/android/mipmap-mdpi-v26/ic_launcher_foreground.png View File


+ 5
- 0
icon/android/mipmap-xhdpi-v26/ic_launcher.xml View File

1
+<?xml version="1.0" encoding="utf-8"?>
2
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3
+    <background android:drawable="@mipmap/ic_launcher_background" />
4
+    <foreground android:drawable="@mipmap/ic_launcher_foreground" />
5
+</adaptive-icon>

BIN
icon/android/mipmap-xhdpi-v26/ic_launcher_background.png View File


BIN
icon/android/mipmap-xhdpi-v26/ic_launcher_foreground.png View File


+ 5
- 0
icon/android/mipmap-xxhdpi-v26/ic_launcher.xml View File

1
+<?xml version="1.0" encoding="utf-8"?>
2
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3
+    <background android:drawable="@mipmap/ic_launcher_background" />
4
+    <foreground android:drawable="@mipmap/ic_launcher_foreground" />
5
+</adaptive-icon>

BIN
icon/android/mipmap-xxhdpi-v26/ic_launcher_background.png View File


BIN
icon/android/mipmap-xxhdpi-v26/ic_launcher_foreground.png View File


+ 5
- 0
icon/android/mipmap-xxxhdpi-v26/ic_launcher.xml View File

1
+<?xml version="1.0" encoding="utf-8"?>
2
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3
+    <background android:drawable="@mipmap/ic_launcher_background" />
4
+    <foreground android:drawable="@mipmap/ic_launcher_foreground" />
5
+</adaptive-icon>

BIN
icon/android/mipmap-xxxhdpi-v26/ic_launcher_background.png View File


BIN
icon/android/mipmap-xxxhdpi-v26/ic_launcher_foreground.png View File


BIN
icon/iOS/.DS_Store View File


+ 1
- 0
icon/iOS/AppIcon.appiconset/Contents.json View File

1
+{"images":[{"size":"20x20","idiom":"iphone","filename":"icon-20@2x.png","scale":"2x"},{"size":"20x20","idiom":"iphone","filename":"icon-20@3x.png","scale":"3x"},{"size":"29x29","idiom":"iphone","filename":"icon-29.png","scale":"1x"},{"size":"29x29","idiom":"iphone","filename":"icon-29@2x.png","scale":"2x"},{"size":"29x29","idiom":"iphone","filename":"icon-29@3x.png","scale":"3x"},{"size":"40x40","idiom":"iphone","filename":"icon-40@2x.png","scale":"2x"},{"size":"40x40","idiom":"iphone","filename":"icon-60@2x.png","scale":"3x"},{"size":"57x57","idiom":"iphone","filename":"icon.png","scale":"1x"},{"size":"57x57","idiom":"iphone","filename":"icon@2x.png","scale":"2x"},{"size":"60x60","idiom":"iphone","filename":"icon-60@2x.png","scale":"2x"},{"size":"60x60","idiom":"iphone","filename":"icon-60@3x.png","scale":"3x"},{"size":"20x20","idiom":"ipad","filename":"icon-20.png","scale":"1x"},{"size":"20x20","idiom":"ipad","filename":"icon-20@2x.png","scale":"2x"},{"size":"29x29","idiom":"ipad","filename":"icon-29.png","scale":"1x"},{"size":"29x29","idiom":"ipad","filename":"icon-29@2x.png","scale":"2x"},{"size":"40x40","idiom":"ipad","filename":"icon-40.png","scale":"1x"},{"size":"40x40","idiom":"ipad","filename":"icon-40@2x.png","scale":"2x"},{"size":"50x50","idiom":"ipad","filename":"icon-50.png","scale":"1x"},{"size":"50x50","idiom":"ipad","filename":"icon-50@2x.png","scale":"2x"},{"size":"72x72","idiom":"ipad","filename":"icon-72.png","scale":"1x"},{"size":"72x72","idiom":"ipad","filename":"icon-72@2x.png","scale":"2x"},{"size":"76x76","idiom":"ipad","filename":"icon-76.png","scale":"1x"},{"size":"76x76","idiom":"ipad","filename":"icon-76@2x.png","scale":"2x"},{"size":"83.5x83.5","idiom":"ipad","filename":"icon-83.5@2x.png","scale":"2x"},{"size":"1024x1024","idiom":"ios-marketing","filename":"icon-1024.png","scale":"1x"},{"size":"24x24","idiom":"watch","filename":"icon-24@2x.png","scale":"2x","role":"notificationCenter","subtype":"38mm"},{"size":"27.5x27.5","idiom":"watch","filename":"icon-27.5@2x.png","scale":"2x","role":"notificationCenter","subtype":"42mm"},{"size":"29x29","idiom":"watch","filename":"icon-29@2x.png","role":"companionSettings","scale":"2x"},{"size":"29x29","idiom":"watch","filename":"icon-29@3x.png","role":"companionSettings","scale":"3x"},{"size":"40x40","idiom":"watch","filename":"icon-40@2x.png","scale":"2x","role":"appLauncher","subtype":"38mm"},{"size":"44x44","idiom":"watch","filename":"icon-44@2x.png","scale":"2x","role":"appLauncher","subtype":"40mm"},{"size":"50x50","idiom":"watch","filename":"icon-50@2x.png","scale":"2x","role":"appLauncher","subtype":"44mm"},{"size":"86x86","idiom":"watch","filename":"icon-86@2x.png","scale":"2x","role":"quickLook","subtype":"38mm"},{"size":"98x98","idiom":"watch","filename":"icon-98@2x.png","scale":"2x","role":"quickLook","subtype":"42mm"},{"size":"108x108","idiom":"watch","scale":"2x","role":"quickLook","subtype":"44mm"},{"size":"1024x1024","idiom":"watch-marketing","filename":"icon-1024.png","scale":"1x"}],"info":{"version":1,"author":"xcode"}}

BIN
icon/iOS/AppIcon.appiconset/icon-1024.png View File


BIN
icon/iOS/AppIcon.appiconset/icon-20.png View File


BIN
icon/iOS/AppIcon.appiconset/icon-20@2x.png View File


BIN
icon/iOS/AppIcon.appiconset/icon-20@3x.png View File


BIN
icon/iOS/AppIcon.appiconset/icon-24@2x.png View File


BIN
icon/iOS/AppIcon.appiconset/icon-27.5@2x.png View File


BIN
icon/iOS/AppIcon.appiconset/icon-29.png View File


BIN
icon/iOS/AppIcon.appiconset/icon-29@2x.png View File


BIN
icon/iOS/AppIcon.appiconset/icon-29@3x.png View File


BIN
icon/iOS/AppIcon.appiconset/icon-40.png View File


BIN
icon/iOS/AppIcon.appiconset/icon-40@2x.png View File


BIN
icon/iOS/AppIcon.appiconset/icon-44@2x.png View File


BIN
icon/iOS/AppIcon.appiconset/icon-50.png View File


BIN
icon/iOS/AppIcon.appiconset/icon-50@2x.png View File


BIN
icon/iOS/AppIcon.appiconset/icon-60@2x.png View File


BIN
icon/iOS/AppIcon.appiconset/icon-60@3x.png View File


BIN
icon/iOS/AppIcon.appiconset/icon-72.png View File


BIN
icon/iOS/AppIcon.appiconset/icon-72@2x.png View File


BIN
icon/iOS/AppIcon.appiconset/icon-76.png View File


BIN
icon/iOS/AppIcon.appiconset/icon-76@2x.png View File


BIN
icon/iOS/AppIcon.appiconset/icon-83.5@2x.png View File


BIN
icon/iOS/AppIcon.appiconset/icon-86@2x.png View File


BIN
icon/iOS/AppIcon.appiconset/icon-98@2x.png View File


BIN
icon/iOS/AppIcon.appiconset/icon.png View File


BIN
icon/iOS/AppIcon.appiconset/icon@2x.png View File


BIN
platforms/android/app/src/main/assets/www/.index.html.swp View File


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


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


BIN
platforms/android/app/src/main/assets/www/img/culturalpr1800x3200-2-01.png View File


BIN
platforms/android/app/src/main/assets/www/img/logo_cdcc.png View File


+ 95
- 28
platforms/android/app/src/main/assets/www/index.html View File

86
                 <ons-card id="azar"><!--style="height: 100%"-->
86
                 <ons-card id="azar"><!--style="height: 100%"-->
87
 
87
 
88
                     <!--<div class="title" id="Title"></div>-->
88
                     <!--<div class="title" id="Title"></div>-->
89
-                    <div id="image"></div><br>
89
+                    <div id="image" style= "max-height:500px"></div><br>
90
                     <div class="content" id="Content"></div>
90
                     <div class="content" id="Content"></div>
91
                     <!--This javascript will randomly choose an image and information of a certain type of artesania used by a certain artists-->
91
                     <!--This javascript will randomly choose an image and information of a certain type of artesania used by a certain artists-->
92
                     <!--For now all this information is stored inside a .csv file-->
92
                     <!--For now all this information is stored inside a .csv file-->
259
                             //'title':'${Artesano.Nombre}','esp': '${info}'
259
                             //'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)
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
                             //And puts this into the 'item' variable
261
                             //And puts this into the 'item' variable
262
+<<<<<<< HEAD
262
                             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>
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>
266
+>>>>>>> 37c3d6cd46f4836cbf2145a6b7b02f3478ec5a4c
263
                         <div class="title">${Artesano.Nombre}</div>
267
                         <div class="title">${Artesano.Nombre}</div>
264
                     </ons-list-item>`);
268
                     </ons-list-item>`);
265
 
269
 
367
 
371
 
368
                                  //if(Esp[num] in artesanos_json.) {}
372
                                  //if(Esp[num] in artesanos_json.) {}
369
                                  Artesanos+=`${results[i].Nombre}|`
373
                                  Artesanos+=`${results[i].Nombre}|`
374
+<<<<<<< HEAD
370
                                  ArtesanosInfo+=`${results[i].Municipio}|${results[i]["Telefono 1"]}|${results[i]["Email"]}|${results[i].Especificacion}&&`
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"]}&&`
378
+>>>>>>> 37c3d6cd46f4836cbf2145a6b7b02f3478ec5a4c
371
                                  //`<a id='home.html'>${Artesania.artesano} | ${Artesania.municipio}</a> `
379
                                  //`<a id='home.html'>${Artesania.artesano} | ${Artesania.municipio}</a> `
372
                              }
380
                              }
373
 
381
 
398
                                      tel = lot[1],
406
                                      tel = lot[1],
399
                                      email = lot[2],
407
                                      email = lot[2],
400
                                      esp = lot[3],
408
                                      esp = lot[3],
401
-                                     redes = lot[4];
409
+                                     redes = lot[4],
410
+                                     tecnicas = lot[5];
402
 
411
 
403
-                                 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>`;
412
+                                 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>`;
404
                              }
413
                              }
405
 
414
 
406
                              if (Artesania.name == "Figuras y simbolos indigenas") {
415
                              if (Artesania.name == "Figuras y simbolos indigenas") {
531
                     The third searchbar is to find by the municipio where the artists works or lives
540
                     The third searchbar is to find by the municipio where the artists works or lives
532
                 -->
541
                 -->
533
                 <p style="text-align: center; margin-top: 10px;">
542
                 <p style="text-align: center; margin-top: 10px;">
534
-                    <ons-search-input placeholder="Busqueda en cualquiera" id = "searchbar"
535
-                        onkeyup = "filter()"></ons-search-input>
536
-                    <ons-search-input placeholder="Busqueda por artesanias" id = "searchartesania"
537
-                        onkeyup = "filter()"></ons-search-input>
538
-                    <ons-search-input placeholder = "Busqueda por municipio" id = "searchbarmunicipio"
539
-                        onkeyup = "filter()"></ons-search-input>
543
+                    <ons-search-input placeholder="Búsqueda con cualquier término" id = "searchbar"
544
+                        onkeyup = "filter()" style = "width: 300px;" ></ons-search-input>
545
+                    <ons-search-input placeholder="Búsqueda por artesanias" id = "searchartesania"
546
+                        onkeyup = "filter()" style = "width: 300px;"></ons-search-input>
547
+                    <ons-search-input placeholder = "Búsqueda por municipio" id = "searchbarmunicipio"
548
+                        onkeyup = "filter()" style = "width: 300px;"></ons-search-input>
540
                 </p>
549
                 </p>
541
 
550
 
542
                 <ons-list id="results" src="">
551
                 <ons-list id="results" src="">
547
                     //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.
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.
548
                     for (i = 0; i < all_artesanos.length;i++){
557
                     for (i = 0; i < all_artesanos.length;i++){
549
                         var artesano = ons.createElement(`<ons-list-item class = "artists"
558
                         var artesano = ons.createElement(`<ons-list-item class = "artists"
559
+<<<<<<< HEAD
550
                         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>
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>
563
+>>>>>>> 37c3d6cd46f4836cbf2145a6b7b02f3478ec5a4c
551
                         <div>${all_artesanos[i].Nombre}</div>
564
                         <div>${all_artesanos[i].Nombre}</div>
552
                     </ons-list-item>`);
565
                     </ons-list-item>`);
553
                         document.getElementById('results').appendChild(artesano);
566
                         document.getElementById('results').appendChild(artesano);
581
                             tel = this.data.tel,
594
                             tel = this.data.tel,
582
                             em = this.data.email,
595
                             em = this.data.email,
583
                             esp = this.data.esp,
596
                             esp = this.data.esp,
584
-                            redes = this.data.redes;
597
+                            redes = this.data.redes,
598
+                            tecnicas = this.data.tecnicas;
585
 
599
 
586
                         //here the email is the string made from the start to where the '#' is.
600
                         //here the email is the string made from the start to where the '#' is.
587
                         email = em.slice(0, em.search("#"));
601
                         email = em.slice(0, em.search("#"));
592
                         if(esp.trim() != ""){
606
                         if(esp.trim() != ""){
593
                             if(esp.includes(";", 0)){
607
                             if(esp.includes(";", 0)){
594
                                 esp=esp.replace(/;/g,", ");
608
                                 esp=esp.replace(/;/g,", ");
595
-                                data+='Tipos de artesanias: '+esp+'<br>';
609
+                                data+='Tipos de artesanías: '+esp+'<br>';
596
                             }
610
                             }
597
                             else {
611
                             else {
598
-                                data+='Tipo de artesania: '+esp+'<br>';
612
+                                data+='Tipo de artesanía: '+esp+'<br>';
599
                             }
613
                             }
600
                         }
614
                         }
601
 
615
 
616
+                        if(tecnicas.trim() != ''){
617
+                            if(tecnicas.includes(";", 0)){
618
+                                tecnicas = tecnicas.replace(/;/g,", ");
619
+                                data+='Técnicas que usan: '+tecnicas+'<br>';
620
+                            }
621
+                            else {
622
+                                data+='Técnicas que usan: '+tecnicas+'<br>';
623
+                            }
624
+                        }
602
                         //console.log("Las redes son..."+this.data.redes);
625
                         //console.log("Las redes son..."+this.data.redes);
603
                         //Here it's making sure theres something in municipio and writing their municipio into the page
626
                         //Here it's making sure theres something in municipio and writing their municipio into the page
604
                         if(mun.trim() != ""){
627
                         if(mun.trim() != ""){
718
                     <script type="text/javascript" src="calendar_files/js/events.js"></script>
741
                     <script type="text/javascript" src="calendar_files/js/events.js"></script>
719
                 </div>
742
                 </div>
720
 
743
 
744
+<<<<<<< HEAD
721
                 </ons-card>-->
745
                 </ons-card>-->
722
                 <br><br><br>
746
                 <br><br><br>
723
                 <button onclick="redirect()">Pasar a la pagina de eventos</button>
747
                 <button onclick="redirect()">Pasar a la pagina de eventos</button>
748
+=======
749
+                </ons-card>--
750
+                <br><br><br>-->
751
+                <ons-card>
752
+                <div id="logo" style="text-align: center">
753
+                    <img src="img/culturalpr1800x3200-2-01.png" style="width:150px;height:100px">
754
+                </div>
755
+                <br><br>
756
+                <div id="button" style="text-align: center">
757
+                <button onclick="redirect()">Pasar a la página de eventos</button>
758
+                </div>
759
+                <br><br>
760
+                <div id="Mensaje">
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.
762
+                </div>
763
+                </ons-card>
764
+>>>>>>> 37c3d6cd46f4836cbf2145a6b7b02f3478ec5a4c
724
 
765
 
725
               <script>
766
               <script>
726
               function redirect() {
767
               function redirect() {
737
                 <ons-card>
778
                 <ons-card>
738
 
779
 
739
                     <h1>Colaboradores</h1>
780
                     <h1>Colaboradores</h1>
740
-                    <h2>Instituto de Cultura Puertorriqueña</h2>
741
-                    <h3>Ven, descubre lo que nuestra riqueza cultural puertorriqueña tiene para tí.<br> Disfrútala, es tu identidad.
742
-                    </h3>
743
-
744
-
745
-                    <body>
746
-                        <br>
747
-                        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.
748
-                        <br><br>
749
-                        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.
781
+                    
782
+                    <style>
783
+                        .column {
784
+                            float: left;
785
+                            width: 50%;
786
+                        }
787
+                        .row {
788
+                            width: 100%;
789
+                        }
790
+                    </style>
791
+                    <h2>SINFINESPR</h2>
792
+                    <div class = "column">
793
+                        SINFINESPR es un programa de Titín Foundation que responde a nuestro interés y compromiso con el fortalecimiento del tercer sector.
750
                         <br><br>
794
                         <br><br>
751
-                        Prof. Carlos R. Ruiz Cortés<br>
752
-                        Director Ejecutivo<br>
753
-                        Instituto de Cultura Puertorriqueña<br>
754
-                        Directorio Artesanal Cultural PR <img src="img/gobierno.png" style="width:35px;height:35px;border:0;">
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.
755
                         <br><br>
796
                         <br><br>
797
+<<<<<<< HEAD
756
                     </body>
798
                     </body>
757
                     
799
                     
758
 
800
 
761
                     <a href="https://twitter.com/icppr"><img src="img/twitter.png" alt="Twitter" style="width:35px;height:35px;border:0;">
803
                     <a href="https://twitter.com/icppr"><img src="img/twitter.png" alt="Twitter" style="width:35px;height:35px;border:0;">
762
                     </a> 
804
                     </a> 
763
                     <a href="https://facebook.com/icppr"><img src="img/facebook.png" alt="Facebook" style="width:35px;height:35px;border:0;">
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
764
                     </a>
819
                     </a>
765
-                    <a href="https://youtube.com/user/icppr"><img src="img/youtube.png" alt="Youtube" style="width:35px;height:35px;border:0;">
820
+                    <a href="https://www.linkedin.com/company/sinfinespr/"><img src="img/linkedin.png" alt="Linkedin" style="width:35px;height:35px;border:0;">
766
                     </a>
821
                     </a>
767
-                    <a href="https://instagram.com/icppr"><img src="img/instagram.png" alt="Instagram" style="width:35px;height:35px;border:0;">
822
+                    <a href="https://www.instagram.com/sinfinespr/"><img src="img/instagram.png" alt="Instagram" style="width:35px;height:35px;border:0;">
768
                     </a>
823
                     </a>
824
+<<<<<<< HEAD
769
                     
825
                     
770
                     <br><br><br>
826
                     <br><br><br>
771
                     <button onclick="redirect()">Pasar a la pagina de eventos</button>
827
                     <button onclick="redirect()">Pasar a la pagina de eventos</button>
813
                     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.
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.
814
                     <br><br>
870
                     <br><br>
815
                     Si tiene alguna duda nos puede conactar por:
871
                     Si tiene alguna duda nos puede conactar por:
872
+=======
873
+                    <br><br>
874
+                    <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.
876
+                    <br><br>
877
+                    
878
+                    <img src="img/logo_cdcc.png" style="width: 150px; height: 100px">
879
+                    
880
+                    <br><br>
881
+                    Si tiene alguna duda nos puede contactar por:
882
+>>>>>>> 37c3d6cd46f4836cbf2145a6b7b02f3478ec5a4c
816
                     <br>
883
                     <br>
817
                     Teléfono: 787-764-0000 Ext. 88341, 88349
884
                     Teléfono: 787-764-0000 Ext. 88341, 88349
818
                     <br>
885
                     <br>

+ 5
- 1
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
9
 document.getElementById("image").innerHTML = `<img src="img/${aleatorio}.jpg" width="100%" height="300">`;
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">`;
13
+>>>>>>> 37c3d6cd46f4836cbf2145a6b7b02f3478ec5a4c
10
 document.getElementById("Content").innerHTML = "<h4>" + data[aleatorio].titulo + "</h4>" + data[aleatorio].texto; 
14
 document.getElementById("Content").innerHTML = "<h4>" + data[aleatorio].titulo + "</h4>" + data[aleatorio].texto; 
11
 
15
 
12
 page.addEventListener("show", function(event){
16
 page.addEventListener("show", function(event){
15
     var aleatorio = Math.floor(Math.random()*32);
19
     var aleatorio = Math.floor(Math.random()*32);
16
     //var azar = document.getElementById("azar");
20
     //var azar = document.getElementById("azar");
17
     //var img = ons.createElement(`<img src="img/${aleatorio}.png">`);
21
     //var img = ons.createElement(`<img src="img/${aleatorio}.png">`);
18
-    document.getElementById("image").innerHTML = `<img src="img/${aleatorio}.jpg" width="100%" height="300">`;
22
+    document.getElementById("image").innerHTML = `<img src="img/${aleatorio}.jpg" width="100%" height="auto">`;
19
     //document.getElementById("Title").innerHTML = data[aleatorio].Renglones;
23
     //document.getElementById("Title").innerHTML = data[aleatorio].Renglones;
20
     document.getElementById("Content").innerHTML = "<h4>" + data[aleatorio].titulo + "</h4>" + data[aleatorio].texto;
24
     document.getElementById("Content").innerHTML = "<h4>" + data[aleatorio].titulo + "</h4>" + data[aleatorio].texto;
21
     //azar.appendChild(img);
25
     //azar.appendChild(img);

+ 25
- 1
platforms/android/app/src/main/assets/www/js/searchfunctions.js View File

53
             x[i].style.display = "list-item";
53
             x[i].style.display = "list-item";
54
             continue;
54
             continue;
55
         }
55
         }
56
+        else if (find_tecnicas(i,input)){
57
+            x[i].style.display = "list-item";
58
+            continue;
59
+        }
56
         else if (find_artesania(i,input)){
60
         else if (find_artesania(i,input)){
57
             x[i].style.display = "list-item";
61
             x[i].style.display = "list-item";
58
             continue;
62
             continue;
76
 //Te trata de buscar si cualquiera de ellos tienen el input que se dio aplica a ese artista especifico (i)
80
 //Te trata de buscar si cualquiera de ellos tienen el input que se dio aplica a ese artista especifico (i)
77
 function find_any(i,input){
81
 function find_any(i,input){
78
     //if you find any of these in that space then return 1 if you didnt find that anything matched with the input then return 0
82
     //if you find any of these in that space then return 1 if you didnt find that anything matched with the input then return 0
79
-    if (find_name(i,input) || find_telefono(i,input) || find_email(i,input) || find_artesania(i,input) || find_municipio(i,input)){
83
+    if (find_tecnicas(i,input) || find_name(i,input) || find_telefono(i,input) || find_email(i,input) || find_artesania(i,input) || find_municipio(i,input)){
80
         return 1;
84
         return 1;
81
     }
85
     }
82
     else{
86
     else{
117
     return 0;
121
     return 0;
118
 }
122
 }
119
 
123
 
124
+
125
+function find_tecnicas(i,input){
126
+    var tecnicas = all_artesanos[i]["Tecnica 1"];
127
+    tecnicas = tecnicas.trim().toLowerCase();
128
+    tecnicas = acento_replace(tecnicas);
129
+    if(tecnicas.search(input) != -1){
130
+        return 1;
131
+    }
132
+    //artesanias = artesanias.split(',');
133
+    //for (var j = 0; j < artesanias.length; j++){
134
+        //var artesania = artesanias[j];
135
+        //artesania = artesania.trim().toLowerCase();
136
+        //artesania = acento_replace(artesania);
137
+        //if (artesania.search(input) != -1){
138
+            //return 1;
139
+        //}
140
+    //}
141
+    return 0;
142
+}
143
+
120
 //trata de ver si el input es parte del municipio del artista i
144
 //trata de ver si el input es parte del municipio del artista i
121
 //Mayuscula y acento proof
145
 //Mayuscula y acento proof
122
 function find_municipio(i,input){
146
 function find_municipio(i,input){

BIN
platforms/android/app/src/main/res/mipmap-hdpi-v26/ic_launcher_background.png View File


BIN
platforms/android/app/src/main/res/mipmap-hdpi-v26/ic_launcher_foreground.png View File


BIN
platforms/android/app/src/main/res/mipmap-hdpi/ic_launcher.png View File


BIN
platforms/android/app/src/main/res/mipmap-ldpi-v26/ic_launcher_background.png View File


BIN
platforms/android/app/src/main/res/mipmap-ldpi-v26/ic_launcher_foreground.png View File


BIN
platforms/android/app/src/main/res/mipmap-ldpi/ic_launcher.png View File


BIN
platforms/android/app/src/main/res/mipmap-mdpi-v26/ic_launcher_background.png View File


BIN
platforms/android/app/src/main/res/mipmap-mdpi-v26/ic_launcher_foreground.png View File


BIN
platforms/android/app/src/main/res/mipmap-mdpi/ic_launcher.png View File


BIN
platforms/android/app/src/main/res/mipmap-xhdpi-v26/ic_launcher_foreground.png View File


BIN
platforms/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png View File


BIN
platforms/android/app/src/main/res/mipmap-xxhdpi-v26/ic_launcher_background.png View File


BIN
platforms/android/app/src/main/res/mipmap-xxhdpi-v26/ic_launcher_foreground.png View File


BIN
platforms/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png View File


BIN
platforms/android/app/src/main/res/mipmap-xxxhdpi-v26/ic_launcher_background.png View File


BIN
platforms/android/app/src/main/res/mipmap-xxxhdpi-v26/ic_launcher_foreground.png View File


BIN
platforms/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png View File


+ 6
- 0
platforms/android/app/src/main/res/xml/config.xml View File

21
     <allow-intent href="file://*" />
21
     <allow-intent href="file://*" />
22
     <allow-intent href="mailto:*" />
22
     <allow-intent href="mailto:*" />
23
     <allow-intent href="geo:*" />
23
     <allow-intent href="geo:*" />
24
+    <icon background="icon/android/mipmap-ldpi-v26/ic_launcher_background.png" density="ldpi" foreground="icon/android/mipmap-ldpi-v26/ic_launcher_foreground.png" />
25
+    <icon background="icon/android/mipmap-mdpi-v26/ic_launcher_background.png" density="mdpi" foreground="icon/android/mipmap-mdpi-v26/ic_launcher_foreground.png" />
26
+    <icon background="icon/android/mipmap-hdpi-v26/ic_launcher_background.png" density="hdpi" foreground="icon/android/mipmap-hdpi-v26/ic_launcher_foreground.png" />
27
+    <icon background="icon/android/mipmap-xhdpi-v26/ic_launcher_background.png" density="xhdpi" foreground="icon/android/mipmap-xhdpi-v26/ic_launcher_foreground.png" />
28
+    <icon background="icon/android/mipmap-xxhdpi-v26/ic_launcher_background.png" density="xxhdpi" foreground="icon/android/mipmap-xxhdpi-v26/ic_launcher_foreground.png" />
29
+    <icon background="icon/android/mipmap-xxxhdpi-v26/ic_launcher_background.png" density="xxxhdpi" foreground="icon/android/mipmap-xxxhdpi-v26/ic_launcher_foreground.png" />
24
     <preference name="loglevel" value="DEBUG" />
30
     <preference name="loglevel" value="DEBUG" />
25
 </widget>
31
 </widget>

BIN
platforms/browser/www/.index.html.swp View File


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


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


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


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


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


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


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


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


BIN
platforms/browser/www/img/MÁSCARAS.jpg View File


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


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


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


BIN
platforms/browser/www/img/culturalpr1800x3200-2-01.png View File


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


+ 65
- 32
platforms/browser/www/index.html View File

86
                 <ons-card id="azar"><!--style="height: 100%"-->
86
                 <ons-card id="azar"><!--style="height: 100%"-->
87
 
87
 
88
                     <!--<div class="title" id="Title"></div>-->
88
                     <!--<div class="title" id="Title"></div>-->
89
-                    <div id="image"></div><br>
89
+                    <div id="image" style= "max-height:500px"></div><br>
90
                     <div class="content" id="Content"></div>
90
                     <div class="content" id="Content"></div>
91
                     <!--This javascript will randomly choose an image and information of a certain type of artesania used by a certain artists-->
91
                     <!--This javascript will randomly choose an image and information of a certain type of artesania used by a certain artists-->
92
                     <!--For now all this information is stored inside a .csv file-->
92
                     <!--For now all this information is stored inside a .csv file-->
260
                             //'title':'${Artesano.Nombre}','esp': '${info}'
260
                             //'title':'${Artesano.Nombre}','esp': '${info}'
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
                             //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
                             //And puts this into the 'item' variable
262
                             //And puts this into the 'item' variable
263
+<<<<<<< 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
                             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
+                            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
264
                         <div class="title">${Artesano.Nombre}</div>
268
                         <div class="title">${Artesano.Nombre}</div>
265
                     </ons-list-item>`);
269
                     </ons-list-item>`);
266
 
270
 
369
                                  //if(Esp[num] in artesanos_json.) {}
373
                                  //if(Esp[num] in artesanos_json.) {}
370
                                  results[i].Nombre = results[i].Nombre + " " + results[i]["Apellido Paterno"] + " " + results[i]["Apellido Materno"]
374
                                  results[i].Nombre = results[i].Nombre + " " + results[i]["Apellido Paterno"] + " " + results[i]["Apellido Materno"]
371
                                  Artesanos+=`${results[i].Nombre}|`
375
                                  Artesanos+=`${results[i].Nombre}|`
376
+<<<<<<< HEAD
372
                                  ArtesanosInfo+=`${results[i].Municipio}|${results[i]["Telefono 1"]}|${results[i]["Email"]}|${results[i].Especificacion}&&`
377
                                  ArtesanosInfo+=`${results[i].Municipio}|${results[i]["Telefono 1"]}|${results[i]["Email"]}|${results[i].Especificacion}&&`
378
+=======
379
+                                 ArtesanosInfo+=`${results[i].Municipio}|${results[i]["Telefono 1"]}|${results[i]["E-mail"]}|${results[i].Especificacion}|${results[i]["Tecnica 1"]}&&`
380
+>>>>>>> 37c3d6cd46f4836cbf2145a6b7b02f3478ec5a4c
373
                                  //`<a id='home.html'>${Artesania.artesano} | ${Artesania.municipio}</a> `
381
                                  //`<a id='home.html'>${Artesania.artesano} | ${Artesania.municipio}</a> `
374
                              }
382
                              }
375
 
383
 
400
                                      tel = lot[1],
408
                                      tel = lot[1],
401
                                      email = lot[2],
409
                                      email = lot[2],
402
                                      esp = lot[3],
410
                                      esp = lot[3],
403
-                                     redes = lot[4];
411
+                                     redes = lot[4],
412
+                                     tecnicas = lot[5];
404
 
413
 
414
+<<<<<<< HEAD
405
                                  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>`;
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>`;
406
                                  console.log(listaArt)
416
                                  console.log(listaArt)
417
+=======
418
+                                 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
407
                              }
420
                              }
408
 
421
 
409
                              if (Artesania.name == "Figuras y simbolos indigenas") {
422
                              if (Artesania.name == "Figuras y simbolos indigenas") {
534
                     The third searchbar is to find by the municipio where the artists works or lives
547
                     The third searchbar is to find by the municipio where the artists works or lives
535
                 -->
548
                 -->
536
                 <p style="text-align: center; margin-top: 10px;">
549
                 <p style="text-align: center; margin-top: 10px;">
537
-                    <ons-search-input placeholder="Busqueda en cualquiera" id = "searchbar"
538
-                        onkeyup = "filter()"></ons-search-input>
539
-                    <ons-search-input placeholder="Busqueda por artesanias" id = "searchartesania"
540
-                        onkeyup = "filter()"></ons-search-input>
541
-                    <ons-search-input placeholder = "Busqueda por municipio" id = "searchbarmunicipio"
542
-                        onkeyup = "filter()"></ons-search-input>
550
+                    <ons-search-input placeholder="Búsqueda con cualquier término" id = "searchbar"
551
+                        onkeyup = "filter()" style = "width: 300px;" ></ons-search-input>
552
+                    <ons-search-input placeholder="Búsqueda por artesanias" id = "searchartesania"
553
+                        onkeyup = "filter()" style = "width: 300px;"></ons-search-input>
554
+                    <ons-search-input placeholder = "Búsqueda por municipio" id = "searchbarmunicipio"
555
+                        onkeyup = "filter()" style = "width: 300px;"></ons-search-input>
543
                 </p>
556
                 </p>
544
 
557
 
545
                 <ons-list id="results" src="">
558
                 <ons-list id="results" src="">
551
                     for (i = 0; i < all_artesanos.length;i++){
564
                     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"];
565
                         all_artesanos[i].Nombre = all_artesanos[i].Nombre +  " " + all_artesanos[i]["Apellido Paterno"] + " " + all_artesanos[i]["Apellido Materno"];
553
                         var artesano = ons.createElement(`<ons-list-item class = "artists"
566
                         var artesano = ons.createElement(`<ons-list-item class = "artists"
567
+<<<<<<< HEAD
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]["Email"]}', esp: '${all_artesanos[i].Especificacion}', redes: '${all_artesanos[i]["E-Commerce 1"]}' } })" tappable>
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
+                        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
555
                         <div>${all_artesanos[i].Nombre}</div>
572
                         <div>${all_artesanos[i].Nombre}</div>
556
                     </ons-list-item>`);
573
                     </ons-list-item>`);
557
                         document.getElementById('results').appendChild(artesano);
574
                         document.getElementById('results').appendChild(artesano);
585
                             tel = this.data.tel,
602
                             tel = this.data.tel,
586
                             em = this.data.email,
603
                             em = this.data.email,
587
                             esp = this.data.esp,
604
                             esp = this.data.esp,
605
+<<<<<<< HEAD
588
                             redes = this.data.redes;
606
                             redes = this.data.redes;
589
                     
607
                     
608
+=======
609
+                            redes = this.data.redes,
610
+                            tecnicas = this.data.tecnicas;
611
+>>>>>>> 37c3d6cd46f4836cbf2145a6b7b02f3478ec5a4c
590
 
612
 
591
                         //here the email is the string made from the start to where the '#' is.
613
                         //here the email is the string made from the start to where the '#' is.
592
                         
614
                         
597
                         if(esp.trim() != ""){
619
                         if(esp.trim() != ""){
598
                             if(esp.includes(";", 0)){
620
                             if(esp.includes(";", 0)){
599
                                 esp=esp.replace(/;/g,", ");
621
                                 esp=esp.replace(/;/g,", ");
600
-                                data+='Tipos de artesanias: '+esp+'<br>';
622
+                                data+='Tipos de artesanías: '+esp+'<br>';
601
                             }
623
                             }
602
                             else {
624
                             else {
603
-                                data+='Tipo de artesania: '+esp+'<br>';
625
+                                data+='Tipo de artesanía: '+esp+'<br>';
604
                             }
626
                             }
605
                         }
627
                         }
606
 
628
 
629
+                        if(tecnicas.trim() != ''){
630
+                            if(tecnicas.includes(";", 0)){
631
+                                tecnicas = tecnicas.replace(/;/g,", ");
632
+                                data+='Técnicas que usan: '+tecnicas+'<br>';
633
+                            }
634
+                            else {
635
+                                data+='Técnicas que usan: '+tecnicas+'<br>';
636
+                            }
637
+                        }
607
                         //console.log("Las redes son..."+this.data.redes);
638
                         //console.log("Las redes son..."+this.data.redes);
608
                         //Here it's making sure theres something in municipio and writing their municipio into the page
639
                         //Here it's making sure theres something in municipio and writing their municipio into the page
609
                         if(mun.trim() != ""){
640
                         if(mun.trim() != ""){
723
                     <script type="text/javascript" src="calendar_files/js/events.js"></script>
754
                     <script type="text/javascript" src="calendar_files/js/events.js"></script>
724
                 </div>
755
                 </div>
725
 
756
 
726
-                </ons-card>-->
727
-                <br><br><br>
728
-                <button onclick="redirect()">Pasar a la pagina de eventos</button>
757
+                </ons-card>--
758
+                <br><br><br>-->
759
+                <ons-card>
760
+                <div id="logo" style="text-align: center">
761
+                    <img src="img/culturalpr1800x3200-2-01.png" style="width:150px;height:100px">
762
+                </div>
763
+                <br><br>
764
+                <div id="button" style="text-align: center">
765
+                <button onclick="redirect()">Pasar a la página de eventos</button>
766
+                </div>
767
+                <br><br>
768
+                <div id="Mensaje">
769
+                    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.
770
+                </div>
771
+                </ons-card>
729
 
772
 
730
               <script>
773
               <script>
731
               function redirect() {
774
               function redirect() {
742
                 <ons-card>
785
                 <ons-card>
743
 
786
 
744
                     <h1>Colaboradores</h1>
787
                     <h1>Colaboradores</h1>
745
-                    <h2>Instituto de Cultura Puertorriqueña</h2>
746
-                    <h3>Ven, descubre lo que nuestra riqueza cultural puertorriqueña tiene para tí.<br> Disfrútala, es tu identidad.
747
-                    </h3>
748
-
749
-
750
-                    <body>
751
-                        <br>
752
-                        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.
753
-                        <br><br>
754
-                        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.
755
-                        <br><br>
756
-                        Prof. Carlos R. Ruiz Cortés<br>
757
-                        Director Ejecutivo<br>
758
-                        Instituto de Cultura Puertorriqueña<br>
759
-                        Directorio Artesanal Cultural PR <img src="img/gobierno.png" style="width:35px;height:35px;border:0;">
760
-                        <br><br>
761
-                    </body>
762
                     
788
                     
789
+<<<<<<< HEAD
763
 
790
 
764
 
791
 
765
                     Visita nuestra <a href="https://www.icp.pr.gov/">Página Web</a> o síguenos en nuestras redes sociales: <br> <br> 
792
                     Visita nuestra <a href="https://www.icp.pr.gov/">Página Web</a> o síguenos en nuestras redes sociales: <br> <br> 
782
                     </script>
809
                     </script>
783
                     
810
                     
784
                     <br><br>
811
                     <br><br>
812
+=======
813
+>>>>>>> 37c3d6cd46f4836cbf2145a6b7b02f3478ec5a4c
785
                     <style>
814
                     <style>
786
                         .column {
815
                         .column {
787
                             float: left;
816
                             float: left;
814
                     <a href="https://www.instagram.com/sinfinespr/"><img src="img/instagram.png" alt="Instagram" style="width:35px;height:35px;border:0;">
843
                     <a href="https://www.instagram.com/sinfinespr/"><img src="img/instagram.png" alt="Instagram" style="width:35px;height:35px;border:0;">
815
                     </a>
844
                     </a>
816
                     <br><br>
845
                     <br><br>
817
-                    <h2>Centro de Desarrollo y Consultoria Computacional</h2>
846
+                    <h2>Centro de Desarrollo y Consultoría Computacional</h2>
818
                     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.
847
                     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.
819
                     <br><br>
848
                     <br><br>
820
-                    Si tiene alguna duda nos puede conactar por:
849
+                    
850
+                    <img src="img/logo_cdcc.png" style="width: 150px; height: 100px">
851
+                    
852
+                    <br><br>
853
+                    Si tiene alguna duda nos puede contactar por:
821
                     <br>
854
                     <br>
822
                     Teléfono: 787-764-0000 Ext. 88341, 88349
855
                     Teléfono: 787-764-0000 Ext. 88341, 88349
823
                     <br>
856
                     <br>

+ 2
- 2
platforms/browser/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
-document.getElementById("image").innerHTML = `<img src="img/${aleatorio}.jpg" width="100%" height="300">`;
9
+document.getElementById("image").innerHTML = `<img src="img/${aleatorio}.jpg" width="100%" height="auto">`;
10
 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; 
11
 
11
 
12
 page.addEventListener("show", function(event){
12
 page.addEventListener("show", function(event){
15
     var aleatorio = Math.floor(Math.random()*32);
15
     var aleatorio = Math.floor(Math.random()*32);
16
     //var azar = document.getElementById("azar");
16
     //var azar = document.getElementById("azar");
17
     //var img = ons.createElement(`<img src="img/${aleatorio}.png">`);
17
     //var img = ons.createElement(`<img src="img/${aleatorio}.png">`);
18
-    document.getElementById("image").innerHTML = `<img src="img/${aleatorio}.jpg" width="100%" height="300">`;
18
+    document.getElementById("image").innerHTML = `<img src="img/${aleatorio}.jpg" width="100%" height="auto">`;
19
     //document.getElementById("Title").innerHTML = data[aleatorio].Renglones;
19
     //document.getElementById("Title").innerHTML = data[aleatorio].Renglones;
20
     document.getElementById("Content").innerHTML = "<h4>" + data[aleatorio].titulo + "</h4>" + data[aleatorio].texto;
20
     document.getElementById("Content").innerHTML = "<h4>" + data[aleatorio].titulo + "</h4>" + data[aleatorio].texto;
21
     //azar.appendChild(img);
21
     //azar.appendChild(img);

+ 25
- 1
platforms/browser/www/js/searchfunctions.js View File

53
             x[i].style.display = "list-item";
53
             x[i].style.display = "list-item";
54
             continue;
54
             continue;
55
         }
55
         }
56
+        else if (find_tecnicas(i,input)){
57
+            x[i].style.display = "list-item";
58
+            continue;
59
+        }
56
         else if (find_artesania(i,input)){
60
         else if (find_artesania(i,input)){
57
             x[i].style.display = "list-item";
61
             x[i].style.display = "list-item";
58
             continue;
62
             continue;
76
 //Te trata de buscar si cualquiera de ellos tienen el input que se dio aplica a ese artista especifico (i)
80
 //Te trata de buscar si cualquiera de ellos tienen el input que se dio aplica a ese artista especifico (i)
77
 function find_any(i,input){
81
 function find_any(i,input){
78
     //if you find any of these in that space then return 1 if you didnt find that anything matched with the input then return 0
82
     //if you find any of these in that space then return 1 if you didnt find that anything matched with the input then return 0
79
-    if (find_name(i,input) || find_telefono(i,input) || find_email(i,input) || find_artesania(i,input) || find_municipio(i,input)){
83
+    if (find_tecnicas(i,input) || find_name(i,input) || find_telefono(i,input) || find_email(i,input) || find_artesania(i,input) || find_municipio(i,input)){
80
         return 1;
84
         return 1;
81
     }
85
     }
82
     else{
86
     else{
117
     return 0;
121
     return 0;
118
 }
122
 }
119
 
123
 
124
+
125
+function find_tecnicas(i,input){
126
+    var tecnicas = all_artesanos[i]["Tecnica 1"];
127
+    tecnicas = tecnicas.trim().toLowerCase();
128
+    tecnicas = acento_replace(tecnicas);
129
+    if(tecnicas.search(input) != -1){
130
+        return 1;
131
+    }
132
+    //artesanias = artesanias.split(',');
133
+    //for (var j = 0; j < artesanias.length; j++){
134
+        //var artesania = artesanias[j];
135
+        //artesania = artesania.trim().toLowerCase();
136
+        //artesania = acento_replace(artesania);
137
+        //if (artesania.search(input) != -1){
138
+            //return 1;
139
+        //}
140
+    //}
141
+    return 0;
142
+}
143
+
120
 //trata de ver si el input es parte del municipio del artista i
144
 //trata de ver si el input es parte del municipio del artista i
121
 //Mayuscula y acento proof
145
 //Mayuscula y acento proof
122
 function find_municipio(i,input){
146
 function find_municipio(i,input){

BIN
www/.index.html.swp View File


BIN
www/img/BARRO.jpg View File


BIN
www/img/CRISTAL.jpg View File


BIN
www/img/CUERO.jpg View File


BIN
www/img/FIBRAS.jpg View File


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


BIN
www/img/JUGUETES TRADICIONALES.jpg View File


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


+ 0
- 0
www/img/METAL.jpg View File


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