Merge branch 'master' of stigma:platforma
[redakcja.git] / project / templates / explorer / panels / gallery.html
diff --git a/project/templates/explorer/panels/gallery.html b/project/templates/explorer/panels/gallery.html
deleted file mode 100644 (file)
index af3a5cb..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<div class="toolbar" style="height: 24px">
-    {{ form.folders }}
-</div>
-
-<div class="images-wrap" style="position: absolute; top: 24px; left:0px; right:0px; bottom: 0px;">
-    <div class="images"><!-- To jest div na obrazki, które są wstawiane później --></div>
-</div>
-<script type="text/javascript" charset="utf-8">
-
-panel_hooks = {
-    load: function() {
-        var contentDiv = this.contentDiv;
-        $('select[name=folders]', contentDiv).change(function() {
-            var select = this;
-            $('.images', contentDiv).fadeOut('slow', function() { 
-                $(this).html('').load('{% url folder_image_ajax %}' + $(select).val() + '/',  function() {
-                    $('.images-wrap', contentDiv).data('lazyload:lastCheckedScrollTop', -10000);
-                });
-            })
-        });
-        
-        $('.images-wrap', contentDiv).lazyload('.image-box', 
-            {threshold: 640 * 10, scrollTreshold: 640 * 5}
-        );
-    },
-    refresh: function() {
-        return true; // gallery is always fresh
-    },
-    dirty: function() {
-        return true; // and it doesn't get dirty 
-    }
-};
-</script>