mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-06-29 18:30:38 +00:00
This was suggested on Matrix a while ago but I only found the time now to move forward with it. Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
13 lines
626 B
HTML
13 lines
626 B
HTML
{% load i18n %}
|
|
{% load static %}
|
|
|
|
<div class="modal" id="{{ id }}">
|
|
<div class="modal-background" data-modal-close></div><!-- modal background -->
|
|
<div class="modal-card is-align-items-center" role="dialog" aria-modal="true" tabindex="-1" aria-label="{% trans 'Book cover preview' %}">
|
|
<div class="cover-container">
|
|
<img class="book-cover" src="{% get_media_prefix %}{{ book.cover }}" itemprop="thumbnailUrl" alt="" loading="lazy" decoding="async">
|
|
</div>
|
|
</div>
|
|
<button type="button" data-modal-close class="modal-close is-large" aria-label="{% trans 'Close' %}"></button>
|
|
</div>
|