From b148be9bd18626fe0e9167fa63a7747c6e360635 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D0=B6=D0=B5=D0=BB=D0=B8=D0=BD=D0=B0=20?= =?UTF-8?q?=D0=94=D0=B6=D0=BE=D0=BB=D0=B8?= Date: Wed, 18 Mar 2026 10:44:59 +0500 Subject: [PATCH] Revert "Revert "beautifull template"" --- myapp/templates/books.html | 152 +++++++++++++++++++++++++++++++------ 1 file changed, 127 insertions(+), 25 deletions(-) diff --git a/myapp/templates/books.html b/myapp/templates/books.html index 33d384e..69c07cd 100644 --- a/myapp/templates/books.html +++ b/myapp/templates/books.html @@ -1,39 +1,141 @@ - + - - Books + Moya Biblioteka - - - - - - - - - {% for i in books %} - - - - - - - + +
+
+

Moya Kollektsiya

+

Naydite svoyu sleduyushchuyu istoriyu

+
+ +
+ {% for book in books %} +
+ {% if book.cover %} + {{ book.title }} + {% else %} + Net oblozhki + {% endif %} + +
+

{{ book.title }}

+
Avtor: {{ book.author }}
+ + Chitat' daleye +
+
+ {% empty %} +

V biblioteke poka net knig.

{% endfor %} -
T/BKitabyn adyAwtoryNeshir edilen senesiSahypa sany
{{forloop.counter}}{{i.book_name}}{{i.author}}{{i.published_date}}{{i.page_volume}}
+ + + \ No newline at end of file