-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
459 lines (394 loc) · 20.4 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
<!-- index.html -->
<!DOCTYPE html>
<!-- define angular app -->
<html class="centered-wrapper" ng-app="main_app" ng-controller="main_controller">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="HandheldFriendly" content="true">
<head>
<title>PiedrasBlancas.com.uy</title>
<link rel="icon" href="fav_icon.png">
<link rel="stylesheet" href="styles/bootstrap.min.css" />
<link rel="stylesheet" href="font-awesome-4.7.0/css/font-awesome.min.css" />
<link rel="stylesheet" href="styles/ng-table.min.css">
<link rel="stylesheet" href="styles/style.css" />
<script src="js/angular.min.js"></script>
<script src="js/ng-table.min.js"></script>
<script src="js/angular-local-storage.min.js"></script>
<script src="js/angular-socialshare.js"></script>
<script src="js/ngGeolocation.min.js"></script>
<script src="js/script.js"></script>
</head>
<body class="centered-content" >
<header>
<div class="div_titulo_principal" >
<span class="titulo_principal" ><font color="white" ><b></i> PiedrasBlancas.com.uy </b></font></span>
</div>
<div id="div_navegacion" ng-show="activar_navegacion" >
<button type="button" class="boton_navegacin" ng-click="display_main();" >Guia de Lugares</button>
<button type="button" class="boton_navegacin" ng-click="display_horoscopo();" >Horoscopo Semanal</button>
<button type="button" class="boton_navegacin" ng-click="display_trabajo_ofrecido();">Trabajo Ofrecido</button>
<div class="div_mostrar_navegacion" ng-click="activar_navegacion = ( ! activar_navegacion )" >
<button type="button" id="mostrar_navegacion" ><i class="fa fa-bars" aria-hidden="true"></i> <b>Mostrar Navegacion</b></button>
</div>
</div>
<div class="div_mostrar_navegacion" ng-show="! activar_navegacion" ng-click="activar_navegacion = ( ! activar_navegacion )" >
<button type="button" id="mostrar_navegacion" ><i class="fa fa-bars" aria-hidden="true"></i> <b>Mostrar Navegacion</b></button>
</div>
</header>
<div class="centered-content" id="main_div" ng-show="! fatal_error && show_main" >
<div class="gifs_anuncions_animados" >
<div class="gifs_anuncions_animados_1" >
<img src="icons/anunciate_aqui.gif"></img>
</div>
<div class="gifs_anuncions_animados_2" >
<img src="icons/anunciate_aqui.gif"></img>
</div>
</div>
<div class="encabezado_anuncios" >
<p><h4 id="texto_guia_de_lugares" >Guía de lugares</h4></p>
<p ng-show="total_number_of_avisos != 0" > <b> Viendo <font color="#006cd9"> {{ number_of_filtered_results }}</font> de <font color="#006cd9"> {{ total_number_of_avisos }}</font> </b></p>
</div>
<div ng-show="false" class="geo_location_div">
<div class="geo_location_buttons_div">
<button ng-click="get_user_position()" class="geo_location_buttons red_button" ><span class="button_text">¿Donde estoy? <i class="fa fa-map-marker" aria-hidden="true"></i> </span></button>
</div>
<div ng-show="show_map" class="google_maps_div" >
<p> Users_position : {{ $scope.users_position | json }}</p>
</div>
</div>
<table id="main_table" ng-table="tableParams" template-pagination="custom_pager" class="table table-condensed table-bordered table-striped" show-filter="true" >
<tr ng-repeat="aviso in $data" >
<td data-title="'Realice una busqueda introduciendo una palabra como por ejemplo panaderia o futbol...'" filter="{ 'tags': 'text'}" >
<div class="aviso_en_celda">
<div class="aviso_en_celda_informacion">
<div class="titulo_wrapper">
<p class="texto_aviso titulo_aviso"><u>{{ ::aviso.name }}</u></p>
</div>
<p class="texto_aviso info_aviso"> <span class="application_text" > Direccion : </span> <a href="https://maps.google.com/?q={{ aviso.address }}"> {{ ::aviso.address }} </a></p>
<p class="texto_aviso info_aviso" ng-repeat="phone in aviso.phones" > <span class="application_text" > Telefono {{ ($index + 1) }}:
<span> <a class="text_telefono" href="tel:{{ phone }}">{{::phone}}</a> </span> </span>
</p>
<p class="texto_aviso info_aviso" ng-show="aviso.horarios" > <span class="application_text" > Horarios : </span> {{ ::aviso.horarios }} </p>
<p class="texto_aviso info_aviso" ng-show="aviso.description" > <span class="application_text" > Descripcion : </span> {{ ::aviso.description }} </p>
</div>
<div class="aviso_en_celda_fotos">
<img class="imagen_estatica" ng-src="{{ aviso.images[aviso.current_image].src }}" imageonload="enable_buttons()()" ></img>
<button ng-disabled="! carrousel_toggle" ng-class="( carrousel_toggle) ? 'prev_image' : 'disabled_button_prev' " ng-click="prev_image(aviso)" ng-show="aviso.images.length != 1" > <i class="fa fa-arrow-left" aria-hidden="true"></i></button>
<button ng-disabled="! carrousel_toggle" ng-class="( carrousel_toggle) ? 'next_image' : 'disabled_button_next' " ng-click="next_image(aviso)" ng-show="aviso.images.length != 1" > <i class="fa fa-arrow-right" aria-hidden="true"></i></button>
<BR>
<img class="icon_social_network" src="icons/social-facebook-icon.png" href="#"
socialshare
socialshare-provider="facebook"
socialshare-text="Guia Piedras Blancas"
socialshare-hashtags="piedrasblancas, anuncio"
socialshare-url="http://piedrasblancas.com.uy/#?filtro={{aviso.name}}">
</img>
<a href="#"
socialshare
socialshare-provider="whatsapp"
socialshare-text="Guia Piedras Blancas"
socialshare-hashtags="piedrasblancas, anuncio"
socialshare-url="http://piedrasblancas.com.uy/#?filtro={{aviso.name}}">
<img class="icon_social_network" src="icons/whatsapp_share.jpg" ></img>
</a>
</div>
<div class="identificador_de_aviso">
<span class="id_json" >{{ ::aviso.id.replace('.json','') }}</span>
</div>
</div>
</td>
</tr>
</table>
</div>
<div class="main_div_horoscopo" ng-show="show_horoscopo" >
<table id="tabla_horoscopo" ng-table="tableParams_horoscopo" class="table table-condensed table-bordered table-striped" >
<thead>
</thead>
<tr ng-repeat="signo in $data" >
<td>
<div class="signo_celda">
<div class="signo_foto">
<p> {{ ::signo.nombre}} </p>
<img src="{{ signo.imagen}}" ></img>
</div>
<div class="signo_informacion">
<p class="signo_fechas" > {{ ::signo.fechas }} </p>
<p class="signo_detalles" > <span class="signo_app_detalle" > Elemento :</span>{{ ::signo.elemento }} </p>
<p class="signo_detalles" > <span class="signo_app_detalle" > Colores :</span>{{ ::signo.color }} </p>
<p class="signo_detalles" > <span class="signo_app_detalle" > Gobernado :</span>{{ ::signo.gobernado }} </p>
<p class="signo_detalles" > <span class="signo_app_detalle" > Compatibilidad :</span>{{ ::signo.compatibilidad }} </p>
<p class="signo_detalles" > <span class="signo_app_detalle" > Numeros de suerte :</span>{{ ::signo.numeros_suerte }} </p>
<div class="signo_informacion_div" >
<p> {{ ::signo.informacion }} </p>
</div>
</div>
</div>
</td>
</tr>
</table>
</div>
<div class="main_div_trabajo_ofrecido" ng-show="show_trabajo_ofrecido" >
<span class="trabajo_ofrecido_titulo" > Trabajo Ofrecido</span>
<p class="trabajo_ofrecido_subtitulo" > Trabajo ofrecido por particulares; pintores, mecanicos, carpinteros etc.</p>
<p ng-show="total_number_of_avisos != 0" > <b> Viendo <font color="#006cd9"> {{ number_of_filtered_results_t_ofrecidos }}</font> de <font color="#006cd9"> {{ total_number_of_t_ofrecidos }}</font> </b></p>
<div class="trabajos_ofrecidos_tabla">
<table id="main_table_t_ofrecidos" ng-table="tableParams_trabajos_ofrecidos" template-pagination="custom_pager" class="table table-condensed table-bordered table-striped" show-filter="true" >
<tr ng-repeat="t_ofrecido in $data" >
<td data-title="'Realice una busqueda introduciendo una palabra como por ejemplo pintor o mecanico...'" filter="{ 'tags': 'text'}" >
<div class="t_ofrecido_en_celda">
<div class="titulo_wrapper_t_ofrecido">
<span class="titulo_t_ofrecidos" > {{ ::t_ofrecido.titulo }} </span>
</div>
<div class="info_y_foto_perfil">
<div class="t_ofrecido_foto">
<img class="t_ofrecido_imagen_statica" src="{{ t_ofrecido.images[0].src }}">
</div>
<div class="t_ofrecido_informacion">
<p class="texto_aviso info_aviso"> <span class="application_text_t_ofrecidos" > Nombre : </span> {{ ::t_ofrecido.nombre }} </p>
<p ng-show="t_ofrecido.address != 'NA'" class="texto_aviso info_aviso"> <span class="application_text_t_ofrecidos" > Direccion : </span> <a href="https://maps.google.com/?q={{ aviso.address }}"> {{ t_ofrecido.address }} </a> </p>
<p class="texto_aviso info_aviso"> <span class="application_text_t_ofrecidos" > Telefono/s : </span>
<span class="text_telefono" ng-repeat="telefono in t_ofrecido.phones"> <a href="tel:{{ telefono }}">{{::telefono}}</a> </span>
</p>
<p class="texto_aviso info_aviso"> <span class="application_text_t_ofrecidos" > Descripcion : </span> {{ ::t_ofrecido.descripcion }} </p>
<img class="icon_social_network" src="icons/social-facebook-icon.png" href="#"
socialshare
socialshare-provider="facebook"
socialshare-text="Guia Piedras Blancas"
socialshare-hashtags="piedrasblancas, anuncio"
socialshare-url="http://piedrasblancas.com.uy/#?pagina=t_ofrecido&filtro={{aviso.name}}">
</img>
<a href="#"
socialshare
socialshare-provider="whatsapp"
socialshare-text="Guia Piedras Blancas"
socialshare-hashtags="piedrasblancas, anuncio"
socialshare-url="http://piedrasblancas.com.uy/#?pagina=t_ofrecido&filtro={{aviso.name}}">
<img class="icon_social_network" src="icons/whatsapp_share.jpg" ></img>
</a>
<p><span class="id_json" >{{ ::t_ofrecido.id.replace('.json','') }}</span></p>
</div>
</div>
</div>
</td>
</tr>
</table>
</div>
</div>
<div class="fatal_error" ng-show="fatal_error ">
<p> Se ha producido un error y estamos trabajando para solucionarlo. Vuelve a intentarlo mas tarde.</p>
<img src="icons/workers.png" ></img>
<p ng-show="error_on_view" ><font color="red">{{ error_on_view }}</font></p>
</div>
<div id="main_footer" >
<div id="main_footer_text" >
<p> 2017 - Todos los derechos reservados, Gabriel Matias Barrios Cabrera</p>
<p> Contacto : [email protected] </p>
</div>
<div id="main_footer_picture" >
<img id="main_footer_img" src="icons/whatsapp_icon.png" ></img>
</div>
<div id="main_footer_picture_quiere_ver" >
<span id="main_footer_picture_text"> Quiere ver su anuncio aqui? 093-507-864 </span>
</div>
</div>
</body>
<script type="text/ng-template" id="custom_pager">
<div class="pagination_container">
<div ng-if=pages.length class="pagination ng-table-pagination pagination_border" ng-repeat="page in pages" ng-switch=page.type >
<!--Prev --->
<button ng-disabled="(! page.active && ! page.current)" ng-switch-when=prev ng-click=params.page(page.number) ng-class="(! page.active && ! page.current) ? 'btn_prev btn_disabled' : 'btn_prev'" > <i class="fa fa-long-arrow-left" aria-hidden="true"></i> </button>
<!--first button --->
<button ng-switch-when=first ng-click=params.page(page.number) ng-class="(page.current) ? 'btn_common btn_active' : 'btn_common btn_inactive' " > <span ng-bind=page.number> </span></button>
<!--normal page --->
<button ng-switch-when=page ng-click=params.page(page.number) ng-class="(page.current) ? 'btn_common btn_active' : 'btn_common btn_inactive' " > <span ng-bind=page.number> </span></button>
<!--more button --->
<button ng-disabled="true" ng-switch-when=more ng-click=params.page(page.number) ng-class="'btn_common btn_disabled'" > ... </button>
<!--last button--->
<button ng-switch-when=last ng-click=params.page(page.number) ng-class="(page.current) ? 'btn_common btn_active' : 'btn_common btn_inactive' " > <span ng-bind=page.number></span></button>
<!--Next --->
<button ng-disabled="(! page.active && ! page.current)" ng-switch-when=next ng-click=params.page(page.number) ng-class="(! page.active && ! page.current) ? 'btn_next btn_disabled' : 'btn_next'" > <i class="fa fa-long-arrow-right" aria-hidden="true"></i></button>
</div>
</div>
<!--Remember to set ng-show to true if you want to see this --->
<div ng-show="false">
<div class="ng-cloak ng-table-pager" ng-if=params.data.length>
<div ng-if=params.settings().counts.length class="ng-table-counts btn-group pull-right">
<button ng-repeat="count in params.settings().counts" type=button ng-class="{\'active\':params.count() == count}" ng-click=params.count(count) class="btn btn-default">
<span ng-bind=count>
</span>
</button>
</div>
</div>
<style>
@media only screen and (min-width: 1000px) {
.btn_common {
background: #4fd934;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0px;
text-shadow: 1px 1px 3px #666666;
-webkit-box-shadow: 0px 1px 3px #666666;
-moz-box-shadow: 0px 1px 3px #666666;
box-shadow: 0px 1px 3px #666666;
font-family: Arial;
color: #ffffff;
font-size: 20px;
padding: 10px 20px 10px 20px;
text-decoration: none;
font-weight : bold;
}
.btn_inactive {
background: #4fd934;
background-image: -webkit-linear-gradient(top, #4fd934, #3c990e);
background-image: -moz-linear-gradient(top, #4fd934, #3c990e);
background-image: -ms-linear-gradient(top, #4fd934, #3c990e);
background-image: -o-linear-gradient(top, #4fd934, #3c990e);
background-image: linear-gradient(to bottom, #4fd934, #3c990e);
}
.btn_active {
background: #74f05b;
background-image: -webkit-linear-gradient(top, #74f05b, #6ee633);
background-image: -moz-linear-gradient(top, #74f05b, #6ee633);
background-image: -ms-linear-gradient(top, #74f05b, #6ee633);
background-image: -o-linear-gradient(top, #74f05b, #6ee633);
background-image: linear-gradient(to bottom, #74f05b, #6ee633);
}
.btn_prev{
background: #4fd934;
background-image: -webkit-linear-gradient(top, #4fd934, #3c990e);
background-image: -moz-linear-gradient(top, #4fd934, #3c990e);
background-image: -ms-linear-gradient(top, #4fd934, #3c990e);
background-image: -o-linear-gradient(top, #4fd934, #3c990e);
background-image: linear-gradient(to bottom, #4fd934, #3c990e);
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0px;
text-shadow: 1px 1px 3px #666666;
-webkit-box-shadow: 0px 1px 3px #666666;
-moz-box-shadow: 0px 1px 3px #666666;
box-shadow: 0px 1px 3px #666666;
font-family: Arial;
color: #ffffff;
font-size: 20px;
padding: 10px 20px 10px 20px;
text-decoration: none;
font-weight : bold;
}
.btn_next{
background: #4fd934;
background-image: -webkit-linear-gradient(top, #4fd934, #3c990e);
background-image: -moz-linear-gradient(top, #4fd934, #3c990e);
background-image: -ms-linear-gradient(top, #4fd934, #3c990e);
background-image: -o-linear-gradient(top, #4fd934, #3c990e);
background-image: linear-gradient(to bottom, #4fd934, #3c990e);
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0px;
text-shadow: 1px 1px 3px #666666;
-webkit-box-shadow: 0px 1px 3px #666666;
-moz-box-shadow: 0px 1px 3px #666666;
box-shadow: 0px 1px 3px #666666;
font-family: Arial;
color: #ffffff;
font-size: 20px;
padding: 10px 20px 10px 20px;
text-decoration: none;
font-weight : bold;
}
.btn_disabled {
<!---> You can remove this and place other code if you want the button tot dissapear and instead just change its color or making it unclickable</!--->
background-image: -webkit-linear-gradient(top, #666666, #9b9b8c);
background-image: -moz-linear-gradient(top, #666666, #9b9b8c);
background-image: -ms-linear-gradient(top, #666666, #9b9b8c);
background-image: -o-linear-gradient(top, #666666, #9b9b8c);
background-image: linear-gradient(to bottom, #666666, #9b9b8c);
font-weight : bold;
}
}
@media only screen and (max-width: 1000px) {
.btn_common {
background: #4fd934;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0px;
text-shadow: 1px 1px 3px #666666;
-webkit-box-shadow: 0px 1px 3px #666666;
-moz-box-shadow: 0px 1px 3px #666666;
box-shadow: 0px 1px 3px #666666;
font-family: Arial;
color: #ffffff;
font-size: 32px; //mobile buttons size
text-decoration: none;
font-weight : bold;
}
.btn_inactive {
background: #4fd934;
background-image: -webkit-linear-gradient(top, #4fd934, #3c990e);
background-image: -moz-linear-gradient(top, #4fd934, #3c990e);
background-image: -ms-linear-gradient(top, #4fd934, #3c990e);
background-image: -o-linear-gradient(top, #4fd934, #3c990e);
background-image: linear-gradient(to bottom, #4fd934, #3c990e);
}
.btn_active {
background: #74f05b;
background-image: -webkit-linear-gradient(top, #74f05b, #6ee633);
background-image: -moz-linear-gradient(top, #74f05b, #6ee633);
background-image: -ms-linear-gradient(top, #74f05b, #6ee633);
background-image: -o-linear-gradient(top, #74f05b, #6ee633);
background-image: linear-gradient(to bottom, #74f05b, #6ee633);
}
.btn_prev{
background: #4fd934;
background-image: -webkit-linear-gradient(top, #4fd934, #3c990e);
background-image: -moz-linear-gradient(top, #4fd934, #3c990e);
background-image: -ms-linear-gradient(top, #4fd934, #3c990e);
background-image: -o-linear-gradient(top, #4fd934, #3c990e);
background-image: linear-gradient(to bottom, #4fd934, #3c990e);
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0px;
text-shadow: 1px 1px 3px #666666;
-webkit-box-shadow: 0px 1px 3px #666666;
-moz-box-shadow: 0px 1px 3px #666666;
box-shadow: 0px 1px 3px #666666;
font-family: Arial;
color: #ffffff;
font-size: 32px; //mobile buttons size
text-decoration: none;
font-weight : bold;
}
.btn_next{
background: #4fd934;
background-image: -webkit-linear-gradient(top, #4fd934, #3c990e);
background-image: -moz-linear-gradient(top, #4fd934, #3c990e);
background-image: -ms-linear-gradient(top, #4fd934, #3c990e);
background-image: -o-linear-gradient(top, #4fd934, #3c990e);
background-image: linear-gradient(to bottom, #4fd934, #3c990e);
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0px;
text-shadow: 1px 1px 3px #666666;
-webkit-box-shadow: 0px 1px 3px #666666;
-moz-box-shadow: 0px 1px 3px #666666;
box-shadow: 0px 1px 3px #666666;
font-family: Arial;
color: #ffffff;
font-size: 32px; //mobile buttons size
text-decoration: none;
font-weight : bold;
}
.btn_disabled {
<!---> You can remove this and place other code if you want the button tot dissapear and instead just change its color or making it unclickable</!--->
background-image: -webkit-linear-gradient(top, #666666, #9b9b8c);
background-image: -moz-linear-gradient(top, #666666, #9b9b8c);
background-image: -ms-linear-gradient(top, #666666, #9b9b8c);
background-image: -o-linear-gradient(top, #666666, #9b9b8c);
background-image: linear-gradient(to bottom, #666666, #9b9b8c);
font-weight : bold;
}
}
</style>
</script>
</html>