From 32a2b3e6c1bbdaed66ec7bb3afeba6806d6bb4e5 Mon Sep 17 00:00:00 2001 From: MassiveAtoms Date: Wed, 15 Jul 2020 13:26:13 -0300 Subject: [PATCH] css concepts --- .../library/templates/base.html | 25 ++++- .../library/templates/library/book_list.html | 93 ++++++++++++------- 2 files changed, 79 insertions(+), 39 deletions(-) diff --git a/CalibreWebCompanion/library/templates/base.html b/CalibreWebCompanion/library/templates/base.html index 1dbb70d..e0ff2e6 100644 --- a/CalibreWebCompanion/library/templates/base.html +++ b/CalibreWebCompanion/library/templates/base.html @@ -14,6 +14,16 @@ @@ -108,7 +122,8 @@ diff --git a/CalibreWebCompanion/library/templates/library/book_list.html b/CalibreWebCompanion/library/templates/library/book_list.html index 0750391..3f90df0 100644 --- a/CalibreWebCompanion/library/templates/library/book_list.html +++ b/CalibreWebCompanion/library/templates/library/book_list.html @@ -2,42 +2,67 @@ {% block content %} + +

Book List

-
-
-
- - - - - - - - - - - {% for book in book_list %} - - - -
TitleAuthorRatingTagsAddedPublished
{{ book.title }}{{book.author_sort}} {% for rating in book.ratings.all %} - {{rating}} +
+
+
+ + + + + + + + + + + {% for book in book_list %} + + + + + + + + {% endfor %} - - - - - - {% endfor %} -
TitleAuthorRatingTagsAddedPublished
{{ book.title }}{{book.author_sort}} {% for rating in book.ratings.all %} + {{rating}} + {% endfor %} + + + {% for tag in book.tags.all %} + + {% endfor %} + {{book.timestamp | date:"d/m/Y" }}{{book.pubdate.year}}
- {% for tag in book.tags.all %} - {{tag}}, - {% endfor %} - {{book.timestamp | timesince}} ago {{book.pubdate.year}}
-
-
-
+
+
+
+
-{% endblock %} \ No newline at end of file + {% endblock %} \ No newline at end of file