-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
194 lines (185 loc) · 5.96 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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="initial-scale=1,maximum-scale=1,user-scalable=no"
/>
<title>InfoRiesgo</title>
<link
rel="stylesheet"
href="https://js.arcgis.com/4.20/esri/themes/light/main.css"
/>
<link rel="stylesheet" href="./css/estilo.css" />
<link
href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css"
rel="stylesheet"
/>
<script src="https://js.arcgis.com/4.20/"></script>
</head>
<body>
<nav class="bg-white shadow dark:bg-gray-800">
<div
class="
container
px-6
py-3
mx-auto
md:flex md:justify-between md:items-center
"
>
<div class="flex items-center justify-between">
<div>
<a
class="
text-xl
font-bold
text-gray-800
dark:text-white
md:text-2xl
hover:text-gray-700
dark:hover:text-gray-300
"
href="index.html"
>InfoRiesgo</a
>
</div>
<!-- Mobile menu button -->
<div class="flex md:hidden" id="hamburguerMenu">
<button
type="button"
class="
text-gray-500
dark:text-gray-200
hover:text-gray-600
dark:hover:text-gray-400
focus:outline-none focus:text-gray-600
dark:focus:text-gray-400
"
aria-label="toggle menu"
>
<svg viewBox="0 0 24 24" class="w-6 h-6 fill-current">
<path
fill-rule="evenodd"
d="M4 5h16a1 1 0 0 1 0 2H4a1 1 0 1 1 0-2zm0 6h16a1 1 0 0 1 0 2H4a1 1 0 0 1 0-2zm0 6h16a1 1 0 0 1 0 2H4a1 1 0 0 1 0-2z"
></path>
</svg>
</button>
</div>
</div>
<!-- Mobile Menu open: "block", Menu closed: "hidden" -->
<div class="items-center md:flex" id="layoutMenu">
<div class="flex flex-col md:flex-row md:mx-6">
<a
class="
my-1
text-gray-700
dark:text-gray-200
hover:text-indigo-500
dark:hover:text-indigo-400
md:mx-4 md:my-0
hiddenMobile
"
href="index.html"
>Buscador</a
>
<a
class="
my-1
text-gray-700
dark:text-gray-200
hover:text-indigo-500
dark:hover:text-indigo-400
md:mx-4 md:my-0
hiddenMobile
"
href="https://arcg.is/0mbyKT0"
>Proponer fuente</a
>
<a
class="
my-1
text-gray-700
dark:text-gray-200
hover:text-indigo-500
dark:hover:text-indigo-400
md:mx-4 md:my-0
hiddenMobile
"
href="src/howtohelp/howToHelp.html"
>Como ayudar</a
>
<a
class="
my-1
text-gray-700
dark:text-gray-200
hover:text-indigo-500
dark:hover:text-indigo-400
md:mx-4 md:my-0
hiddenMobile
"
href="src/about/about.html"
>Quienes somos</a
>
</div>
</div>
</div>
</nav>
<div class="container w-full mx-auto my-10 text-center rounded-xl">
<!-- Search panel-->
<div
id="search-panel"
class="flex flex-col justify-center items-center mx-auto px-6 md:px-0"
>
<div class="w-full mb-8" id="search-box"></div>
<!-- Filters -->
<section
id="#filters"
class="flex flex-wrap gap-y-2 gap-x-8 justify-between mb-12"
>
<div>
<label class="mr-5" for="hazardType">Riesgos</label>
<select class="p-1" name="hazardType" id="hazardType">
<option value="all">Todos</option>
<option value="fire">Natural - Incendios</option>
<option value="seismic">Natural - Sísmicos</option>
<option value="weather">Natural - Meteorológico</option>
<option value="chemical">Químicos</option>
<option value="security">Seguridad ciudadana</option>
<option value="nuclear">Nuclear</option>
</select>
</div>
<div>
<label class="mr-5" for="information">Información</label>
<select class="p-1" name="information" id="information">
<option value="all">Toda</option>
<option value="stories">Historias reales</option>
<option value="prevention">Prevención</option>
<option value="reaction">Reacción</option>
</select>
</div>
</section>
</div>
<article class="grid lg:grid-cols-12 gap-16 px-6 md:px-0">
<!-- Map panel anf all the results-->
<section id="first-map-container" class="lg:col-span-8">
<div id="first-map" class="w-full h-96 relative"></div>
</section>
<!-- Buttons and map section-->
<section id="map-button-container" class="lg:col-span-3">
<div id="map" class="w-full h-96 relative">
<ul id="buttons-box" class="absolute bottom-8 left-4"></ul>
</div>
</section>
<!-- Results box-->
<section id="results-box" class="lg:col-span-3 grid gap-10"></section>
</article>
</div>
<script src="config.js"></script>
<script src="logic/index.js"></script>
<script src="logic/toggleHamburgerMenu.js"></script>
</body>
<footer></footer>
</html>