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.
50 lines
1.1 KiB
50 lines
1.1 KiB
{% extends 'base.html' %}
|
|
|
|
{% block main %}
|
|
<div class="container">
|
|
<h1 class="page-header">All Books</h1>
|
|
{% with messages = get_flashed_messages() %}
|
|
{% if messages %}
|
|
<div class="alert alert-success">
|
|
<ul>
|
|
{% for message in messages %}
|
|
<li>{{ message }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
{% endif %}
|
|
{% endwith %}
|
|
|
|
<table style="width:100%">
|
|
<tr>
|
|
<th>Cover</th>
|
|
<th>Title</th>
|
|
<th>Author</th>
|
|
<<<<<<< HEAD
|
|
<th>Filetype</th>
|
|
=======
|
|
<th>Tag</th>
|
|
>>>>>>> 18f7acebcd760ab12a86ada4423cbefcbdaafdf5
|
|
</tr>
|
|
{% for book in books %}
|
|
<tr>
|
|
<td><img src="../uploads/cover/{{ book.cover }}" width="80"></td>
|
|
<td><a href="books/{{ book.id }}">{{ book.title }}</a></td>
|
|
<<<<<<< HEAD
|
|
<td> {% for author in book.author %}
|
|
|
|
<li> {{ author.author_name }}</li>
|
|
|
|
{% endfor %}</td>
|
|
<td>{{ book.fileformat }}</td>
|
|
=======
|
|
<td>{{ book.author }}</td>
|
|
<td>{{ book.tag}}</td>
|
|
>>>>>>> 18f7acebcd760ab12a86ada4423cbefcbdaafdf5
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
|
|
|
|
</div>
|
|
{% endblock %}
|
|
|