basic recents view
This commit is contained in:
parent
65e17fc55b
commit
687c33829f
20 changed files with 2156 additions and 20 deletions
13
cops-web/templates/recents.html
Normal file
13
cops-web/templates/recents.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
{% extends "base" %}
|
||||
{% block content %}
|
||||
<h1>Recent Books</h1>
|
||||
<div class="grid-container">
|
||||
{% for book in books %}
|
||||
<article class="book-card grid-item">
|
||||
<header>{{ book.title }}</header>
|
||||
<img class="cover" src="/cover/{{ book.id }}" alt="book cover">
|
||||
<!-- <footer>{{ book.title }}</footer> -->
|
||||
</article>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock content %}
|
Loading…
Add table
Add a link
Reference in a new issue