diff --git a/reader/templates/reader/view_book.html b/reader/templates/reader/view_book.html index 32b2c830ac4f725b8681ef2343b42d8258c7017e..3988bad978b51f94fd1f52f9d734c34e32da84f2 100644 --- a/reader/templates/reader/view_book.html +++ b/reader/templates/reader/view_book.html @@ -3,7 +3,25 @@ {% block title %}{{ book.title }}{% endblock %} {% block content %} - <h1 class="title">{{ book.title }}</h1> - <br> + <div class="columns"> + {% if book.image %} + <div class="column is-one-quarter"> + <figure class="image"> + <img src="{{ book.image.url }}" alt="{{ book.title }}"> + </figure> + </div> + {% endif %} + <div class="column"> + <h1 class="title"> + {{ book.title }} + {% if book.public %} + <i class="bi bi-globe"></i> + {% else %} + <i class="bi bi-lock"></i> + {% endif %} + </h1> + <br> + </div> + </div> {% endblock %} \ No newline at end of file