X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/816a4653c0086eeaf57ba148864bb06678d9234c..d30c85700a77653b48a5c28b5242dbe22b99a174:/project/templates/explorer/file_html.html diff --git a/project/templates/explorer/file_html.html b/project/templates/explorer/file_html.html index f3fe1876..23a13679 100644 --- a/project/templates/explorer/file_html.html +++ b/project/templates/explorer/file_html.html @@ -10,6 +10,14 @@ }); }); + function resizePanels() { + $('#images-wrap').height($(window).height() - 80); + $('#file-text').height($(window).height() - 80); + } + + $(window).resize(resizePanels) + resizePanels(); + $('#images').lazyload('.image-box', {threshold: 600}); }); @@ -20,8 +28,13 @@ {% block maincontent %}
ŹródłoHTML
{{ image_folders_form.folders }}
 
-
-

Aby zobaczyć obrazki wybierz folder z obrazkami powyżej.

+
{{ object|safe }}