diff --git a/index.html b/index.html index c0f279b..07a38ac 100644 --- a/index.html +++ b/index.html @@ -18,11 +18,30 @@ body { font-family: 'Segoe UI', sans-serif; display: flex; height: 100vh; color: #map { flex: 1; } .sb-header { - padding: 14px 16px 12px; border-bottom: 1px solid #d0d4dc; + padding: 12px 14px 10px; border-bottom: 1px solid #d0d4dc; background: #fff; } -.sb-header h1 { font-size: 19px; } -.sb-header h1 small { font-size: 12px; color: #666; font-weight: normal; } +.sb-header h1 { font-size: 18px; display: flex; align-items: center; gap: 6px; } +.sb-header h1 small { font-size: 11px; color: #666; font-weight: normal; } +.api-row { + display: flex; gap: 4px; margin-top: 6px; align-items: center; +} +.api-row input { + flex: 1; padding: 4px 6px; border: 1px solid #ccc; border-radius: 4px; + font-size: 11px; font-family: monospace; +} +.api-row button { + padding: 4px 8px; border: 1px solid #aaa; border-radius: 4px; + background: #fff; cursor: pointer; font-size: 11px; white-space: nowrap; +} +.api-row button:hover { background: #e9ecef; } +.api-row .api-status { + font-size: 10px; padding: 2px 6px; border-radius: 3px; + cursor: default; +} +.api-status.ok { background: #c6f6d5; color: #22543d; } +.api-status.warn { background: #fefcbf; color: #744210; } +.api-status.off { background: #fed7d7; color: #822727; } .sb-body { flex: 1; overflow-y: auto; padding: 10px 14px; } .sb-footer { @@ -55,7 +74,6 @@ body { font-family: 'Segoe UI', sans-serif; display: flex; height: 100vh; color: } .filter-btns button.active { background: #2b6cb0; color: #fff; border-color: #2b6cb0; } -/* ─── Boundary Section ─── */ .boundary-section { background: #fff; border-radius: 8px; border: 1px solid #d0d4dc; margin-bottom: 8px; overflow: hidden; @@ -86,10 +104,9 @@ body { font-family: 'Segoe UI', sans-serif; display: flex; height: 100vh; color: } .boundary-status.loading { color: #2b6cb0; } .boundary-status.error { color: #e53e3e; } +.boundary-status.warn { color: #d69e2e; } -/* ─── Flag list ─── */ #flag-list { list-style: none; } - .flag-item { background: #fff; border-radius: 8px; border: 2px solid transparent; margin-bottom: 5px; overflow: hidden; @@ -174,7 +191,12 @@ body { font-family: 'Segoe UI', sans-serif; display: flex; height: 100vh; color: -
🗺️ 서울 행정구역 경계 @@ -199,9 +220,7 @@ body { font-family: 'Segoe UI', sans-serif; display: flex; height: 100vh; color:
- +
@@ -223,18 +242,202 @@ body { font-family: 'Segoe UI', sans-serif; display: flex; height: 100vh; color:
diff --git a/server.py b/server.py index 1c1965e..a6372cb 100644 --- a/server.py +++ b/server.py @@ -5,5 +5,5 @@ PORT = 8000 Handler = http.server.SimpleHTTPRequestHandler with socketserver.TCPServer(("", PORT), Handler) as httpd: - print(f"Serving at http://localhost:{PORT}") + print(f"Serving at http://0.0.0.0:{PORT}") httpd.serve_forever()