Dodanie funkcji panel do tworzenia nowych paneli edytora i refaktoring xmleditor...
[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 style="margin-right: 10px">
21                         <div id="left-panel-toolbar" class="panel-toolbar">
22                             <label for="select-left-panel">Lewy panel:</label>
23                             <select name="select-left-panel" id="select-left-panel">
24                                 <option value="{% url xmleditor %}">Edytor XML</option>
25                                 <option value="panel2">Panel 2</option>                            
26                             </select>
27                         </div>
28                         <div id="left-panel-contents" class="panel-contents">
29                         </div>
30                     </div>
31                 </div>
32             </div>
33             <div id="right-panel-wrap" class="panel-wrap">
34                 <div id="right-panel" class="panel">
35                     <div id="right-panel-toolbar" class="panel-toolbar">
36                         <label for="select-right-panel">Prawy panel:</label>
37                         <select name="select-right-panel" id="select-right-panel">
38                             <option value="{% url xmleditor %}">Edytor XML</option>
39                             <option value="panel2">Panel 2</option>                            
40                         </select>
41                     </div>
42                     <div id="right-panel-contents" class="panel-contents">
43                     </div>
44                     {#  #}
45                 </div>
46             </div>
47                         {#  #}
48                         {#     <div id="toggle-sidebar" style="float: right"></div> #}
49                         {#     <div id="whatever"> #}
50                         {#         <div id="sidebar-toolbar"> #}
51                         {#             <ol id="sidebar-tabs"> #}
52                         {#                 <li>Tab</li> #}
53                         {#                 <li>Tab 2</li> #}
54                         {#             </ol> #}
55                         {#         </div> #}
56                         {#         <div id="images-wrap"> #}
57                         {#  #}
58                         {#             <div style="clear: both; height: 0; width: 0">&nbsp;</div> #}
59                         {#             <div id="images"> #}
60                         {#                 <p>Aby zobaczyć obrazki wybierz folder poniżej:</p> #}
61                         {#                 <p>{{ image_folders_form.folders }}</p> #}
62                         {#             </div> #}
63                         {#         </div> #}
64                         {#     </div> #}
65                         {# </div> #}
66                         {# {% toolbar %} #}
67         </div>
68 {% endblock maincontent %}