more detail from catalogs

This commit is contained in:
Edward Betts 2019-09-27 11:02:24 +01:00
parent 921824833f
commit 14b93fb7de
3 changed files with 204 additions and 17 deletions

View file

@ -4,7 +4,20 @@
{% block content %}
<div class="m-3">
<p><a href="{{ url_for('random_painting') }}">random painting</a></p>
<p><a href="{{ url_for('random_painting') }}">random painting</a>
{% if not username %}
| <a href="{{ url_for('start_oauth') }}">connect to Wikidata account</a>
{% endif %}
</p>
<p>username: {{ username }}</p>
{% if not username %}
<p>This tool must be connected with Wikidata to work.</p>
<p><a href="{{ url_for('start_oauth') }}" class="btn btn-primary btn-lg">Connect with Wikidata</a>
{% endif %}
<ul>
{% for pid, label in props.items() %}
<li><a href="{{ url_for('property_query_page', property_id=pid[1:]) }}">{{ label }}</a>