Loading opds_catalog/settings.py +1 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ VERSION = "0.42-dev" TITLE = getattr(settings, "SOPDS_TITLE", "SimpleOPDS") SUBTITLE = getattr(settings, "SOPDS_SUBTITLE", "SimpleOPDS Catalog by www.sopds.ru. Version %s."%VERSION) ICON = getattr(settings, "SOPDS_ICON", "/static/images/favicon.ico") THUMB_SIZE = 50 THUMB_SIZE = 100 loglevel = getattr(settings, "SOPDS_LOGLEVEL", "info") if loglevel.lower() in loglevels: Loading opds_catalog/static/images/nocover-big.jpg 0 → 100644 +20.6 KiB Loading image diff... opds_catalog/static/images/nocover.jpg −17 KiB (3.61 KiB) Loading image diff... sopds_web_backend/templates/sopds_books.html +1 −1 Original line number Diff line number Diff line Loading @@ -49,7 +49,7 @@ <div class="large-12 column"> <table><tr> <td width="100px" style="padding:0rem 0rem;"> <img src="{% url 'opds_catalog:cover' b.id %}" type="image/jpeg" width="80px"> <img src="{% url 'opds_catalog:thumb' b.id %}" type="image/jpeg" width="80px"> </td> <td style="font-size:80%; padding:1rem 1rem;"> <b>{% trans "Book title:" %}</b> {{ b.title }} <br> Loading sopds_web_backend/templates/sopds_footer.html +2 −2 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ <div class="column"> <span data-tooltip aria-haspopup="true" class="has-tip" data-disable-hover="false" tabindex="1" title="{{b.title}}"> <a href="{% url "web:searchbooks" %}?searchtype=i&searchterms={{b.book_id}}"> <img class="thumbnail" src="{% url 'opds_catalog:cover' b.book_id %}" type="image/jpeg" alt="{{b.title}}"> <img class="thumbnail" src="{% url 'opds_catalog:thumb' b.book_id %}" type="image/jpeg" alt="{{b.title}}"> </a> </span></div> {% endfor %} Loading Loading @@ -39,7 +39,7 @@ </div> <div class="large-12 columns clearfix"> {% if random_book %} <img class="float-left" src="{% url 'opds_catalog:cover' random_book.id %}" type="image/jpeg" width="80px" style="padding:0.3rem;"> <img class="float-left" src="{% url 'opds_catalog:thumb' random_book.id %}" type="image/jpeg" width="80px" style="padding:0.3rem;"> <p style="font-size:80%;line-height:1rem;margin-bottom:0.25rem; margin-top:0.25rem;"><b><a href="{% url "web:searchbooks" %}?searchtype=i&searchterms={{random_book.id}}">{{ random_book.title }}</a> </b></p> <div style="font-size:70%;text-align:justify;"> {{ random_book.annotation | truncatechars:400}} </div> {% endif %} Loading Loading
opds_catalog/settings.py +1 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ VERSION = "0.42-dev" TITLE = getattr(settings, "SOPDS_TITLE", "SimpleOPDS") SUBTITLE = getattr(settings, "SOPDS_SUBTITLE", "SimpleOPDS Catalog by www.sopds.ru. Version %s."%VERSION) ICON = getattr(settings, "SOPDS_ICON", "/static/images/favicon.ico") THUMB_SIZE = 50 THUMB_SIZE = 100 loglevel = getattr(settings, "SOPDS_LOGLEVEL", "info") if loglevel.lower() in loglevels: Loading
sopds_web_backend/templates/sopds_books.html +1 −1 Original line number Diff line number Diff line Loading @@ -49,7 +49,7 @@ <div class="large-12 column"> <table><tr> <td width="100px" style="padding:0rem 0rem;"> <img src="{% url 'opds_catalog:cover' b.id %}" type="image/jpeg" width="80px"> <img src="{% url 'opds_catalog:thumb' b.id %}" type="image/jpeg" width="80px"> </td> <td style="font-size:80%; padding:1rem 1rem;"> <b>{% trans "Book title:" %}</b> {{ b.title }} <br> Loading
sopds_web_backend/templates/sopds_footer.html +2 −2 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ <div class="column"> <span data-tooltip aria-haspopup="true" class="has-tip" data-disable-hover="false" tabindex="1" title="{{b.title}}"> <a href="{% url "web:searchbooks" %}?searchtype=i&searchterms={{b.book_id}}"> <img class="thumbnail" src="{% url 'opds_catalog:cover' b.book_id %}" type="image/jpeg" alt="{{b.title}}"> <img class="thumbnail" src="{% url 'opds_catalog:thumb' b.book_id %}" type="image/jpeg" alt="{{b.title}}"> </a> </span></div> {% endfor %} Loading Loading @@ -39,7 +39,7 @@ </div> <div class="large-12 columns clearfix"> {% if random_book %} <img class="float-left" src="{% url 'opds_catalog:cover' random_book.id %}" type="image/jpeg" width="80px" style="padding:0.3rem;"> <img class="float-left" src="{% url 'opds_catalog:thumb' random_book.id %}" type="image/jpeg" width="80px" style="padding:0.3rem;"> <p style="font-size:80%;line-height:1rem;margin-bottom:0.25rem; margin-top:0.25rem;"><b><a href="{% url "web:searchbooks" %}?searchtype=i&searchterms={{random_book.id}}">{{ random_book.title }}</a> </b></p> <div style="font-size:70%;text-align:justify;"> {{ random_book.annotation | truncatechars:400}} </div> {% endif %} Loading