diff --git a/bookscraper/static/js/dashboard.js b/bookscraper/static/js/dashboard.js index 8b2ec5a..1f78b29 100644 --- a/bookscraper/static/js/dashboard.js +++ b/bookscraper/static/js/dashboard.js @@ -126,6 +126,8 @@ async function refreshActiveBooks() { ${b.download_done}/${b.download_total} downloaded, ${b.audio_done}/${b.audio_total} audio + + `; // Event listener opnieuw koppelen diff --git a/bookscraper/templates/components/book_list_item.html b/bookscraper/templates/components/book_list_item.html index abfc6d7..c234718 100644 --- a/bookscraper/templates/components/book_list_item.html +++ b/bookscraper/templates/components/book_list_item.html @@ -3,9 +3,7 @@ Purpose: Dashboard weergave van één boek in de lijst. Variabelen komen binnen via: - {% for book in books %} - {% include "components/book_list_item.html" %} - {% endfor %} + → Dus alle velden moeten via "book." aangesproken worden. ======================================================================= --> @@ -58,11 +56,9 @@ {{ pct_au }}% - {% if book.status in ["running", "active", "processing"] %}
- {% endif %}