Display results of import.

This commit is contained in:
Adam Kelly
2020-03-24 16:58:11 +00:00
parent 8fb082e2fc
commit 2188371f44
2 changed files with 59 additions and 2 deletions

View File

@ -0,0 +1,28 @@
{% extends 'layout.html' %}
{% block content %}
<div id="content">
<div>
<h1>Search results</h1>
{% for book in results %}
<div>
<a href="{{ book.absolute_id }}">
{% include 'snippets/book_cover.html' with book=book %}
</a>
{{ book.title }}
{{ book.author }}
{% include 'snippets/shelve_button.html' with book=book pulldown=True %}
</div>
{% endfor %}
<h1>Failures</h1>
<ul>
{% for book in failures %}
<li>
{{ book.Title }}
{{ book.Author }}
</li>
{% endfor %}
</ul>
</div>
</div>
{% endblock %}