Merge branch 'geo' of https://git.xpub.nl/XPUB/XPPL into geo

geo
geoadmin 2 years ago
commit 2099c9c629

@ -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