From 65d1fbf6fa02ed0040e32a47ee749a33a4db37dc Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Sat, 25 Nov 2023 13:58:39 +0000 Subject: [PATCH] Update query error template to extend base.html --- templates/query_error.html | 43 +++++++++++++++++++++++++------------- 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/templates/query_error.html b/templates/query_error.html index 9c83655..731efe2 100644 --- a/templates/query_error.html +++ b/templates/query_error.html @@ -1,28 +1,41 @@ - - - - - Geocode to commons - +{% extends "base.html" %} - +{% block title %}Geocode to Commons: error{% endblock %} + +{% block content %} +

Geocode coordinates to Commons Category

-

visit endpoint - -| view in OSM - -| # - +

+home +| +visit endpoint +| +view in OSM +| +#

+

latitude: {{ lat }} / longitude: {{ lon }}

+ +{% if error %} +

error

+ +

{{ error }}

+ +{% endif %} + +{% if query %}

query

{{ query }}
+{% endif %} +{% if r %}

reply

{{ r.text }}
+{% endif %} - - +
+{% endblock %}