minor changes

This commit is contained in:
Jan Kiljanski
2024-06-11 21:27:13 +02:00
parent c10276ced4
commit 46f5cd9cf4
3 changed files with 165 additions and 7 deletions

View File

@@ -61,6 +61,7 @@
<h6 id="newShape">
<button class="list-group-item list-group-item-action" onclick="drawNewShape()">Draw New Shape</button>
<button class="list-group-item list-group-item-action" onclick="addNewShape()">Add New Shape</button>
<button class="list-group-item list-group-item-action" onclick="addNewStop()">Add New Stop</button>
</h6>
<h6 id="chosenShape">
Chosen Shape
@@ -177,9 +178,7 @@
}
function importGTFS() {
stops = JSON.parse('{{ stops|safe }}');
routes = JSON.parse('{{ routes|safe }}')
timetable = JSON.parse('{{ timetable|safe }}')
imported_data = JSON.parse('{{ data }}');
alert("Import existing GTFS clicked");
// Logic to import existing GTFS would go here
}