Showing
10 changed files
with
141 additions
and
73 deletions
... | @@ -160,15 +160,9 @@ router.post('/', function(req, res) { | ... | @@ -160,15 +160,9 @@ router.post('/', function(req, res) { |
160 | user_gu = req.body.gu; | 160 | user_gu = req.body.gu; |
161 | user_dong = req.body.dong; | 161 | user_dong = req.body.dong; |
162 | userLocation = `${user_sigun} ${user_gu} ${user_dong}`; | 162 | userLocation = `${user_sigun} ${user_gu} ${user_dong}`; |
163 | - if (user_gu == '') { | 163 | + console.log(user_sigun); |
164 | - user_target = user_dong; | 164 | + console.log(user_gu); |
165 | - } else { | 165 | + console.log(user_dong); |
166 | - user_target = user_gu; | ||
167 | - } | ||
168 | - console.log('user_sigun', user_sigun); | ||
169 | - console.log('user_gu', user_gu); | ||
170 | - console.log('user_dong', user_dong); | ||
171 | - | ||
172 | let KAKAO_API_KEY = process.env.KAKAO_APIKEY; | 166 | let KAKAO_API_KEY = process.env.KAKAO_APIKEY; |
173 | let kakaoOptions = { | 167 | let kakaoOptions = { |
174 | url: 'https://dapi.kakao.com/v2/local/search/address.json', | 168 | url: 'https://dapi.kakao.com/v2/local/search/address.json', |
... | @@ -195,8 +189,8 @@ router.post('/', function(req, res) { | ... | @@ -195,8 +189,8 @@ router.post('/', function(req, res) { |
195 | var result = JSON.parse(body); | 189 | var result = JSON.parse(body); |
196 | console.log('result', result); | 190 | console.log('result', result); |
197 | user_latitude = result.documents[0].address.x; | 191 | user_latitude = result.documents[0].address.x; |
198 | - user_longitude = result.documents[0].address.y; | 192 | + user_logitude = result.documents[0].address.y; |
199 | - console.log('위도, 경도', user_latitude, user_longitude); | 193 | + console.log('위도, 경도', user_latitude, user_logitude); |
200 | } | 194 | } |
201 | }) | 195 | }) |
202 | res.render('category', { userLocation: userLocation }); | 196 | res.render('category', { userLocation: userLocation }); |
... | @@ -221,7 +215,7 @@ router.get('/food', function(req, res) { | ... | @@ -221,7 +215,7 @@ router.get('/food', function(req, res) { |
221 | for (let i = 0; i < food_result.PlaceThatDoATasteyFoodSt[1].row.length; i++) { | 215 | for (let i = 0; i < food_result.PlaceThatDoATasteyFoodSt[1].row.length; i++) { |
222 | // 상호명, 음식명, 전화번호, 도로명주소(REFINE_ROADNM_ADDR), 지번 주소(REFINE_LOTNO_ADDR) | 216 | // 상호명, 음식명, 전화번호, 도로명주소(REFINE_ROADNM_ADDR), 지번 주소(REFINE_LOTNO_ADDR) |
223 | store = food_result.PlaceThatDoATasteyFoodSt[1].row[i]; | 217 | store = food_result.PlaceThatDoATasteyFoodSt[1].row[i]; |
224 | - if (userArea(store, 'REFINE_LOTNO_ADDR', user_target)) { | 218 | + if (userArea(store, 'REFINE_LOTNO_ADDR', user_dong)) { |
225 | console.log('store', store); | 219 | console.log('store', store); |
226 | stores.push(store); | 220 | stores.push(store); |
227 | } | 221 | } |
... | @@ -238,12 +232,12 @@ router.get('/food', function(req, res) { | ... | @@ -238,12 +232,12 @@ router.get('/food', function(req, res) { |
238 | for (let i = 0; i < fast_food_result.Genrestrtfastfood[1].row.length; i++) { | 232 | for (let i = 0; i < fast_food_result.Genrestrtfastfood[1].row.length; i++) { |
239 | fast_food_store = fast_food_result.Genrestrtfastfood[1].row[i]; | 233 | fast_food_store = fast_food_result.Genrestrtfastfood[1].row[i]; |
240 | // 폐업인 지점 제외 | 234 | // 폐업인 지점 제외 |
241 | - if (fast_food_store['BSN_STATE_NM'] != '폐업' && userArea(fast_food_store, 'REFINE_LOTNO_ADDR', user_target)) { | 235 | + if (fast_food_store['BSN_STATE_NM'] != '폐업' && userArea(fast_food_store, 'REFINE_LOTNO_ADDR', user_dong)) { |
242 | console.log('fast_store_name', fast_food_store); | 236 | console.log('fast_store_name', fast_food_store); |
243 | fast_food_stores.push(fast_food_store); | 237 | fast_food_stores.push(fast_food_store); |
244 | } | 238 | } |
245 | } | 239 | } |
246 | - res.render('result', { category: 'food', stores: stores, fast_food_stores: fast_food_stores, userLocation: userLocation, grade: 'A' }); | 240 | + res.render('food_result', { stores: stores, fast_food_stores: fast_food_stores }); |
247 | } | 241 | } |
248 | 242 | ||
249 | }) | 243 | }) |
... | @@ -267,7 +261,7 @@ router.get('/school', function(req, res) { | ... | @@ -267,7 +261,7 @@ router.get('/school', function(req, res) { |
267 | let librarys = []; | 261 | let librarys = []; |
268 | for (let i = 0; i < library_result.Tbggibllbrm[1].row.length; i++) { | 262 | for (let i = 0; i < library_result.Tbggibllbrm[1].row.length; i++) { |
269 | library = library_result.Tbggibllbrm[1].row[i]; | 263 | library = library_result.Tbggibllbrm[1].row[i]; |
270 | - if (userArea(library, 'REFINE_LOTNO_ADDR', user_target)) { | 264 | + if (userArea(library, 'REFINE_LOTNO_ADDR', user_dong)) { |
271 | console.log('library', library); | 265 | console.log('library', library); |
272 | librarys.push(library); | 266 | librarys.push(library); |
273 | } | 267 | } |
... | @@ -283,12 +277,12 @@ router.get('/school', function(req, res) { | ... | @@ -283,12 +277,12 @@ router.get('/school', function(req, res) { |
283 | let institutes = []; | 277 | let institutes = []; |
284 | for (let i = 0; i < institute_result.TninsttInstutM[1].row.length; i++) { | 278 | for (let i = 0; i < institute_result.TninsttInstutM[1].row.length; i++) { |
285 | institute = institute_result.TninsttInstutM[1].row[i]; | 279 | institute = institute_result.TninsttInstutM[1].row[i]; |
286 | - if (userArea(institute, 'REFINE_LOTNO_ADDR', user_target)) { | 280 | + if (userArea(institute, 'REFINE_LOTNO_ADDR', user_dong)) { |
287 | console.log('institute', institute); | 281 | console.log('institute', institute); |
288 | institutes.push(institute); | 282 | institutes.push(institute); |
289 | } | 283 | } |
290 | } | 284 | } |
291 | - res.render('result', { category: 'school', librarys: librarys, institutes: institutes, userLocation: userLocation, grade: 'A' }); | 285 | + res.render('school_result', { librarys: librarys, institutes: institutes }); |
292 | } | 286 | } |
293 | }) | 287 | }) |
294 | } | 288 | } |
... | @@ -310,57 +304,66 @@ router.get('/park', function(req, res) { | ... | @@ -310,57 +304,66 @@ router.get('/park', function(req, res) { |
310 | let city_parks = []; | 304 | let city_parks = []; |
311 | for (let i = 0; i < city_park_result.CityPark[1].row.length; i++) { | 305 | for (let i = 0; i < city_park_result.CityPark[1].row.length; i++) { |
312 | city_park = city_park_result.CityPark[1].row[i]; | 306 | city_park = city_park_result.CityPark[1].row[i]; |
313 | - if (userArea(city_park, 'REFINE_LOTNO_ADDR', user_target)) { | 307 | + if (userArea(city_park, 'REFINE_LOTNO_ADDR', user_dong)) { |
314 | city_parks.push(city_park); | 308 | city_parks.push(city_park); |
315 | } | 309 | } |
316 | } | 310 | } |
317 | - res.render('result', { category: 'park', city_parks: city_parks, userLocation: userLocation, grade: 'A' }); | 311 | + res.render('park_result', { city_parks: city_parks }); |
318 | } | 312 | } |
313 | + | ||
314 | + // if (park_result.CityPark[0].head[1].RESULT.CODE == 'INFO-000') { | ||
315 | + // cityparknum = park_result.CityPark[0].head[0].list_total_count; | ||
316 | + // console.log(cityparknum + "개의 도시공원이 존재합니다."); | ||
317 | + // res.send(String(cityparknum) + "개의 도시공원이 존재합니다."); | ||
318 | + // } else { | ||
319 | + // res.send("도시공원이 없습니다."); | ||
320 | + // } | ||
319 | }) | 321 | }) |
320 | }); | 322 | }); |
321 | 323 | ||
322 | -router.get('/transport', function(req, res) { | 324 | +router.get('/transport', function (req, res) { |
323 | - | 325 | + let apikey=process.env.ODSAY_APIKEY |
324 | 326 | ||
325 | - let bus_url = 'https://api.odsay.com/v1/api/pointSearch?'; | 327 | + let bus_url = 'https://api.odsay.com/v1/api/pointSearch?lang=0&x=' + user_latitude + '&y=' + user_logitude + '&radius=500&stationClass=1&apiKey=' + apikey; |
326 | - let subway_url = 'https://api.odsay.com/v1/api/pointSearch?'; | 328 | + let subway_url = 'https://api.odsay.com/v1/api/pointSearch?lang=0&x=' + user_latitude + '&y=' + user_logitude + '&radius=1000&stationClass=2&apiKey=' + apikey; |
327 | - let qs = `?lang=0&x=${user_latitude}&y=${user_longitude}&radius=1000&stationClass=2&apiKey=${ODSAY_API_KEY}`; | ||
328 | let busCnt = 0; | 329 | let busCnt = 0; |
329 | - let subwayCnt = 0; | 330 | + let subwayCnt=0; |
330 | console.log(bus_url); | 331 | console.log(bus_url); |
331 | 332 | ||
333 | + | ||
332 | request({ | 334 | request({ |
333 | - url: bus_url + qs, | 335 | + url: bus_url, |
334 | method: 'GET' | 336 | method: 'GET' |
335 | - }, function(err, response, body) { | 337 | + }, function (err, response, body) { |
336 | 338 | ||
337 | if (!err && res.statusCode == 200) { | 339 | if (!err && res.statusCode == 200) { |
338 | //console.log("inside"); | 340 | //console.log("inside"); |
339 | let bus_result = JSON.parse(body); | 341 | let bus_result = JSON.parse(body); |
340 | - // console.log('bus_result', bus_result.result.station); | 342 | + //console.log(bus_result); |
341 | let busStations = []; | 343 | let busStations = []; |
342 | - console.log(bus_result.result) | 344 | + busCnt = bus_result.result.count; |
343 | - for (let i = 0; i < bus_result.result.station.length; i++) { | 345 | + console.log('in!'); |
344 | - station = bus_result.result.station[i]; | 346 | + for (var i = 0; i < busCnt; i++) { |
345 | - console.log('station', station) | 347 | + busStations.push(bus_result.result.station[i].stationName); |
346 | - busStations.push(station); | ||
347 | } | 348 | } |
348 | - console.log('busStations', busStations); | 349 | + console.log(busStations); |
349 | request({ | 350 | request({ |
350 | - url: subway_url + qs, | 351 | + url: subway_url, |
351 | method: 'GET' | 352 | method: 'GET' |
352 | - }, function(err, response, body) { | 353 | + }, function (err, response, body) { |
353 | if (!err && res.statusCode == 200) { | 354 | if (!err && res.statusCode == 200) { |
354 | let subway_result = JSON.parse(body); | 355 | let subway_result = JSON.parse(body); |
355 | let subwayStations = []; | 356 | let subwayStations = []; |
356 | - console.log('subway_result', subway_result); | 357 | + subwayCnt = subway_result.result.count; |
357 | - for (let i = 0; i < subway_result.result.station.length; i++) { | 358 | + console.log("지하철역 개수:" + subwayCnt); |
358 | - station = subway_result.result.station[i]; | 359 | + console.log('in3!'); |
359 | - subwayStations.push(station); | 360 | + for (var i = 0; i < subwayCnt; i++) { |
361 | + console.log(subway_result.result.station[i]); | ||
362 | + subwayStations.push(subway_result.result.station[i].stationName); | ||
360 | } | 363 | } |
361 | console.log(busStations); | 364 | console.log(busStations); |
362 | - console.log('subwayStaions', subwayStations); | 365 | + console.log(subwayStations); |
363 | - res.render('result', { category: 'transport', busStations: busStations, subwayStations: subwayStations, userLocation: userLocation, grade: 'A' }) | 366 | + res.render('transport',{busCnt:busCnt, busStations:busStations, subwayCnt:subwayCnt, subwayStations:subwayStations, total:busCnt+subwayCnt}) |
364 | } | 367 | } |
365 | }) | 368 | }) |
366 | 369 | ||
... | @@ -368,6 +371,7 @@ router.get('/transport', function(req, res) { | ... | @@ -368,6 +371,7 @@ router.get('/transport', function(req, res) { |
368 | }) | 371 | }) |
369 | 372 | ||
370 | }); | 373 | }); |
374 | + | ||
371 | router.get('/safe', function(req, res) { | 375 | router.get('/safe', function(req, res) { |
372 | 376 | ||
373 | let cctv_url = 'https://openapi.gg.go.kr/CCTV'; | 377 | let cctv_url = 'https://openapi.gg.go.kr/CCTV'; |
... | @@ -383,7 +387,7 @@ router.get('/safe', function(req, res) { | ... | @@ -383,7 +387,7 @@ router.get('/safe', function(req, res) { |
383 | console.log(cctv_result); | 387 | console.log(cctv_result); |
384 | for (let i = 0; i < cctv_result.CCTV[1].row.length; i++) { | 388 | for (let i = 0; i < cctv_result.CCTV[1].row.length; i++) { |
385 | cctv = cctv_result.CCTV[1].row[i]; | 389 | cctv = cctv_result.CCTV[1].row[i]; |
386 | - if (userArea(cctv, 'REFINE_LOTNO_ADDR', user_target)) { | 390 | + if (userArea(cctv, 'REFINE_LOTNO_ADDR', user_dong)) { |
387 | console.log('cctv', cctv); | 391 | console.log('cctv', cctv); |
388 | cctvs.push(cctv); | 392 | cctvs.push(cctv); |
389 | } | 393 | } |
... | @@ -398,12 +402,12 @@ router.get('/safe', function(req, res) { | ... | @@ -398,12 +402,12 @@ router.get('/safe', function(req, res) { |
398 | console.log(light_result); | 402 | console.log(light_result); |
399 | for (let i = 0; i < light_result.SECRTLGT[1].row.length; i++) { | 403 | for (let i = 0; i < light_result.SECRTLGT[1].row.length; i++) { |
400 | light = light_result.SECRTLGT[1].row[i]; | 404 | light = light_result.SECRTLGT[1].row[i]; |
401 | - if (userArea(light, 'REFINE_LOTNO_ADDR', user_target)) { | 405 | + if (userArea(light, 'REFINE_LOTNO_ADDR', user_dong)) { |
402 | console.log('light', light); | 406 | console.log('light', light); |
403 | lights.push(light); | 407 | lights.push(light); |
404 | } | 408 | } |
405 | } | 409 | } |
406 | - res.render('result', { category: 'safe', cctvs: cctvs, lights: lights, userLocation: userLocation, grade: 'A' }); | 410 | + res.render('safe_result', { cctvs: cctvs, lights: lights }); |
407 | } | 411 | } |
408 | }) | 412 | }) |
409 | } | 413 | } |
... | @@ -412,26 +416,26 @@ router.get('/safe', function(req, res) { | ... | @@ -412,26 +416,26 @@ router.get('/safe', function(req, res) { |
412 | }); | 416 | }); |
413 | 417 | ||
414 | router.get('/culture', function(req, res) { | 418 | router.get('/culture', function(req, res) { |
415 | - // 영화관 | 419 | + // 노래방 |
416 | - let movie_url = 'https://openapi.gg.go.kr/MovieTheater'; | 420 | + let sing_url = 'https://openapi.gg.go.kr/Songclub'; |
417 | let qs = `?Type=json&KEY=${GYEONGI_API_KEY}&SIGUN_CD=${SIGUN_CODE}`; | 421 | let qs = `?Type=json&KEY=${GYEONGI_API_KEY}&SIGUN_CD=${SIGUN_CODE}`; |
418 | request({ | 422 | request({ |
419 | - url: movie_url + qs, | 423 | + url: sing_url + qs, |
420 | method: 'GET' | 424 | method: 'GET' |
421 | }, function(err, response, body) { | 425 | }, function(err, response, body) { |
422 | if (!err && res.statusCode == 200) { | 426 | if (!err && res.statusCode == 200) { |
423 | - let movie_result = JSON.parse(body); | 427 | + let sing_result = JSON.parse(body); |
424 | - console.log(movie_result); | 428 | + console.log(sing_result); |
425 | - let movies = []; | 429 | + let sings = []; |
426 | - for (let i = 0; i < movie_result.MovieTheater[1].row.length; i++) { | 430 | + for (let i = 0; i < sing_result.Songclub[1].row.length; i++) { |
427 | - movie = movie_result.MovieTheater[1].row[i]; | 431 | + sing = sing_result.Songclub[1].row[i]; |
428 | // 폐업인 지점 제외 | 432 | // 폐업인 지점 제외 |
429 | - if (!movie['BSN_STATE_NM'].includes('폐업') && userArea(movie, 'REFINE_LOTNO_ADDR', user_target)) { | 433 | + if (!sing['BSN_STATE_NM'].includes('폐업') && userArea(sing, 'REFINE_LOTNO_ADDR', user_dong)) { |
430 | - console.log('movie', movie); | 434 | + console.log('sing', sing); |
431 | - movies.push(movie); | 435 | + sings.push(sing); |
432 | } | 436 | } |
433 | } | 437 | } |
434 | - res.render('result', { category: 'culture', movies: movies, userLocation: userLocation, grade: 'A' }); | 438 | + res.render('culture_result', { sings: sings }); |
435 | } | 439 | } |
436 | }); | 440 | }); |
437 | }); | 441 | }); |
... | @@ -451,12 +455,12 @@ router.get('/shop', function(req, res) { | ... | @@ -451,12 +455,12 @@ router.get('/shop', function(req, res) { |
451 | for (let i = 0; i < shop_result.MrktStoreM[1].row.length; i++) { | 455 | for (let i = 0; i < shop_result.MrktStoreM[1].row.length; i++) { |
452 | shop = shop_result.MrktStoreM[1].row[i]; | 456 | shop = shop_result.MrktStoreM[1].row[i]; |
453 | // 폐업인 지점 제외 | 457 | // 폐업인 지점 제외 |
454 | - if (userArea(shop, 'REFINE_LOTNO_ADDR', user_target)) { | 458 | + if (userArea(shop, 'REFINE_LOTNO_ADDR', user_dong)) { |
455 | console.log('shop', shop); | 459 | console.log('shop', shop); |
456 | shops.push(shop); | 460 | shops.push(shop); |
457 | } | 461 | } |
458 | } | 462 | } |
459 | - res.render('result', { category: 'shop', shops: shops, userLocation: userLocation, grade: 'A' }); | 463 | + res.render('shop_result', { shops: shops }); |
460 | } | 464 | } |
461 | 465 | ||
462 | }) | 466 | }) |
... | @@ -476,12 +480,12 @@ router.get('/gym', function(req, res) { | ... | @@ -476,12 +480,12 @@ router.get('/gym', function(req, res) { |
476 | for (let i = 0; i < gym_result.PhysicaFitnessTrainingPlace[1].row.length; i++) { | 480 | for (let i = 0; i < gym_result.PhysicaFitnessTrainingPlace[1].row.length; i++) { |
477 | gym = gym_result.PhysicaFitnessTrainingPlace[1].row[i]; | 481 | gym = gym_result.PhysicaFitnessTrainingPlace[1].row[i]; |
478 | console.log(gym); | 482 | console.log(gym); |
479 | - if (userArea(gym, 'REFINE_LOTNO_ADDR', user_target)) { | 483 | + if (userArea(gym, 'REFINE_LOTNO_ADDR', user_dong)) { |
480 | console.log('gym', gym); | 484 | console.log('gym', gym); |
481 | gyms.push(gym); | 485 | gyms.push(gym); |
482 | } | 486 | } |
483 | } | 487 | } |
484 | - res.render('result', { category: 'gym', gyms: gyms, userLocation: userLocation, grade: 'A' }); | 488 | + res.render('gym_result', { gyms: gyms }); |
485 | } | 489 | } |
486 | }) | 490 | }) |
487 | }); | 491 | }); | ... | ... |
... | @@ -10,6 +10,70 @@ | ... | @@ -10,6 +10,70 @@ |
10 | <link rel='stylesheet' href='/css/category.css'> | 10 | <link rel='stylesheet' href='/css/category.css'> |
11 | 11 | ||
12 | <title>📝 결과</title> | 12 | <title>📝 결과</title> |
13 | + <h1> | ||
14 | + 🥘 맛집 현황</h1> | ||
15 | +<table class="table"> | ||
16 | + <thead class="thead-dark"> | ||
17 | + <tr> | ||
18 | + <th>음식점명</th> | ||
19 | + <th>전화번호</th> | ||
20 | + <th>대표음식</th> | ||
21 | + <th>도로명주소</th> | ||
22 | + </tr> | ||
23 | + </thead> | ||
24 | + <tbody> | ||
25 | + <%for (var i =0; i <stores.length; i++){%> | ||
26 | + <tr> | ||
27 | + <td> | ||
28 | + <%=stores[i].RESTRT_NM%> | ||
29 | + </td> | ||
30 | + <td> | ||
31 | + <%=stores[i].TASTFDPLC_TELNO%> | ||
32 | + </td> | ||
33 | + <td> | ||
34 | + <%=stores[i].REPRSNT_FOOD_NM%> | ||
35 | + </td> | ||
36 | + <td> | ||
37 | + <%=stores[i].REFINE_ROADNM_ADDR%> | ||
38 | + </td> | ||
39 | + </tr> | ||
40 | + <%}%> | ||
41 | + </tbody> | ||
42 | +</table> | ||
43 | + | ||
44 | + | ||
45 | + | ||
46 | +<h3>총 맛집 개수 : | ||
47 | + <%=stores.length%> | ||
48 | +</h3> | ||
49 | + | ||
50 | + | ||
51 | +<h1>🍔 패스트푸드점 현황 </h1> | ||
52 | + | ||
53 | +<table class="table"> | ||
54 | + <thead class="thead-dark"> | ||
55 | + <tr> | ||
56 | + <th>사업장명</th> | ||
57 | + <th>도로명주소</th> | ||
58 | + </tr> | ||
59 | + </thead> | ||
60 | + <tbody> | ||
61 | + <%for (var i =0; i <fast_food_stores.length; i++){%> | ||
62 | + <tr> | ||
63 | + <td> | ||
64 | + <%=fast_food_stores[i].BIZPLC_NM%> | ||
65 | + </td> | ||
66 | + <td> | ||
67 | + <%=fast_food_stores[i].REFINE_ROADNM_ADDR%> | ||
68 | + </td> | ||
69 | + </tr> | ||
70 | + <%}%> | ||
71 | + </tbody> | ||
72 | +</table> | ||
73 | + | ||
74 | +<h3>패스트푸드점 개수 : | ||
75 | + <%=fast_food_stores.length%> | ||
76 | +</h3> | ||
13 | </head> | 77 | </head> |
14 | 78 | ||
15 | <body> | 79 | <body> | ... | ... |
1 | <h1> | 1 | <h1> |
2 | 🥘 맛집 현황</h1> | 2 | 🥘 맛집 현황</h1> |
3 | -<table class="table"> | 3 | + <thead class="thead-dark"> |
4 | <thead> | 4 | <thead> |
5 | <tr> | 5 | <tr> |
6 | <th>음식점명</th> | 6 | <th>음식점명</th> |
... | @@ -39,7 +39,7 @@ | ... | @@ -39,7 +39,7 @@ |
39 | <h1>🍔 패스트푸드점 현황 </h1> | 39 | <h1>🍔 패스트푸드점 현황 </h1> |
40 | 40 | ||
41 | <table class="table"> | 41 | <table class="table"> |
42 | - <thead> | 42 | + <thead class="thead-dark"> |
43 | <tr> | 43 | <tr> |
44 | <th>사업장명</th> | 44 | <th>사업장명</th> |
45 | <th>도로명주소</th> | 45 | <th>도로명주소</th> | ... | ... |
1 | <h1>📷 CCTV 현황</h1> | 1 | <h1>📷 CCTV 현황</h1> |
2 | 2 | ||
3 | <table class="table"> | 3 | <table class="table"> |
4 | - <thead> | 4 | + <thead class="thead-dark"> |
5 | <tr> | 5 | <tr> |
6 | <th>도로명주소</th> | 6 | <th>도로명주소</th> |
7 | <th>카메라대수</th> | 7 | <th>카메라대수</th> |
... | @@ -26,7 +26,7 @@ | ... | @@ -26,7 +26,7 @@ |
26 | <h1>💡 보안등 현황</h1> | 26 | <h1>💡 보안등 현황</h1> |
27 | 보안등 소재지 지번주소 : | 27 | 보안등 소재지 지번주소 : |
28 | <table class="table"> | 28 | <table class="table"> |
29 | - <thead> | 29 | + <thead class="thead-dark"> |
30 | <tr> | 30 | <tr> |
31 | <th>도로명주소</th> | 31 | <th>도로명주소</th> |
32 | <th>설치개수</th> | 32 | <th>설치개수</th> | ... | ... |
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | 2 | ||
3 | 3 | ||
4 | <table class="table"> | 4 | <table class="table"> |
5 | - <thead> | 5 | + <thead class="thead-dark"> |
6 | <tr> | 6 | <tr> |
7 | <th>도서관명</th> | 7 | <th>도서관명</th> |
8 | <th>도로명주소</th> | 8 | <th>도로명주소</th> |
... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
40 | <h1>📒 학원 현황 </h1> | 40 | <h1>📒 학원 현황 </h1> |
41 | 41 | ||
42 | <table class="table"> | 42 | <table class="table"> |
43 | - <thead> | 43 | + <thead class="thead-dark"> |
44 | <tr> | 44 | <tr> |
45 | <th>시설명</th> | 45 | <th>시설명</th> |
46 | <th>교습과정명</th> | 46 | <th>교습과정명</th> | ... | ... |
1 | <h1>🚌 버스 현황</h1> | 1 | <h1>🚌 버스 현황</h1> |
2 | 2 | ||
3 | <table class="table"> | 3 | <table class="table"> |
4 | - <thead> | 4 | + <thead class="thead-dark"> |
5 | <tr> | 5 | <tr> |
6 | <th>버스정류장명</th> | 6 | <th>버스정류장명</th> |
7 | <th>버스정류장ID</th> | 7 | <th>버스정류장ID</th> |
... | @@ -30,7 +30,7 @@ | ... | @@ -30,7 +30,7 @@ |
30 | <h1>🚆 지하철역 현황</h1> | 30 | <h1>🚆 지하철역 현황</h1> |
31 | 31 | ||
32 | <table class="table"> | 32 | <table class="table"> |
33 | - <thead> | 33 | + <thead class="thead-dark"> |
34 | <tr> | 34 | <tr> |
35 | <th>지하철역명</th> | 35 | <th>지하철역명</th> |
36 | <th>지하철역ID</th> | 36 | <th>지하철역ID</th> | ... | ... |
-
Please register or login to post a comment