geocode/templates/query_error.html

42 lines
715 B
HTML

{% extends "base.html" %}
{% block title %}Geocode to Commons: error{% endblock %}
{% block content %}
<div class="m-3">
<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>
<p>latitude: {{ lat }} / longitude: {{ lon }}</p>
{% if error %}
<h2>error</h2>
<p>{{ error }}</p>
{% endif %}
{% if query %}
<h2>query</h2>
<pre>{{ query }}</pre>
{% endif %}
{% if r %}
<h2>reply</h2>
<pre>{{ r.text }}</pre>
{% endif %}
</div>
{% endblock %}