moviewyrm/bookwyrm/templates/snippets/book_tiles.html

17 lines
608 B
HTML
Raw Normal View History

2021-04-27 18:30:10 +00:00
<div class="columns is-mobile is-multiline">
2020-09-30 23:20:50 +00:00
{% for book in books %}
<div class="column is-narrow">
2021-04-27 18:30:10 +00:00
<div class="box is-flex is-flex-direction-column is-align-items-center">
<div class="mb-3">
<a href="/book/{{ book.id }}">
{% include 'snippets/book_cover.html' with book=book cover_class='is-w-l-mobile is-h-l-mobile is-w-l-tablet is-h-xl-tablet' %}
</a>
</div>
2021-01-30 23:59:50 +00:00
{% include 'snippets/shelve_button/shelve_button.html' with book=book switch_mode=True %}
</div>
</div>
2020-09-30 23:20:50 +00:00
{% endfor %}
</div>