From 2da7eeb71d36f9d3cdd962cbc9e00fb13326bd8f Mon Sep 17 00:00:00 2001 From: vadik likholetov Date: Thu, 30 Nov 2023 22:44:08 +0200 Subject: [PATCH] moved "save track" button to leaflet, fixed waypoint icons --- sar_calls.py | 1 - templates/sar_details.html | 41 ++++++++++++++++++++++++++++++++------ 2 files changed, 35 insertions(+), 7 deletions(-) diff --git a/sar_calls.py b/sar_calls.py index c801cf3..b0d0880 100644 --- a/sar_calls.py +++ b/sar_calls.py @@ -261,7 +261,6 @@ def save_track(): db.session.add(new_comment) db.session.commit() - print ("new comment id={}", new_comment.id) # Create a new GPXTrack instance and save it to the database new_track = GPSTrack(comment_id=new_comment.id, sar_call_id=sar_id, file_name=track_name, gpx_data=track_data) diff --git a/templates/sar_details.html b/templates/sar_details.html index 74766e7..7b2d456 100644 --- a/templates/sar_details.html +++ b/templates/sar_details.html @@ -211,11 +211,11 @@ - - + {# #} + {# #}