Wydzielenie JavaScriptu z szablonu explorer/file_xml.html do pliku js/panels.js.
[redakcja.git] / project / templates / explorer / file_xml.html
1 {% extends "base.html" %}
2 {% load toolbar_tags %}
3
4 {% block extrahead %}
5     <script src="/static/js/jquery.lazyload.js" type="text/javascript" charset="utf-8"></script>
6     <script src="/static/js/codemirror/codemirror.js" type="text/javascript" charset="utf-8"></script>
7     <script src="/static/js/jquery.autoscroll.js" type="text/javascript" charset="utf-8"></script>
8     <script src="/static/js/jquery.wtooltip.js" type="text/javascript" charset="utf-8"></script>
9     <script src="/static/js/jquery.resizable.js" type="text/javascript" charset="utf-8"></script>
10     <script src="/static/js/panels.js" type="text/javascript" charset="utf-8"></script>
11 {% endblock extrahead %}
12
13 {% block breadcrumbs %}<a href="{% url file_list %}">Platforma Redakcyjna</a> ❯ plik {{ hash }}{% endblock breadcrumbs %}
14
15 {% block maincontent %}
16         <div id="panels">
17             <div id="left-panel-wrap" class="panel-wrap">
18                 <div id="left-panel" class="panel">
19                     <div id="slider" style="float: right"></div>
20                     <div id="left-panel-toolbar" class="panel-toolbar">
21                         <label for="select-left-panel">Lewy panel:</label>
22                         <select name="select-left-panel" id="select-left-panel">
23                             <option value="panel1">Panel 1</option>
24                             <option value="panel2">Panel 2</option>                            
25                         </select>
26                         <div id="left-panel-contents" class="panel-contents">
27                         </div>
28                     </div>
29                 </div>
30             </div>
31             <div id="right-panel-wrap" class="panel-wrap">
32                 <div id="right-panel" class="panel">
33                     <div id="right-panel-toolbar" class="panel-toolbar">
34                         <label for="select-right-panel">Prawy panel:</label>
35                         <select name="select-right-panel" id="select-right-panel">
36                             <option value="panel1">Panel 1</option>
37                             <option value="panel2">Panel 2</option>                            
38                         </select>
39                         <div id="right-panel-contents" class="panel-contents">
40                         </div>
41                     </div>
42                     {# <textarea id="id_text" name="text" width="480px">{{ form.text.field.initial }}</textarea> #}
43                 </div>
44             </div>
45                         {#  #}
46                         {#     <div id="toggle-sidebar" style="float: right"></div> #}
47                         {#     <div id="whatever"> #}
48                         {#         <div id="sidebar-toolbar"> #}
49                         {#             <ol id="sidebar-tabs"> #}
50                         {#                 <li>Tab</li> #}
51                         {#                 <li>Tab 2</li> #}
52                         {#             </ol> #}
53                         {#         </div> #}
54                         {#         <div id="images-wrap"> #}
55                         {#  #}
56                         {#             <div style="clear: both; height: 0; width: 0">&nbsp;</div> #}
57                         {#             <div id="images"> #}
58                         {#                 <p>Aby zobaczyć obrazki wybierz folder poniżej:</p> #}
59                         {#                 <p>{{ image_folders_form.folders }}</p> #}
60                         {#             </div> #}
61                         {#         </div> #}
62                         {#     </div> #}
63                         {# </div> #}
64                         {# {% toolbar %} #}
65         </div>
66 {% endblock maincontent %}