geocode/templates/query_error.html

42 lines
715 B
HTML
Raw Normal View History

{% extends "base.html" %}
{% block title %}Geocode to Commons: error{% endblock %}
{% block content %}
<div class="m-3">
2022-05-18 14:12:34 +01:00
<h1>Geocode coordinates to Commons Category</h1>
<p>
<a href="{{ url_for('index') }}">home</a>
|
<a href="{{ url_for('index', lat=lat, lon=lon) }}">visit endpoint</a>
|
<a href="https://www.openstreetmap.org/#map=17/{{lat }}/{{ lon }}">view in OSM</a>
|
<a href="{{ url_for('detail_page', lat=lat, lon=lon) }}">#</a>
</p>
2022-05-18 14:12:34 +01:00
<p>latitude: {{ lat }} / longitude: {{ lon }}</p>
2022-05-18 14:12:34 +01:00
{% if error %}
<h2>error</h2>
2022-05-18 14:12:34 +01:00
<p>{{ error }}</p>
{% endif %}
2022-05-18 14:12:34 +01:00
{% if query %}
2022-05-18 14:12:34 +01:00
<h2>query</h2>
<pre>{{ query }}</pre>
{% endif %}
2022-05-18 14:12:34 +01:00
{% if r %}
2022-05-18 14:12:34 +01:00
<h2>reply</h2>
<pre>{{ r.text }}</pre>
{% endif %}
2022-05-18 14:12:34 +01:00
</div>
{% endblock %}