X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..75957f735219259d3b4bc361f80ccd3d7b92a0e9:/src/picture/templates/picture/picture_viewer.html
diff --git a/src/picture/templates/picture/picture_viewer.html b/src/picture/templates/picture/picture_viewer.html
index e169dbe0f..6c35fe07b 100644
--- a/src/picture/templates/picture/picture_viewer.html
+++ b/src/picture/templates/picture/picture_viewer.html
@@ -12,77 +12,92 @@
{% block js-dependencies %}
-
+
{% endblock %}
{% block no-menu-extra %}
-
+-
+ +
+ -
{% endblock %}
{% block menu %}
-+-
-
-
-
-
-
-{% trans "Objects" %}
-{% trans "Themes" %}
-
-
-
-
-
+ +
+ -
+
+
+ {% spaceless %}
+
+ {% with picture.get_previous as prev %}
+ {% if prev %}<{%endif %}
+ {% endwith %}
+ {% with picture.get_next as next %}
+ {% if next %}>{% endif %}
+ {% endwith %}
+
+ {% endspaceless %}
+
+
+
+
+
+ {% trans "Objects" %}
+ {% trans "Themes" %}
+
+
+
+
-
+
{% endblock %}
{% block main %}
-
- {% thumbnail picture.image_file "700x500" as pic %}
-
+ {% thumbnail picture.image_file "700x500" as pic %}
+
-
- {% endthumbnail %}
-
+ data-width="{{pic.width}}" data-height="{{pic.height}}" style="background-image: url('{{pic.url}}'); width: {{pic.width}}px; height: {{pic.height}}px;">
+
+ {% endthumbnail %}
+
{% endblock %}
{% block footer %}
-{{ picture.html_file.read|safe }}
-
-
-
+ {{ picture.html_file.read|safe }}
+
+
+
{% book_info picture %}
-
-
-
- {{ picture.short_html }}
-
+
+
+ {% include 'picture/picture_short.html' %}
+
{% endblock %}