Varia library working group XPPL.
https://gitea.xpub.nl/XPUB/XPPL
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
904 B
30 lines
904 B
{% extends 'base.html' %}
|
|
|
|
{% block main %}
|
|
<div class="container">
|
|
|
|
<h1 class="header">{{ stack.stack_name }}</h1>
|
|
|
|
<p>{{ stack.stack_description }} </p>
|
|
<p>Books in this stack: {% for book in stack.books %}
|
|
|
|
<li> <a href="{{url_for('show_book_by_id', id=book.id)}}">{{book.title}}</a> </li>
|
|
<img class="no_cover" id="{{ book.title }}" src="../uploads/cover/{{ book.cover }}" width="150" onerror="if (this.src != '../static/img/{{ book.cover }}') this.src = '../static/img/default_cover.png';">
|
|
<div class='widget'>
|
|
<iframe src="../uploads/{{ book.file }}" width="50%" ></iframe>
|
|
</div>
|
|
{% endfor %}</p>
|
|
|
|
|
|
<br>
|
|
<br>
|
|
<p>
|
|
<a href="{{ url_for('remove_stack_by_id', id=stack.id )}}">Delete</a> </p>
|
|
<a href="{{ url_for('edit_stack_by_id', id=stack.id )}}">Edit</a> </p>
|
|
|
|
|
|
|
|
<p><a href="{{url_for('show_stacks')}}">Go back to stacks</p>
|
|
|
|
</div>
|
|
{% endblock %}
|
|
|