Showing
9 changed files
with
774 additions
and
53 deletions
1 | { | 1 | { |
2 | "name": "culturegallery", | 2 | "name": "culturegallery", |
3 | "version": "1.0.0", | 3 | "version": "1.0.0", |
4 | - "lockfileVersion": 1, | 4 | + "lockfileVersion": 2, |
5 | "requires": true, | 5 | "requires": true, |
6 | + "packages": { | ||
7 | + "": { | ||
8 | + "name": "culturegallery", | ||
9 | + "version": "1.0.0", | ||
10 | + "license": "MIT", | ||
11 | + "dependencies": { | ||
12 | + "body-parser": "^1.19.0", | ||
13 | + "dotenv": "^8.2.0", | ||
14 | + "ejs": "^3.1.5", | ||
15 | + "express": "^4.17.1", | ||
16 | + "mysql": "^2.18.1" | ||
17 | + } | ||
18 | + }, | ||
19 | + "node_modules/accepts": { | ||
20 | + "version": "1.3.7", | ||
21 | + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", | ||
22 | + "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", | ||
23 | + "dependencies": { | ||
24 | + "mime-types": "~2.1.24", | ||
25 | + "negotiator": "0.6.2" | ||
26 | + }, | ||
27 | + "engines": { | ||
28 | + "node": ">= 0.6" | ||
29 | + } | ||
30 | + }, | ||
31 | + "node_modules/ansi-styles": { | ||
32 | + "version": "3.2.1", | ||
33 | + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", | ||
34 | + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", | ||
35 | + "dependencies": { | ||
36 | + "color-convert": "^1.9.0" | ||
37 | + }, | ||
38 | + "engines": { | ||
39 | + "node": ">=4" | ||
40 | + } | ||
41 | + }, | ||
42 | + "node_modules/array-flatten": { | ||
43 | + "version": "1.1.1", | ||
44 | + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", | ||
45 | + "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" | ||
46 | + }, | ||
47 | + "node_modules/async": { | ||
48 | + "version": "0.9.2", | ||
49 | + "resolved": "https://registry.npmjs.org/async/-/async-0.9.2.tgz", | ||
50 | + "integrity": "sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0=" | ||
51 | + }, | ||
52 | + "node_modules/balanced-match": { | ||
53 | + "version": "1.0.0", | ||
54 | + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", | ||
55 | + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" | ||
56 | + }, | ||
57 | + "node_modules/bignumber.js": { | ||
58 | + "version": "9.0.0", | ||
59 | + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.0.tgz", | ||
60 | + "integrity": "sha512-t/OYhhJ2SD+YGBQcjY8GzzDHEk9f3nerxjtfa6tlMXfe7frs/WozhvCNoGvpM0P3bNf3Gq5ZRMlGr5f3r4/N8A==", | ||
61 | + "engines": { | ||
62 | + "node": "*" | ||
63 | + } | ||
64 | + }, | ||
65 | + "node_modules/body-parser": { | ||
66 | + "version": "1.19.0", | ||
67 | + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", | ||
68 | + "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", | ||
69 | + "dependencies": { | ||
70 | + "bytes": "3.1.0", | ||
71 | + "content-type": "~1.0.4", | ||
72 | + "debug": "2.6.9", | ||
73 | + "depd": "~1.1.2", | ||
74 | + "http-errors": "1.7.2", | ||
75 | + "iconv-lite": "0.4.24", | ||
76 | + "on-finished": "~2.3.0", | ||
77 | + "qs": "6.7.0", | ||
78 | + "raw-body": "2.4.0", | ||
79 | + "type-is": "~1.6.17" | ||
80 | + }, | ||
81 | + "engines": { | ||
82 | + "node": ">= 0.8" | ||
83 | + } | ||
84 | + }, | ||
85 | + "node_modules/brace-expansion": { | ||
86 | + "version": "1.1.11", | ||
87 | + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", | ||
88 | + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", | ||
89 | + "dependencies": { | ||
90 | + "balanced-match": "^1.0.0", | ||
91 | + "concat-map": "0.0.1" | ||
92 | + } | ||
93 | + }, | ||
94 | + "node_modules/bytes": { | ||
95 | + "version": "3.1.0", | ||
96 | + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", | ||
97 | + "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==", | ||
98 | + "engines": { | ||
99 | + "node": ">= 0.8" | ||
100 | + } | ||
101 | + }, | ||
102 | + "node_modules/chalk": { | ||
103 | + "version": "2.4.2", | ||
104 | + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", | ||
105 | + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", | ||
106 | + "dependencies": { | ||
107 | + "ansi-styles": "^3.2.1", | ||
108 | + "escape-string-regexp": "^1.0.5", | ||
109 | + "supports-color": "^5.3.0" | ||
110 | + }, | ||
111 | + "engines": { | ||
112 | + "node": ">=4" | ||
113 | + } | ||
114 | + }, | ||
115 | + "node_modules/color-convert": { | ||
116 | + "version": "1.9.3", | ||
117 | + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", | ||
118 | + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", | ||
119 | + "dependencies": { | ||
120 | + "color-name": "1.1.3" | ||
121 | + } | ||
122 | + }, | ||
123 | + "node_modules/color-name": { | ||
124 | + "version": "1.1.3", | ||
125 | + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", | ||
126 | + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" | ||
127 | + }, | ||
128 | + "node_modules/concat-map": { | ||
129 | + "version": "0.0.1", | ||
130 | + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", | ||
131 | + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" | ||
132 | + }, | ||
133 | + "node_modules/content-disposition": { | ||
134 | + "version": "0.5.3", | ||
135 | + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", | ||
136 | + "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==", | ||
137 | + "dependencies": { | ||
138 | + "safe-buffer": "5.1.2" | ||
139 | + }, | ||
140 | + "engines": { | ||
141 | + "node": ">= 0.6" | ||
142 | + } | ||
143 | + }, | ||
144 | + "node_modules/content-type": { | ||
145 | + "version": "1.0.4", | ||
146 | + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", | ||
147 | + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", | ||
148 | + "engines": { | ||
149 | + "node": ">= 0.6" | ||
150 | + } | ||
151 | + }, | ||
152 | + "node_modules/cookie": { | ||
153 | + "version": "0.4.0", | ||
154 | + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", | ||
155 | + "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==", | ||
156 | + "engines": { | ||
157 | + "node": ">= 0.6" | ||
158 | + } | ||
159 | + }, | ||
160 | + "node_modules/cookie-signature": { | ||
161 | + "version": "1.0.6", | ||
162 | + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", | ||
163 | + "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" | ||
164 | + }, | ||
165 | + "node_modules/core-util-is": { | ||
166 | + "version": "1.0.2", | ||
167 | + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", | ||
168 | + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" | ||
169 | + }, | ||
170 | + "node_modules/debug": { | ||
171 | + "version": "2.6.9", | ||
172 | + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", | ||
173 | + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", | ||
174 | + "dependencies": { | ||
175 | + "ms": "2.0.0" | ||
176 | + } | ||
177 | + }, | ||
178 | + "node_modules/depd": { | ||
179 | + "version": "1.1.2", | ||
180 | + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", | ||
181 | + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", | ||
182 | + "engines": { | ||
183 | + "node": ">= 0.6" | ||
184 | + } | ||
185 | + }, | ||
186 | + "node_modules/destroy": { | ||
187 | + "version": "1.0.4", | ||
188 | + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", | ||
189 | + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" | ||
190 | + }, | ||
191 | + "node_modules/dotenv": { | ||
192 | + "version": "8.2.0", | ||
193 | + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8.2.0.tgz", | ||
194 | + "integrity": "sha512-8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw==", | ||
195 | + "engines": { | ||
196 | + "node": ">=8" | ||
197 | + } | ||
198 | + }, | ||
199 | + "node_modules/ee-first": { | ||
200 | + "version": "1.1.1", | ||
201 | + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", | ||
202 | + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" | ||
203 | + }, | ||
204 | + "node_modules/ejs": { | ||
205 | + "version": "3.1.5", | ||
206 | + "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.5.tgz", | ||
207 | + "integrity": "sha512-dldq3ZfFtgVTJMLjOe+/3sROTzALlL9E34V4/sDtUd/KlBSS0s6U1/+WPE1B4sj9CXHJpL1M6rhNJnc9Wbal9w==", | ||
208 | + "dependencies": { | ||
209 | + "jake": "^10.6.1" | ||
210 | + }, | ||
211 | + "bin": { | ||
212 | + "ejs": "bin/cli.js" | ||
213 | + }, | ||
214 | + "engines": { | ||
215 | + "node": ">=0.10.0" | ||
216 | + } | ||
217 | + }, | ||
218 | + "node_modules/encodeurl": { | ||
219 | + "version": "1.0.2", | ||
220 | + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", | ||
221 | + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", | ||
222 | + "engines": { | ||
223 | + "node": ">= 0.8" | ||
224 | + } | ||
225 | + }, | ||
226 | + "node_modules/escape-html": { | ||
227 | + "version": "1.0.3", | ||
228 | + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", | ||
229 | + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" | ||
230 | + }, | ||
231 | + "node_modules/escape-string-regexp": { | ||
232 | + "version": "1.0.5", | ||
233 | + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", | ||
234 | + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", | ||
235 | + "engines": { | ||
236 | + "node": ">=0.8.0" | ||
237 | + } | ||
238 | + }, | ||
239 | + "node_modules/etag": { | ||
240 | + "version": "1.8.1", | ||
241 | + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", | ||
242 | + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", | ||
243 | + "engines": { | ||
244 | + "node": ">= 0.6" | ||
245 | + } | ||
246 | + }, | ||
247 | + "node_modules/express": { | ||
248 | + "version": "4.17.1", | ||
249 | + "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", | ||
250 | + "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==", | ||
251 | + "dependencies": { | ||
252 | + "accepts": "~1.3.7", | ||
253 | + "array-flatten": "1.1.1", | ||
254 | + "body-parser": "1.19.0", | ||
255 | + "content-disposition": "0.5.3", | ||
256 | + "content-type": "~1.0.4", | ||
257 | + "cookie": "0.4.0", | ||
258 | + "cookie-signature": "1.0.6", | ||
259 | + "debug": "2.6.9", | ||
260 | + "depd": "~1.1.2", | ||
261 | + "encodeurl": "~1.0.2", | ||
262 | + "escape-html": "~1.0.3", | ||
263 | + "etag": "~1.8.1", | ||
264 | + "finalhandler": "~1.1.2", | ||
265 | + "fresh": "0.5.2", | ||
266 | + "merge-descriptors": "1.0.1", | ||
267 | + "methods": "~1.1.2", | ||
268 | + "on-finished": "~2.3.0", | ||
269 | + "parseurl": "~1.3.3", | ||
270 | + "path-to-regexp": "0.1.7", | ||
271 | + "proxy-addr": "~2.0.5", | ||
272 | + "qs": "6.7.0", | ||
273 | + "range-parser": "~1.2.1", | ||
274 | + "safe-buffer": "5.1.2", | ||
275 | + "send": "0.17.1", | ||
276 | + "serve-static": "1.14.1", | ||
277 | + "setprototypeof": "1.1.1", | ||
278 | + "statuses": "~1.5.0", | ||
279 | + "type-is": "~1.6.18", | ||
280 | + "utils-merge": "1.0.1", | ||
281 | + "vary": "~1.1.2" | ||
282 | + }, | ||
283 | + "engines": { | ||
284 | + "node": ">= 0.10.0" | ||
285 | + } | ||
286 | + }, | ||
287 | + "node_modules/filelist": { | ||
288 | + "version": "1.0.1", | ||
289 | + "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.1.tgz", | ||
290 | + "integrity": "sha512-8zSK6Nu0DQIC08mUC46sWGXi+q3GGpKydAG36k+JDba6VRpkevvOWUW5a/PhShij4+vHT9M+ghgG7eM+a9JDUQ==", | ||
291 | + "dependencies": { | ||
292 | + "minimatch": "^3.0.4" | ||
293 | + } | ||
294 | + }, | ||
295 | + "node_modules/finalhandler": { | ||
296 | + "version": "1.1.2", | ||
297 | + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", | ||
298 | + "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", | ||
299 | + "dependencies": { | ||
300 | + "debug": "2.6.9", | ||
301 | + "encodeurl": "~1.0.2", | ||
302 | + "escape-html": "~1.0.3", | ||
303 | + "on-finished": "~2.3.0", | ||
304 | + "parseurl": "~1.3.3", | ||
305 | + "statuses": "~1.5.0", | ||
306 | + "unpipe": "~1.0.0" | ||
307 | + }, | ||
308 | + "engines": { | ||
309 | + "node": ">= 0.8" | ||
310 | + } | ||
311 | + }, | ||
312 | + "node_modules/forwarded": { | ||
313 | + "version": "0.1.2", | ||
314 | + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", | ||
315 | + "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=", | ||
316 | + "engines": { | ||
317 | + "node": ">= 0.6" | ||
318 | + } | ||
319 | + }, | ||
320 | + "node_modules/fresh": { | ||
321 | + "version": "0.5.2", | ||
322 | + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", | ||
323 | + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", | ||
324 | + "engines": { | ||
325 | + "node": ">= 0.6" | ||
326 | + } | ||
327 | + }, | ||
328 | + "node_modules/has-flag": { | ||
329 | + "version": "3.0.0", | ||
330 | + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", | ||
331 | + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", | ||
332 | + "engines": { | ||
333 | + "node": ">=4" | ||
334 | + } | ||
335 | + }, | ||
336 | + "node_modules/http-errors": { | ||
337 | + "version": "1.7.2", | ||
338 | + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", | ||
339 | + "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", | ||
340 | + "dependencies": { | ||
341 | + "depd": "~1.1.2", | ||
342 | + "inherits": "2.0.3", | ||
343 | + "setprototypeof": "1.1.1", | ||
344 | + "statuses": ">= 1.5.0 < 2", | ||
345 | + "toidentifier": "1.0.0" | ||
346 | + }, | ||
347 | + "engines": { | ||
348 | + "node": ">= 0.6" | ||
349 | + } | ||
350 | + }, | ||
351 | + "node_modules/iconv-lite": { | ||
352 | + "version": "0.4.24", | ||
353 | + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", | ||
354 | + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", | ||
355 | + "dependencies": { | ||
356 | + "safer-buffer": ">= 2.1.2 < 3" | ||
357 | + }, | ||
358 | + "engines": { | ||
359 | + "node": ">=0.10.0" | ||
360 | + } | ||
361 | + }, | ||
362 | + "node_modules/inherits": { | ||
363 | + "version": "2.0.3", | ||
364 | + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", | ||
365 | + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" | ||
366 | + }, | ||
367 | + "node_modules/ipaddr.js": { | ||
368 | + "version": "1.9.1", | ||
369 | + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", | ||
370 | + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", | ||
371 | + "engines": { | ||
372 | + "node": ">= 0.10" | ||
373 | + } | ||
374 | + }, | ||
375 | + "node_modules/isarray": { | ||
376 | + "version": "1.0.0", | ||
377 | + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", | ||
378 | + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" | ||
379 | + }, | ||
380 | + "node_modules/jake": { | ||
381 | + "version": "10.8.2", | ||
382 | + "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.2.tgz", | ||
383 | + "integrity": "sha512-eLpKyrfG3mzvGE2Du8VoPbeSkRry093+tyNjdYaBbJS9v17knImYGNXQCUV0gLxQtF82m3E8iRb/wdSQZLoq7A==", | ||
384 | + "dependencies": { | ||
385 | + "async": "0.9.x", | ||
386 | + "chalk": "^2.4.2", | ||
387 | + "filelist": "^1.0.1", | ||
388 | + "minimatch": "^3.0.4" | ||
389 | + }, | ||
390 | + "bin": { | ||
391 | + "jake": "bin/cli.js" | ||
392 | + }, | ||
393 | + "engines": { | ||
394 | + "node": "*" | ||
395 | + } | ||
396 | + }, | ||
397 | + "node_modules/media-typer": { | ||
398 | + "version": "0.3.0", | ||
399 | + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", | ||
400 | + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", | ||
401 | + "engines": { | ||
402 | + "node": ">= 0.6" | ||
403 | + } | ||
404 | + }, | ||
405 | + "node_modules/merge-descriptors": { | ||
406 | + "version": "1.0.1", | ||
407 | + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", | ||
408 | + "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" | ||
409 | + }, | ||
410 | + "node_modules/methods": { | ||
411 | + "version": "1.1.2", | ||
412 | + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", | ||
413 | + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", | ||
414 | + "engines": { | ||
415 | + "node": ">= 0.6" | ||
416 | + } | ||
417 | + }, | ||
418 | + "node_modules/mime": { | ||
419 | + "version": "1.6.0", | ||
420 | + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", | ||
421 | + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", | ||
422 | + "bin": { | ||
423 | + "mime": "cli.js" | ||
424 | + }, | ||
425 | + "engines": { | ||
426 | + "node": ">=4" | ||
427 | + } | ||
428 | + }, | ||
429 | + "node_modules/mime-db": { | ||
430 | + "version": "1.44.0", | ||
431 | + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz", | ||
432 | + "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==", | ||
433 | + "engines": { | ||
434 | + "node": ">= 0.6" | ||
435 | + } | ||
436 | + }, | ||
437 | + "node_modules/mime-types": { | ||
438 | + "version": "2.1.27", | ||
439 | + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz", | ||
440 | + "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==", | ||
441 | + "dependencies": { | ||
442 | + "mime-db": "1.44.0" | ||
443 | + }, | ||
444 | + "engines": { | ||
445 | + "node": ">= 0.6" | ||
446 | + } | ||
447 | + }, | ||
448 | + "node_modules/minimatch": { | ||
449 | + "version": "3.0.4", | ||
450 | + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", | ||
451 | + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", | ||
452 | + "dependencies": { | ||
453 | + "brace-expansion": "^1.1.7" | ||
454 | + }, | ||
455 | + "engines": { | ||
456 | + "node": "*" | ||
457 | + } | ||
458 | + }, | ||
459 | + "node_modules/ms": { | ||
460 | + "version": "2.0.0", | ||
461 | + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", | ||
462 | + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" | ||
463 | + }, | ||
464 | + "node_modules/mysql": { | ||
465 | + "version": "2.18.1", | ||
466 | + "resolved": "https://registry.npmjs.org/mysql/-/mysql-2.18.1.tgz", | ||
467 | + "integrity": "sha512-Bca+gk2YWmqp2Uf6k5NFEurwY/0td0cpebAucFpY/3jhrwrVGuxU2uQFCHjU19SJfje0yQvi+rVWdq78hR5lig==", | ||
468 | + "dependencies": { | ||
469 | + "bignumber.js": "9.0.0", | ||
470 | + "readable-stream": "2.3.7", | ||
471 | + "safe-buffer": "5.1.2", | ||
472 | + "sqlstring": "2.3.1" | ||
473 | + }, | ||
474 | + "engines": { | ||
475 | + "node": ">= 0.6" | ||
476 | + } | ||
477 | + }, | ||
478 | + "node_modules/negotiator": { | ||
479 | + "version": "0.6.2", | ||
480 | + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", | ||
481 | + "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==", | ||
482 | + "engines": { | ||
483 | + "node": ">= 0.6" | ||
484 | + } | ||
485 | + }, | ||
486 | + "node_modules/on-finished": { | ||
487 | + "version": "2.3.0", | ||
488 | + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", | ||
489 | + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", | ||
490 | + "dependencies": { | ||
491 | + "ee-first": "1.1.1" | ||
492 | + }, | ||
493 | + "engines": { | ||
494 | + "node": ">= 0.8" | ||
495 | + } | ||
496 | + }, | ||
497 | + "node_modules/parseurl": { | ||
498 | + "version": "1.3.3", | ||
499 | + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", | ||
500 | + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", | ||
501 | + "engines": { | ||
502 | + "node": ">= 0.8" | ||
503 | + } | ||
504 | + }, | ||
505 | + "node_modules/path-to-regexp": { | ||
506 | + "version": "0.1.7", | ||
507 | + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", | ||
508 | + "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" | ||
509 | + }, | ||
510 | + "node_modules/process-nextick-args": { | ||
511 | + "version": "2.0.1", | ||
512 | + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", | ||
513 | + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" | ||
514 | + }, | ||
515 | + "node_modules/proxy-addr": { | ||
516 | + "version": "2.0.6", | ||
517 | + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz", | ||
518 | + "integrity": "sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw==", | ||
519 | + "dependencies": { | ||
520 | + "forwarded": "~0.1.2", | ||
521 | + "ipaddr.js": "1.9.1" | ||
522 | + }, | ||
523 | + "engines": { | ||
524 | + "node": ">= 0.10" | ||
525 | + } | ||
526 | + }, | ||
527 | + "node_modules/qs": { | ||
528 | + "version": "6.7.0", | ||
529 | + "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", | ||
530 | + "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==", | ||
531 | + "engines": { | ||
532 | + "node": ">=0.6" | ||
533 | + } | ||
534 | + }, | ||
535 | + "node_modules/range-parser": { | ||
536 | + "version": "1.2.1", | ||
537 | + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", | ||
538 | + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", | ||
539 | + "engines": { | ||
540 | + "node": ">= 0.6" | ||
541 | + } | ||
542 | + }, | ||
543 | + "node_modules/raw-body": { | ||
544 | + "version": "2.4.0", | ||
545 | + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", | ||
546 | + "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", | ||
547 | + "dependencies": { | ||
548 | + "bytes": "3.1.0", | ||
549 | + "http-errors": "1.7.2", | ||
550 | + "iconv-lite": "0.4.24", | ||
551 | + "unpipe": "1.0.0" | ||
552 | + }, | ||
553 | + "engines": { | ||
554 | + "node": ">= 0.8" | ||
555 | + } | ||
556 | + }, | ||
557 | + "node_modules/readable-stream": { | ||
558 | + "version": "2.3.7", | ||
559 | + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", | ||
560 | + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", | ||
561 | + "dependencies": { | ||
562 | + "core-util-is": "~1.0.0", | ||
563 | + "inherits": "~2.0.3", | ||
564 | + "isarray": "~1.0.0", | ||
565 | + "process-nextick-args": "~2.0.0", | ||
566 | + "safe-buffer": "~5.1.1", | ||
567 | + "string_decoder": "~1.1.1", | ||
568 | + "util-deprecate": "~1.0.1" | ||
569 | + } | ||
570 | + }, | ||
571 | + "node_modules/safe-buffer": { | ||
572 | + "version": "5.1.2", | ||
573 | + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", | ||
574 | + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" | ||
575 | + }, | ||
576 | + "node_modules/safer-buffer": { | ||
577 | + "version": "2.1.2", | ||
578 | + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", | ||
579 | + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" | ||
580 | + }, | ||
581 | + "node_modules/send": { | ||
582 | + "version": "0.17.1", | ||
583 | + "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", | ||
584 | + "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", | ||
585 | + "dependencies": { | ||
586 | + "debug": "2.6.9", | ||
587 | + "depd": "~1.1.2", | ||
588 | + "destroy": "~1.0.4", | ||
589 | + "encodeurl": "~1.0.2", | ||
590 | + "escape-html": "~1.0.3", | ||
591 | + "etag": "~1.8.1", | ||
592 | + "fresh": "0.5.2", | ||
593 | + "http-errors": "~1.7.2", | ||
594 | + "mime": "1.6.0", | ||
595 | + "ms": "2.1.1", | ||
596 | + "on-finished": "~2.3.0", | ||
597 | + "range-parser": "~1.2.1", | ||
598 | + "statuses": "~1.5.0" | ||
599 | + }, | ||
600 | + "engines": { | ||
601 | + "node": ">= 0.8.0" | ||
602 | + } | ||
603 | + }, | ||
604 | + "node_modules/send/node_modules/ms": { | ||
605 | + "version": "2.1.1", | ||
606 | + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", | ||
607 | + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" | ||
608 | + }, | ||
609 | + "node_modules/serve-static": { | ||
610 | + "version": "1.14.1", | ||
611 | + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", | ||
612 | + "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", | ||
613 | + "dependencies": { | ||
614 | + "encodeurl": "~1.0.2", | ||
615 | + "escape-html": "~1.0.3", | ||
616 | + "parseurl": "~1.3.3", | ||
617 | + "send": "0.17.1" | ||
618 | + }, | ||
619 | + "engines": { | ||
620 | + "node": ">= 0.8.0" | ||
621 | + } | ||
622 | + }, | ||
623 | + "node_modules/setprototypeof": { | ||
624 | + "version": "1.1.1", | ||
625 | + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", | ||
626 | + "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" | ||
627 | + }, | ||
628 | + "node_modules/sqlstring": { | ||
629 | + "version": "2.3.1", | ||
630 | + "resolved": "https://registry.npmjs.org/sqlstring/-/sqlstring-2.3.1.tgz", | ||
631 | + "integrity": "sha1-R1OT/56RR5rqYtyvDKPRSYOn+0A=", | ||
632 | + "engines": { | ||
633 | + "node": ">= 0.6" | ||
634 | + } | ||
635 | + }, | ||
636 | + "node_modules/statuses": { | ||
637 | + "version": "1.5.0", | ||
638 | + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", | ||
639 | + "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=", | ||
640 | + "engines": { | ||
641 | + "node": ">= 0.6" | ||
642 | + } | ||
643 | + }, | ||
644 | + "node_modules/string_decoder": { | ||
645 | + "version": "1.1.1", | ||
646 | + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", | ||
647 | + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", | ||
648 | + "dependencies": { | ||
649 | + "safe-buffer": "~5.1.0" | ||
650 | + } | ||
651 | + }, | ||
652 | + "node_modules/supports-color": { | ||
653 | + "version": "5.5.0", | ||
654 | + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", | ||
655 | + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", | ||
656 | + "dependencies": { | ||
657 | + "has-flag": "^3.0.0" | ||
658 | + }, | ||
659 | + "engines": { | ||
660 | + "node": ">=4" | ||
661 | + } | ||
662 | + }, | ||
663 | + "node_modules/toidentifier": { | ||
664 | + "version": "1.0.0", | ||
665 | + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", | ||
666 | + "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==", | ||
667 | + "engines": { | ||
668 | + "node": ">=0.6" | ||
669 | + } | ||
670 | + }, | ||
671 | + "node_modules/type-is": { | ||
672 | + "version": "1.6.18", | ||
673 | + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", | ||
674 | + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", | ||
675 | + "dependencies": { | ||
676 | + "media-typer": "0.3.0", | ||
677 | + "mime-types": "~2.1.24" | ||
678 | + }, | ||
679 | + "engines": { | ||
680 | + "node": ">= 0.6" | ||
681 | + } | ||
682 | + }, | ||
683 | + "node_modules/unpipe": { | ||
684 | + "version": "1.0.0", | ||
685 | + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", | ||
686 | + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", | ||
687 | + "engines": { | ||
688 | + "node": ">= 0.8" | ||
689 | + } | ||
690 | + }, | ||
691 | + "node_modules/util-deprecate": { | ||
692 | + "version": "1.0.2", | ||
693 | + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", | ||
694 | + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" | ||
695 | + }, | ||
696 | + "node_modules/utils-merge": { | ||
697 | + "version": "1.0.1", | ||
698 | + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", | ||
699 | + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", | ||
700 | + "engines": { | ||
701 | + "node": ">= 0.4.0" | ||
702 | + } | ||
703 | + }, | ||
704 | + "node_modules/vary": { | ||
705 | + "version": "1.1.2", | ||
706 | + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", | ||
707 | + "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", | ||
708 | + "engines": { | ||
709 | + "node": ">= 0.8" | ||
710 | + } | ||
711 | + } | ||
712 | + }, | ||
6 | "dependencies": { | 713 | "dependencies": { |
7 | "accepts": { | 714 | "accepts": { |
8 | "version": "1.3.7", | 715 | "version": "1.3.7", | ... | ... |
public/images/favicon-16x16.png
0 → 100644
1.21 KB
public/images/favicon.ico
0 → 100644
No preview for this file type
1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
2 | <html> | 2 | <html> |
3 | - <head> | 3 | + |
4 | +<head> | ||
4 | <title> | 5 | <title> |
5 | <%= title%> | 6 | <%= title%> |
6 | <script> | 7 | <script> |
... | @@ -8,30 +9,32 @@ | ... | @@ -8,30 +9,32 @@ |
8 | </script> | 9 | </script> |
9 | </title> | 10 | </title> |
10 | <link rel="stylesheet" href='/stylesheets/mapPage_style.css' type="text/css"> | 11 | <link rel="stylesheet" href='/stylesheets/mapPage_style.css' type="text/css"> |
12 | + <link rel="shortcut icon" href="/images/favicon.ico"> | ||
13 | + <link rel="icon" href="/images/favicon.ico"> | ||
11 | <script src="https://developers.kakao.com/sdk/js/kakao.js"></script> | 14 | <script src="https://developers.kakao.com/sdk/js/kakao.js"></script> |
12 | <script> | 15 | <script> |
13 | Kakao.init('0678e32dab56db1c52ac63ab4ccb7663') | 16 | Kakao.init('0678e32dab56db1c52ac63ab4ccb7663') |
14 | - function sendLink(id){ | 17 | + function sendLink(id) { |
15 | - var data=[]; | 18 | + var data = []; |
16 | var strData = "<%= data %>"; | 19 | var strData = "<%= data %>"; |
17 | - var splitData=strData.split(','); | 20 | + var splitData = strData.split(','); |
18 | - for(var i=0;i<splitData.length;i+=5){ | 21 | + for (var i = 0; i < splitData.length; i += 5) { |
19 | - data.push([Number(splitData[i]),splitData[i+1],Number(splitData[i+2]),Number(splitData[i+3]),splitData[i+4],splitData[i+5]]); | 22 | + data.push([Number(splitData[i]), splitData[i + 1], Number(splitData[i + 2]), Number(splitData[i + 3]), splitData[i + 4], splitData[i + 5]]); |
20 | } | 23 | } |
21 | var index; | 24 | var index; |
22 | - for(var i=0;i<data.length;i++){ | 25 | + for (var i = 0; i < data.length; i++) { |
23 | console.log(data.length); | 26 | console.log(data.length); |
24 | - if(data[i][0]===id){ | 27 | + if (data[i][0] === id) { |
25 | - index=i; | 28 | + index = i; |
26 | Kakao.Link.sendDefault({ | 29 | Kakao.Link.sendDefault({ |
27 | objectType: 'location', | 30 | objectType: 'location', |
28 | address: `${data[i][5]}`, | 31 | address: `${data[i][5]}`, |
29 | addressTitle: `${data[i][1]}`, | 32 | addressTitle: `${data[i][1]}`, |
30 | - content:{ | 33 | + content: { |
31 | title: `공연 이름: ${data[i][1]}\n공연 위치: ${data[i][5]}`, | 34 | title: `공연 이름: ${data[i][1]}\n공연 위치: ${data[i][5]}`, |
32 | - description: `${splitData[i+2]}`, | 35 | + description: `${splitData[i + 2]}`, |
33 | - imageUrl:'https://ifh.cc/g/aEvr86.png', | 36 | + imageUrl: 'https://ifh.cc/g/aEvr86.png', |
34 | - link:{ | 37 | + link: { |
35 | mobileWebUrl: 'http://naver.com', | 38 | mobileWebUrl: 'http://naver.com', |
36 | webUrl: 'http://naver.com', | 39 | webUrl: 'http://naver.com', |
37 | }, | 40 | }, |
... | @@ -51,8 +54,9 @@ | ... | @@ -51,8 +54,9 @@ |
51 | 54 | ||
52 | } | 55 | } |
53 | </script> | 56 | </script> |
54 | - </head> | 57 | +</head> |
55 | - <body> | 58 | + |
59 | +<body> | ||
56 | <header> | 60 | <header> |
57 | <div class="nav-bar"> | 61 | <div class="nav-bar"> |
58 | <img src="../images/icon.png" alt="" class="logo"> | 62 | <img src="../images/icon.png" alt="" class="logo"> |
... | @@ -72,9 +76,8 @@ | ... | @@ -72,9 +76,8 @@ |
72 | 76 | ||
73 | </div> | 77 | </div> |
74 | 78 | ||
75 | - <div class= "box1"> | 79 | + <div class="box1"> |
76 | - <div id="map" | 80 | + <div id="map" style=" |
77 | - style=" | ||
78 | position: absolute; | 81 | position: absolute; |
79 | border-radius: 5%; | 82 | border-radius: 5%; |
80 | width:500px; height:60vh; | 83 | width:500px; height:60vh; |
... | @@ -89,7 +92,7 @@ | ... | @@ -89,7 +92,7 @@ |
89 | <div style="position:absolute; top: 110vh; width:100%; color: #000;"> | 92 | <div style="position:absolute; top: 110vh; width:100%; color: #000;"> |
90 | <h2 style="text-align:center;"> 찾은 공연 </h2> | 93 | <h2 style="text-align:center;"> 찾은 공연 </h2> |
91 | </div> | 94 | </div> |
92 | - <table class="table" > | 95 | + <table class="table"> |
93 | <tr> | 96 | <tr> |
94 | <th>id</th> | 97 | <th>id</th> |
95 | <th>행사 이름</th> | 98 | <th>행사 이름</th> |
... | @@ -106,22 +109,23 @@ | ... | @@ -106,22 +109,23 @@ |
106 | 109 | ||
107 | 110 | ||
108 | 111 | ||
109 | - <script type="text/javascript" src="//dapi.kakao.com/v2/maps/sdk.js?appkey=a3386042ab2e0550ea06d265855b452c"></script> | 112 | + <script type="text/javascript" |
110 | -<script> | 113 | + src="//dapi.kakao.com/v2/maps/sdk.js?appkey=a3386042ab2e0550ea06d265855b452c"></script> |
111 | - var dataContainer=document.getElementById('map-data'); | 114 | + <script> |
112 | -var mapContainer = document.getElementById('map'), // 지도를 표시할 div | 115 | + var dataContainer = document.getElementById('map-data'); |
116 | + var mapContainer = document.getElementById('map'), // 지도를 표시할 div | ||
113 | mapOption = { | 117 | mapOption = { |
114 | center: new kakao.maps.LatLng(33.450701, 126.570667), // 지도의 중심좌표 | 118 | center: new kakao.maps.LatLng(33.450701, 126.570667), // 지도의 중심좌표 |
115 | level: 10 // 지도의 확대 레벨 | 119 | level: 10 // 지도의 확대 레벨 |
116 | }; | 120 | }; |
117 | 121 | ||
118 | -var map = new kakao.maps.Map(mapContainer, mapOption); // 지도를 생성합니다 | 122 | + var map = new kakao.maps.Map(mapContainer, mapOption); // 지도를 생성합니다 |
119 | 123 | ||
120 | -// HTML5의 geolocation으로 사용할 수 있는지 확인합니다 | 124 | + // HTML5의 geolocation으로 사용할 수 있는지 확인합니다 |
121 | -if (navigator.geolocation) { | 125 | + if (navigator.geolocation) { |
122 | 126 | ||
123 | // GeoLocation을 이용해서 접속 위치를 얻어옵니다 | 127 | // GeoLocation을 이용해서 접속 위치를 얻어옵니다 |
124 | - navigator.geolocation.getCurrentPosition(function(position) { | 128 | + navigator.geolocation.getCurrentPosition(function (position) { |
125 | 129 | ||
126 | var lat = position.coords.latitude, // 위도 | 130 | var lat = position.coords.latitude, // 위도 |
127 | lon = position.coords.longitude; // 경도 | 131 | lon = position.coords.longitude; // 경도 |
... | @@ -129,23 +133,23 @@ if (navigator.geolocation) { | ... | @@ -129,23 +133,23 @@ if (navigator.geolocation) { |
129 | var locPosition = new kakao.maps.LatLng(lat, lon), // 마커가 표시될 위치를 geolocation으로 얻어온 좌표로 생성합니다 | 133 | var locPosition = new kakao.maps.LatLng(lat, lon), // 마커가 표시될 위치를 geolocation으로 얻어온 좌표로 생성합니다 |
130 | message = '<div style="padding:5px;">내 위치</div>'; // 인포윈도우에 표시될 내용입니다 | 134 | message = '<div style="padding:5px;">내 위치</div>'; // 인포윈도우에 표시될 내용입니다 |
131 | displayMarker(locPosition, message); | 135 | displayMarker(locPosition, message); |
132 | - function funcA(){ | 136 | + function funcA() { |
133 | alert("hi"); | 137 | alert("hi"); |
134 | } | 138 | } |
135 | - var data=[]; | 139 | + var data = []; |
136 | var strData = "<%= data %>"; | 140 | var strData = "<%= data %>"; |
137 | - var splitData=strData.split(','); | 141 | + var splitData = strData.split(','); |
138 | - for(var i=0;i<splitData.length;i+=5){ | 142 | + for (var i = 0; i < splitData.length; i += 5) { |
139 | - data.push([Number(splitData[i]),splitData[i+1],Number(splitData[i+2]),Number(splitData[i+3]),splitData[i+4],splitData[i+5]]); | 143 | + data.push([Number(splitData[i]), splitData[i + 1], Number(splitData[i + 2]), Number(splitData[i + 3]), splitData[i + 4], splitData[i + 5]]); |
140 | } | 144 | } |
141 | for (var i = 0; i < data.length; i++) { | 145 | for (var i = 0; i < data.length; i++) { |
142 | var latgap = (lat - data[i][2]) * 110; | 146 | var latgap = (lat - data[i][2]) * 110; |
143 | var longap = (lon - data[i][3]) * 91; | 147 | var longap = (lon - data[i][3]) * 91; |
144 | var cal = latgap * latgap + longap * longap; | 148 | var cal = latgap * latgap + longap * longap; |
145 | if (cal <= 1600) { | 149 | if (cal <= 1600) { |
146 | - var locP=new kakao.maps.LatLng(data[i][2], data[i][3]), | 150 | + var locP = new kakao.maps.LatLng(data[i][2], data[i][3]), |
147 | message = `${data[i][0]} : ${data[i][1]}`; | 151 | message = `${data[i][0]} : ${data[i][1]}`; |
148 | - displayShowMarker(locP,message); | 152 | + displayShowMarker(locP, message); |
149 | var row = `<tr> | 153 | var row = `<tr> |
150 | <td> ${data[i][0]}</td> | 154 | <td> ${data[i][0]}</td> |
151 | <td> ${data[i][1]}</td> | 155 | <td> ${data[i][1]}</td> |
... | @@ -155,7 +159,7 @@ if (navigator.geolocation) { | ... | @@ -155,7 +159,7 @@ if (navigator.geolocation) { |
155 | <td> <input type="button" onclick="sendLink(${data[i][0]})" value="전송하기"> </td> | 159 | <td> <input type="button" onclick="sendLink(${data[i][0]})" value="전송하기"> </td> |
156 | 160 | ||
157 | </tr>` | 161 | </tr>` |
158 | - dataContainer.innerHTML+=row; | 162 | + dataContainer.innerHTML += row; |
159 | } | 163 | } |
160 | } | 164 | } |
161 | // | 165 | // |
... | @@ -164,21 +168,21 @@ if (navigator.geolocation) { | ... | @@ -164,21 +168,21 @@ if (navigator.geolocation) { |
164 | 168 | ||
165 | }); | 169 | }); |
166 | 170 | ||
167 | -} else { // HTML5의 GeoLocation을 사용할 수 없을때 마커 표시 위치와 인포윈도우 내용을 설정합니다 | 171 | + } else { // HTML5의 GeoLocation을 사용할 수 없을때 마커 표시 위치와 인포윈도우 내용을 설정합니다 |
168 | 172 | ||
169 | var locPosition = new kakao.maps.LatLng(33.450701, 126.570667), | 173 | var locPosition = new kakao.maps.LatLng(33.450701, 126.570667), |
170 | message = 'geolocation을 사용할수 없어요..' | 174 | message = 'geolocation을 사용할수 없어요..' |
171 | 175 | ||
172 | displayMarker(locPosition, message); | 176 | displayMarker(locPosition, message); |
173 | -} | 177 | + } |
174 | -function displayShowMarker(locPosition,message){ | 178 | + function displayShowMarker(locPosition, message) { |
175 | var imageSrc = "https://t1.daumcdn.net/localimg/localimages/07/mapapidoc/markerStar.png"; | 179 | var imageSrc = "https://t1.daumcdn.net/localimg/localimages/07/mapapidoc/markerStar.png"; |
176 | 180 | ||
177 | 181 | ||
178 | var imageSize = new kakao.maps.Size(24, 35); | 182 | var imageSize = new kakao.maps.Size(24, 35); |
179 | 183 | ||
180 | -// 마커 이미지를 생성합니다 | 184 | + // 마커 이미지를 생성합니다 |
181 | -var markerImage = new kakao.maps.MarkerImage(imageSrc, imageSize); | 185 | + var markerImage = new kakao.maps.MarkerImage(imageSrc, imageSize); |
182 | var marker = new kakao.maps.Marker({ | 186 | var marker = new kakao.maps.Marker({ |
183 | map: map, | 187 | map: map, |
184 | position: locPosition, | 188 | position: locPosition, |
... | @@ -189,9 +193,9 @@ var markerImage = new kakao.maps.MarkerImage(imageSrc, imageSize); | ... | @@ -189,9 +193,9 @@ var markerImage = new kakao.maps.MarkerImage(imageSrc, imageSize); |
189 | // 지도 중심좌표를 접속위치로 변경합니다 | 193 | // 지도 중심좌표를 접속위치로 변경합니다 |
190 | map.setCenter(locPosition); | 194 | map.setCenter(locPosition); |
191 | 195 | ||
192 | -} | 196 | + } |
193 | -// 지도에 마커와 인포윈도우를 표시하는 함수입니다 | 197 | + // 지도에 마커와 인포윈도우를 표시하는 함수입니다 |
194 | -function displayMarker(locPosition, message) { | 198 | + function displayMarker(locPosition, message) { |
195 | 199 | ||
196 | // 마커를 생성합니다 | 200 | // 마커를 생성합니다 |
197 | var marker = new kakao.maps.Marker({ | 201 | var marker = new kakao.maps.Marker({ |
... | @@ -204,8 +208,8 @@ function displayMarker(locPosition, message) { | ... | @@ -204,8 +208,8 @@ function displayMarker(locPosition, message) { |
204 | 208 | ||
205 | // 인포윈도우를 생성합니다 | 209 | // 인포윈도우를 생성합니다 |
206 | var infowindow = new kakao.maps.InfoWindow({ | 210 | var infowindow = new kakao.maps.InfoWindow({ |
207 | - content : iwContent, | 211 | + content: iwContent, |
208 | - removable : iwRemoveable | 212 | + removable: iwRemoveable |
209 | }); | 213 | }); |
210 | 214 | ||
211 | // 인포윈도우를 마커위에 표시합니다 | 215 | // 인포윈도우를 마커위에 표시합니다 |
... | @@ -213,10 +217,10 @@ function displayMarker(locPosition, message) { | ... | @@ -213,10 +217,10 @@ function displayMarker(locPosition, message) { |
213 | 217 | ||
214 | // 지도 중심좌표를 접속위치로 변경합니다 | 218 | // 지도 중심좌표를 접속위치로 변경합니다 |
215 | map.setCenter(locPosition); | 219 | map.setCenter(locPosition); |
216 | -} | 220 | + } |
217 | -</script> | 221 | + </script> |
218 | 222 | ||
219 | -<div style="position:absolute; top:200vh"> _ </div> | 223 | + <div style="position:absolute; top:200vh"> _ </div> |
220 | - </body> | 224 | +</body> |
221 | 225 | ||
222 | </html> | 226 | </html> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -8,6 +8,8 @@ | ... | @@ -8,6 +8,8 @@ |
8 | <meta charset="UTF-8"> | 8 | <meta charset="UTF-8"> |
9 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | 9 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
10 | <link rel="stylesheet" href='/stylesheets/mapPage_style.css' type="text/css"> | 10 | <link rel="stylesheet" href='/stylesheets/mapPage_style.css' type="text/css"> |
11 | + <link rel="shortcut icon" href="/images/favicon.ico"> | ||
12 | + <link rel="icon" href="/images/favicon.ico"> | ||
11 | </head> | 13 | </head> |
12 | 14 | ||
13 | <body> | 15 | <body> | ... | ... |
... | @@ -3,6 +3,8 @@ | ... | @@ -3,6 +3,8 @@ |
3 | <head> | 3 | <head> |
4 | <title>Culture Gallery</title> | 4 | <title>Culture Gallery</title> |
5 | <link rel="stylesheet" href='/stylesheets/login_style.css' type="text/css"> | 5 | <link rel="stylesheet" href='/stylesheets/login_style.css' type="text/css"> |
6 | + <link rel="shortcut icon" href="/images/favicon.ico"> | ||
7 | + <link rel="icon" href="/images/favicon.ico"> | ||
6 | <script src="https://developers.kakao.com/sdk/js/kakao.js"></script> | 8 | <script src="https://developers.kakao.com/sdk/js/kakao.js"></script> |
7 | 9 | ||
8 | </head> | 10 | </head> | ... | ... |
... | @@ -3,6 +3,9 @@ | ... | @@ -3,6 +3,9 @@ |
3 | <head> | 3 | <head> |
4 | <title>Culture Gallery</title> | 4 | <title>Culture Gallery</title> |
5 | <link rel="stylesheet" href='/stylesheets/main_style.css' type="text/css"> | 5 | <link rel="stylesheet" href='/stylesheets/main_style.css' type="text/css"> |
6 | + <link rel="shortcut icon" href="/images/favicon.ico"> | ||
7 | + <link rel="icon" href="/images/favicon.ico"> | ||
8 | + | ||
6 | </head> | 9 | </head> |
7 | 10 | ||
8 | <body> | 11 | <body> |
... | @@ -18,9 +21,7 @@ | ... | @@ -18,9 +21,7 @@ |
18 | <li><a href="">Contact</a></li> | 21 | <li><a href="">Contact</a></li> |
19 | </ul> | 22 | </ul> |
20 | </div> | 23 | </div> |
21 | - <div class="title"> | 24 | + |
22 | - <h1>Culture Gallery</h1> | ||
23 | - </div> | ||
24 | <div class="welcome"> | 25 | <div class="welcome"> |
25 | <h1>어떤 공연을 찾으시나요?</h1> | 26 | <h1>어떤 공연을 찾으시나요?</h1> |
26 | <div class="search-box"> | 27 | <div class="search-box"> | ... | ... |
... | @@ -6,6 +6,9 @@ | ... | @@ -6,6 +6,9 @@ |
6 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | 6 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
7 | <title>Culture Gallery</title> | 7 | <title>Culture Gallery</title> |
8 | <link rel="stylesheet" href='/stylesheets/login_style.css' type="text/css"> | 8 | <link rel="stylesheet" href='/stylesheets/login_style.css' type="text/css"> |
9 | + <link rel="shortcut icon" href="/images/favicon.ico"> | ||
10 | + <link rel="icon" href="/images/favicon.ico"> | ||
11 | + | ||
9 | <script src="https://developers.kakao.com/sdk/js/kakao.js"></script> | 12 | <script src="https://developers.kakao.com/sdk/js/kakao.js"></script> |
10 | </head> | 13 | </head> |
11 | 14 | ... | ... |
... | @@ -5,6 +5,8 @@ | ... | @@ -5,6 +5,8 @@ |
5 | <meta charset="utf-8" /> | 5 | <meta charset="utf-8" /> |
6 | <title>send page title</title> | 6 | <title>send page title</title> |
7 | <script src="https://developers.kakao.com/sdk/js/kakao.js"></script> | 7 | <script src="https://developers.kakao.com/sdk/js/kakao.js"></script> |
8 | + <link rel="shortcut icon" href="/images/favicon.ico"> | ||
9 | + <link rel="icon" href="/images/favicon.ico"> | ||
8 | <script src="../javascripts/send.js"></script> | 10 | <script src="../javascripts/send.js"></script> |
9 | </head> | 11 | </head> |
10 | 12 | ... | ... |
-
Please register or login to post a comment