From 078775dab84d70a5e9a81198d80f4b3965ebc6fd Mon Sep 17 00:00:00 2001 From: Srinivasan Saravanamuthu <131298719+srinivasansaravanamuthu@users.noreply.github.com> Date: Sun, 27 Jul 2025 17:46:37 -0700 Subject: [PATCH] Add airport map scraping interface --- Static/Styles.css | 50 ++++++++++++++++++++++++++++ Templates/Index.html | 65 +++++++++++++++++++++++++++++++++++- app.py | 78 ++++++++++++++++++++++++++++++++++++++++---- 3 files changed, 185 insertions(+), 8 deletions(-) diff --git a/Static/Styles.css b/Static/Styles.css index 6889bfa..c8c234e 100644 --- a/Static/Styles.css +++ b/Static/Styles.css @@ -124,3 +124,53 @@ button { button:hover { background-color: #45a049; } + +.settings-link { + position: absolute; + top: 10px; + right: 10px; + color: white; + cursor: pointer; +} + +#settings-modal { + display: none; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.5); + justify-content: center; + align-items: center; +} + +#settings-modal .modal-content { + background: white; + padding: 20px; + border-radius: 8px; +} + +.scrape-container { + display: flex; + padding: 10px; + border-top: 1px solid #f0f0f0; +} + +.scrape-container input[type="text"] { + flex: 1; + padding: 10px; + border: 1px solid #ccc; + border-radius: 4px; +} + +.scrape-container button { + margin-left: 5px; +} + +#geojson-list { + padding: 10px; + border-top: 1px solid #f0f0f0; + max-height: 150px; + overflow-y: auto; +} diff --git a/Templates/Index.html b/Templates/Index.html index ba9000a..33e1dd8 100644 --- a/Templates/Index.html +++ b/Templates/Index.html @@ -3,7 +3,7 @@
-