Add templates.

This commit is contained in:
Edward Betts 2019-09-13 17:16:37 +01:00
parent 0a6ea8b416
commit 3215333caf
5 changed files with 160 additions and 0 deletions

16
templates/index.html Normal file
View file

@ -0,0 +1,16 @@
{% extends "base.html" %}
{% block title %}Wikidata painting depicts{% endblock %}
{% block content %}
<div class="m-3">
<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 %}