-
Notifications
You must be signed in to change notification settings - Fork 0
/
plan_municipal.html
357 lines (330 loc) · 17.5 KB
/
plan_municipal.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
<!doctype html>
<html lang="es">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Mi Municipio - Plan Municipal</title>
<!-- Bootstrap -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<link type="text/css" rel="stylesheet" href="styles.css" />
<script src="js/bootstrap.bundle.min.js"></script>
<script src="js/jquery-3.3.1.min.js"></script>
<script src="js/papaparse.min.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-142060975-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-142060975-1');
</script>
</head>
<body>
<div class="container" style="padding:0px">
<nav class="navbar" role="navigation">
<a class="navbar-brand"></a>
<ul class="navbar-nav flex-row float-right">
<li class="nav-item"><a href="nosotros.html" class="nav-link">NOSOTROS</a></li>
<li class="nav-item"><a href="mailto:[email protected]" class="nav-link">CONTACTO</a></li>
<li class="nav-item item-highlight"><a href="javascript:;" class="nav-link">ACAPULCO DE JUÁREZ <img src="images/flecha-topmenu.jpg" /></a></li>
</ul>
</nav>
</div>
<div class="container">
<div class="row" id="mainLogo"><a href="index.html"><img src="images/logo-header.jpg" /></a></div>
</div>
<div class="container title-bar-container">
<div class="row">
<div class="col" id="planTitleBar">
<div class="row main-title">Plan Municipal</div>
<div class="row title-submenu">
<div class="col">
<a href="#que-es-el-pmd">¿Qué es el PMD?</a>
<a href="#mi-municipio-cumple">¿Mi municipio cumple?</a>
<a href="#como-esta-cumpliendo">¿Cómo está cumpliendo mi municipio?</a>
<a href="#como-puedes-participar">¿Cómo puedes participar?</a>
</div>
</div>
</div>
<div class="col title-button" id="gastaTitleButton">
<div class="title"><a href="como_se_gasta.html">¿Cómo</a><br /> <a href="como_se_gasta.html">se gasta?</a></div>
<div class="icon"><a href="como_se_gasta.html"><img src="images/gasta-title-icon.jpg" /></a></div>
</div>
<div class="col title-button" id="decideTitleButton">
<div class="title"><a href="quien_decide.html">¿Quién</a><br /> <a href="quien_decide.html">decide?</a></div>
<div class="icon"><img src="images/decide-title-icon.jpg" /></div>
</div>
</div>
</div>
<a name="que-es-el-pmd"></a>
<div class="container body-content body-white">
<div class="row">
<div class="col body-title">¿Qué es el Plan Municipal de Desarrollo (PMD)?</div>
</div>
<div class="row" style="padding-top:20px">
<div class="col-2 text-center"><img src="images/pmd-1.jpg" style="max-width:90%" /></div>
<div class="col">
<p id="pmd1">El Plan Municipal de Desarrollo (PMD) contiene los compromisos que Acapulco sí está obligado a cumplir en Salud, Cultura, Seguridad Pública y otos rubros.</p>
<p id="pmd2">La Ley de Planeación del Estado obliga a tu municipio a cumplir todos los compromisos que publique en su Plan, en manteria económica, política, social, cultural y de seguridad pública. ¡Esto quiere decir que los compromisos que no sean incluidos explícitamente en el Plan podrían no ser cumplidos!</p>
<p id="pmd3">La alcaldesa o alcalde y el cabildo eligen las obras a través de Consejos de Planeación para el desarrollo municipal (Coplademun) y Consejos de Desarrollo Municipal (CDM) en los que puedes participar como representante de grupos y organizaciones de sociedad civil.</p>
<!--<a href="#informate" class="body-link">En esta <strong>GUÍA</strong> encuentras información para participar</a>-->
</div>
</div>
</div>
<a name="mi-municipio-cumple"></a>
<div class="container body-content body-celeste">
<div class="row">
<div class="col body-title" id="s1_title">¿Mi municipio cumple?</div>
</div>
<div class="row" style="padding-top:20px">
<div class="col">
<div class="row">
<div class="col">
<div id="semaforo1"></div>
<p style="margin-top:20px">
<a href="http://promunicipio.mx/AlimentaPlataforma/Documentos/PLAN_MUNICIPAL_DE_DESARROLLO_2015-2018.pdf" target="_blank" class="body-link" id="s1_btn">Consulta aquí el <strong>PLAN MUNICIPAL DE DESARROLLO</strong> de Acapulco 2015-2018</a>
</p>
</div>
</div>
</div>
<div class="col-2 text-center"><img src="images/pmd-2.jpg" /></div>
</div>
</div>
<a name="como-esta-cumpliendo"></a>
<div class="container body-content body-white">
<div class="row">
<div class="col body-title" id="s2_title">¿Cómo está cumpliendo mi municipio?</div>
</div>
<div class="row" style="padding-top:20px">
<div class="col">
<div class="row">
<div class="col">
<div id="semaforo2"></div>
<p style="margin-top:20px">
<a href="http://promunicipio.mx/AlimentaPlataforma/Documentos/PLAN_MUNICIPAL_DE_DESARROLLO_2015-2018.pdf" target="_blank" class="body-link" id="s2_btn">Consulta aquí el <strong>PLAN MUNICIPAL DE DESARROLLO</strong> de Acapulco 2015-2018</a>
</p>
</div>
</div>
</div>
</div>
</div>
<a name="como-puedes-participar"></a>
<div class="container body-content body-celeste">
<div class="row">
<div class="col body-title">¿Cómo puedes participar?</div>
</div>
<div class="row" style="padding-top:20px">
<div class="col">
<div class="row">
<div class="col">
<p style="font-size:1.4em" id="participa1">Tres acciones para participar o asegurarte que tu municipio cumpla con la ley y que los recursos federales se utilicen en obras que tu comunidad necesita.</p>
<div class="row" style="padding:0" id="contentCards">
<div class="col">
<div class="card">
<div class="card-header"><img src="images/1-informate.jpg" /></div>
<div class="card-body">
<p id="informate1">En esta guía encontrarás la información sobre el PMD, cómo funciona y cómo puedes participar.</p>
<p align="center">
<a href="https://drive.google.com/open?id=0BzAeMLjIHAhRZjNaelZVS3Zza2Y4OVFyQW0yWnZfa0x6TmFV" target="_blank">
<img src="images/1-pmd.jpg" />
</a>
</p>
</div>
</div>
</div>
<div class="col">
<div class="card">
<div class="card-header"><img src="images/2-exige.jpg" /></div>
<div class="card-body">
<p id="exige1">Exige a tu presidenta/e municipal que cumpla con las normas de participación en el PMD.</p>
<div class="row" style="padding:5px">
<div class="col contentCardIcon"><a href="https://www.facebook.com/GobiernoMunicipaldeAcapulco/" id="exige2link"><img src="images/fb-verde.jpg" /></a></div>
<div class="col" id="exige2"></div>
</div>
<div class="row" style="padding:5px">
<div class="col contentCardIcon"><img src="images/2-telefono.jpg" /></div>
<div class="col"><a href="javascript:;" id="exige3" style="color:#4c4c4c">(744)440700</a></div>
</div>
<div class="row" style="padding:5px">
<div class="col contentCardIcon"><img src="images/2-mail.jpg" /></div>
<div class="col" id="exige4">Av. Cuauhtémoc S/N, Interior Parque Papagayo, Fracc. Hornos.</div>
</div>
</div>
</div>
</div>
<div class="col">
<div class="card">
<div class="card-header"><img src="images/3-vigila.jpg" /></div>
<div class="card-body">
<p style="margin-bottom:0" id="vigila1">Ponte en contacto con nosotros y ayúdanos a seguir vigilando el desempeño de los integrantes del municipio de Acapulco.</p>
<div class="row" style="padding:0; display:table; width:100%">
<div class="col text-right" style="display:table-cell; vertical-align:middle; width:50%"><a href="https://www.facebook.com/MiMunicipioAcapulco/" id="vigila2"><img src="images/3-unete.jpg" /></a></div>
<div class="col text-center" style="display:table-cell; vertical-align:middle; width:50%"><img src="images/3-manos.jpg" /></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<a name="informate"></a>
<div class="container body-content body-white">
<div class="row">
<div class="col body-title" id="footer1">¡Infórmate y participa!</div>
</div>
<div class="row">
<div class="col">
<p style="font-size:15px" id="footer2">Guía para dar segumiento al Plan Municipal de Desarrollo</p>
<!--<p><img src="images/placeholder.png" /></p>-->
<div id="footer2embed"><iframe style="width:525px; height:342px;" src="//e.issuu.com/embed.html#35186677/65362556" frameborder="0" allowfullscreen></iframe></div>
</div>
</div>
</div>
<div class="container footer-celeste">
<div class="row">
<div class="col text-right">
<a href="mailto:[email protected]"><img src="images/footericon-a-celeste.jpg" /></a>
<a href="https://www.facebook.com/MiMunicipioAcapulco/"><img src="images/footericon-fb-celeste.jpg" /></a>
</div>
</div>
</div>
<script>
Papa.parse("https://docs.google.com/spreadsheets/d/e/2PACX-1vQs9lXClRFuVomHZ8psDxm4cMyH3GdNZoMcnlXd2zCIZGvpmNh16bK_gtCfUB9u4Yzl6i_PuURduNri/pub?gid=1939707437&single=true&output=csv", {
download: true,
complete: function(results) {
var content = getPageLines('02_Plan_Municipal', results.data);
populateContent(content);
}
});
function getPageLines(section, lines) {
return lines.filter( line => line[0] == section );
}
function replaceReferences(text, parameters) {
var newText = text;
var params = parameters.split(';');
for(var j=0; j<params.length; j++) {
newText = newText.replace('[x]', params[j]);
}
return newText;
}
function populateContent(content) {
for(var i=0; i<content.length; i++) {
var item = content[i];
var text = item[3];
if(item[4] != '') {
text = replaceReferences(item[3], item[4]);
}
if(item[1] == 'Semaforo 1') {
if(item[4] != 'NA') {
var semaforo = '';
var sub = /sub/;
if(item[2].match(sub)) {
semaforo += '<p class="subsemaforo">';
}
else {
semaforo += '<p class="semaforo">';
}
if(item[6] == 'verde') {
semaforo += '<img src="images/semaforo-verde-celeste.jpg" /> ';
}
else {
semaforo += '<img src="images/semaforo-rojo-celeste.jpg" /> ';
}
semaforo += text;
semaforo += '</p>';
$('#semaforo1').append(semaforo);
}
}
else if(item[1] == 'Semaforo 2') {
if(item[4] != 'NA') {
var semaforo = '';
var sub = /sub/;
if(item[2].match(sub)) {
semaforo += '<p class="subsemaforo">';
}
else {
semaforo += '<p class="semaforo">';
if(item[6] == 'verde') {
semaforo += '<img src="images/semaforo-verde-blanco.jpg" /> ';
}
else {
semaforo += '<img src="images/semaforo-rojo-blanco.jpg" /> ';
}
}
semaforo += text;
if(item[2].match(sub)) {
semaforo += ' - <span>' + item[4] + '</span>'
}
semaforo += '</p>';
$('#semaforo2').append(semaforo);
}
}
else {
switch(item[2]) {
case 'pmd1':
$('#pmd1').html(text);
break;
case 'pmd2':
$('#pmd2').html(text);
break;
case 'pmd3':
$('#pmd3').html(text);
break;
case 's1_title':
$('#s1_title').html(text);
break;
case 's1_btn':
$('#s1_btn').html(text);
$('#s1_btn').attr('href', item[5]);
break;
case 's2_title':
$('#s2_title').html(text);
break;
case 's2_btn':
$('#s2_btn').html(text);
$('#s2_btn').attr('href', item[5]);
break;
case 'participa1':
$('#participa1').html(text);
break;
case 'informate1':
$('#informate1').html(text);
break;
case 'exige1':
$('#exige1').html(text);
break;
case 'exige2':
$('#exige2').html(text);
$('#exige2_link').attr('href', item[5]);
break;
case 'exige3':
$('#exige3').text(text);
$('#exige3').attr('href', 'tel:' + text);
break;
case 'exige4':
$('#exige4').html(text);
break;
case 'vigila1':
$('#vigila1').html(text);
break;
case 'vigila2':
$('#vigila2').attr('href', item[5]);
break;
case 'footer1':
$('#footer1').html(text);
break;
case 'footer2':
$('#footer2').html(text);
$('#footer2embed').html(item[5]);
break;
}
}
}
}
</script>
</body>
</html>