diff --git a/app/templates/my_books.html b/app/templates/my_books.html index 6b50578..ab47036 100644 --- a/app/templates/my_books.html +++ b/app/templates/my_books.html @@ -18,7 +18,7 @@

Mis Libros

{{ book.title }} {{ book.author_name }} - {{ book.rating * '' |safe }} + {{ book.rating * '⭐' |safe }} {{ book.genre_name }} {{ book.editorial_name }} diff --git a/app/templates/show_author.html b/app/templates/show_author.html index 4d5c1ee..b4aeb9d 100644 --- a/app/templates/show_author.html +++ b/app/templates/show_author.html @@ -18,7 +18,7 @@

{{a.country}}

{% for book in books %} {{ book.title }} - {{ book.rating * '' |safe }} + {{ book.rating * '⭐' |safe }} {{ book.genre_name }} {{ book.editorial_name }} diff --git a/app/templates/show_book.html b/app/templates/show_book.html index d7b4df0..58a43ae 100644 --- a/app/templates/show_book.html +++ b/app/templates/show_book.html @@ -15,10 +15,10 @@

{{ item[9] }} ({{ item[10] }})

Género: {{ item[12] }}

Editorial: {{ item[11] }}

Año: {{ item[2] }}

-

¿Leído?: {% if item[4] %}{%else%}{%endif%}

-

¿Prestado?: {% if item[5] %}{%else%}{%endif%}

+

¿Leído?: {% if item[4] %}✔️{%else%}✖️{%endif%}

+

¿Prestado?: {% if item[5] %}✔️{%else%}✖️{%endif%}

Número de páginas: {{ item[3] }}

-

Puntuación: {{ item[6] * '' |safe}}

+

Puntuación: {{ item[6] * '⭐' |safe}}


@@ -32,8 +32,8 @@

{{ item[9] }} ({{ item[10] }})


- Editar Libro - Borrar Libro + 📝 + 🗑️
{% endfor %} diff --git a/app/templates/show_editorial.html b/app/templates/show_editorial.html index 0ca117d..d728341 100644 --- a/app/templates/show_editorial.html +++ b/app/templates/show_editorial.html @@ -10,15 +10,15 @@

{{e.name}}

+ - {% for book in books %} - + {% endfor %} diff --git a/app/templates/show_genre.html b/app/templates/show_genre.html index bee87a0..f5a7e9e 100644 --- a/app/templates/show_genre.html +++ b/app/templates/show_genre.html @@ -18,7 +18,7 @@

{{ g.name }}

- + {% endfor %}
TítuloAutor Puntuación GéneroAutor
{{ book.title }}{{ book.rating * '' |safe }} {{ book.author_name }}{{ book.rating * '⭐' |safe }} {{ book.genre_name }}
{{ book.title }} {{book.author_name}}{{ book.rating * '' |safe }}{{ book.rating * '⭐' |safe }} {{ book.editorial_name }}