Panele posiadaja teraz obiekt kontroller, który trzyma ich stan. TODO: lepsza inicjal...
[redakcja.git] / project / templates / explorer / file_xml.html
1 {% extends "base.html" %}
2
3 {% block extrahead %}
4     <script src="/static/js/jquery.lazyload.js" type="text/javascript" charset="utf-8"></script>
5     <script src="/static/js/codemirror/codemirror.js" type="text/javascript" charset="utf-8"></script>
6     <script src="/static/js/jquery.autoscroll.js" type="text/javascript" charset="utf-8"></script>
7     <script src="/static/js/jquery.wtooltip.js" type="text/javascript" charset="utf-8"></script>
8     <script src="/static/js/jquery.hpanel.js" type="text/javascript" charset="utf-8"></script>
9     <script src="/static/js/panels.js" type="text/javascript" charset="utf-8"></script>
10     <script src="/static/js/editor.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 header-toolbar %}
16         <button type="button" class="toolbar-button" id="toolbar-button-save">Zapisz</button>
17 {% endblock %}
18 {% block maincontent %}
19         <div id="panels">
20             <div id="left-panel-wrap" class="panel-wrap">
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_panel hash %}">Edytor XML</option>
25                         <option value="{% url htmleditor_panel hash %}">Edytor HTML</option>
26                         <option value="{% url gallery_panel hash %}">Galeria skanów</option>    
27                     </select>
28                     <strong class="change-notification" style="display: none">Zmieniono!</strong>
29                </div>
30                <div id="left-panel-content" class="panel-content"></div>
31                <button type="button" class="panel-slider" id="slider01">&nbsp;</button>
32             </div>
33             <div id="right-panel-wrap" class="panel-wrap last-panel">
34                 <div id="right-panel-toolbar" class="panel-toolbar">
35                     <label for="select-right-panel">Prawy panel:</label>
36                     <select name="select-right-panel" id="select-right-panel">
37                         <option value="{% url xmleditor_panel hash %}">Edytor XML</option>
38                         <option value="{% url htmleditor_panel hash %}">Edytor HTML</option>
39                         <option value="{% url gallery_panel hash %}">Galeria skanów</option>
40                     </select>
41                     <strong class="change-notification" style="display: none">Zmieniono!</strong>
42                  </div>
43                  <div id="right-panel-content" class="panel-content"></div>
44             </div>
45         </div>
46 {% endblock maincontent %}