depicts/templates/index.html
Edward Betts a909b50329 Refactor
Split up code
Add depicts guessing
Redirect for random image
2019-09-16 08:59:53 +01:00

18 lines
406 B
HTML

{% extends "base.html" %}
{% block title %}Wikidata painting depicts{% endblock %}
{% block content %}
<div class="m-3">
<p><a href="{{ url_for('random_painting') }}">random painting</a></p>
<ul>
{% for pid, label in props.items() %}
<li><a href="{{ url_for('property_query_page', property_id=pid[1:]) }}">{{ label }}</a>
({{ pid }})
</li>
{% endfor %}
</ul>
</div>
{% endblock %}