1 {% extends "base.html" %}
4 <script src="/static/js/jquery.lazyload.js" type="text/javascript" charset="utf-8"></script>
5 <script type="text/javascript" charset="utf-8">
7 $('#id_folders').change(function() {
8 $('#images').load('/images/' + $('#id_folders').val() + '/', function() {
9 $('#images').data('lastScroll', -1000);
13 function resizePanels() {
14 $('#images-wrap').height($(window).height() - 80);
15 $('#file-text').height($(window).height() - 80);
18 $(window).resize(resizePanels)
21 $('#images').lazyload('.image-box', {threshold: 600});
24 {% endblock extrahead %}
26 {% block breadcrumbs %}<a href="/">Platforma Redakcyjna</a> ❯ plik {{ hash }}{% endblock breadcrumbs %}
28 {% block maincontent %}
29 <div id="tabs"><a href="{% url file_xml hash %}">Źródło</a><a href="{% url file_html hash %}" class="active">HTML</a><div style="padding: 3px; margin-left: 10px">{{ image_folders_form.folders }}</div><div style="clear: both; height: 0; width: 0"> </div></div>
32 <div id="images-wrap">
34 <p>Aby zobaczyć obrazki wybierz folder z obrazkami powyżej.</p>
37 <div id="toggle-sidebar"></div>
42 {% endblock maincontent %}