fix default text GPS

;
exit
()
geo
Alexander Roidl 2 years ago
parent 870c3b0709
commit 6e8c2356d1

@ -2,7 +2,7 @@
{% block main %} {% block main %}
<div id="home_content"> <div id="home_content">
<p id="position"></p> <p id="position">Your location could not be read. <br>Make sure to activate GPS</p>
<div class="compass"> <div class="compass">

@ -74,9 +74,8 @@ def test(lng, lat):
return lng +" " +lat return lng +" " +lat
@app.route('/addhangout/<float:lng>/<float:lat>/', methods=['POST', 'GET']) @app.route('/addhangout/<float:lng>/<float:lat>/', methods=['POST', 'GET'])
def add_hangout(lng, lat): def add_hangout(lng = None, lat = None):
upload_form = UploadLocation() upload_form = UploadLocation()
longitude =lng longitude =lng
latitude = lat latitude = lat

Loading…
Cancel
Save