|
|
@ -28,7 +28,11 @@
|
|
|
|
<li> <a href="{{url_for('show_book_by_id', id=book.id)}}">{{book.title}}</a> </li>
|
|
|
|
<li> <a href="{{url_for('show_book_by_id', id=book.id)}}">{{book.title}}</a> </li>
|
|
|
|
<img class="no_cover" id="{{ book.title }}" src="../cover/{{ book.cover }}" width="150" onerror="if (this.src != '../cover/{{ book.cover }}') this.src = '../static/img/default_cover.gif';">
|
|
|
|
<img class="no_cover" id="{{ book.title }}" src="../cover/{{ book.cover }}" width="150" onerror="if (this.src != '../cover/{{ book.cover }}') this.src = '../static/img/default_cover.gif';">
|
|
|
|
<div class='widget'>
|
|
|
|
<div class='widget'>
|
|
|
|
|
|
|
|
{%if light%}
|
|
|
|
|
|
|
|
{%else%}
|
|
|
|
<iframe src="../uploads/{{ book.file }}" width="50%" ></iframe>
|
|
|
|
<iframe src="../uploads/{{ book.file }}" width="50%" ></iframe>
|
|
|
|
|
|
|
|
{%endif%}
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|