xppl/app/templates/show_stack_detail_tab.html

30 lines
708 B
HTML
Raw Normal View History

2018-06-03 23:33:16 +02:00
{% block main %}
<div class="container">
2018-06-05 18:26:25 +02:00
<h1 class="header">
<a href="{{url_for('show_stack_by_id', id=stack.id)}}">
{{ stack.stack_name }} </a>
</h1>
2018-06-03 23:33:16 +02:00
2018-06-06 16:07:39 +02:00
<p>{{ stack.stack_description }} </p>
2018-06-10 19:33:50 +02:00
<p id='creator'>Created by:
{% if stack.stack_author == None %} anon</p>
{% else %}
{{ stack.stack_author }}
{% endif %}
<p style='font-weight:bold;'>Books in this stack: {% for book in stack.books %} </p>
<li style="font-size: 18px;"> <a href="{{url_for('show_book_by_id', id=book.id)}}">{{book.title}}</a> </li>
2018-06-03 23:33:16 +02:00
<p style="font-size: 10px;"><a href='{{url_for('add_to_stack', id=book.id)}}'> Add to another stack </a></p>
2018-06-03 23:33:16 +02:00
{% endfor %}
2018-06-03 23:33:16 +02:00
</div>
{% endblock %}