moviewyrm/bookwyrm/templates/books.html

18 lines
518 B
HTML
Raw Normal View History

2020-03-17 00:45:34 +00:00
{% extends 'layout.html' %}
{% load fr_display %}
{% block content %}
<div class="content-container">
<h2>Recently Added Books</h2>
2020-04-04 20:12:15 +00:00
<div class="book-grid row wrap shrink">
2020-03-17 00:45:34 +00:00
{% for book in books %}
2020-04-04 20:12:15 +00:00
<div class="cover-container">
2020-05-04 01:07:06 +00:00
<a href="/book/{{ book.id }}">
2020-03-17 00:45:34 +00:00
{% include 'snippets/book_cover.html' with book=book %}
</a>
{% include 'snippets/shelve_button.html' with book=book %}
</div>
{% endfor %}
</div>
</div>
{% endblock %}