Refactor kodu paneli. Wysyłanie danych do save().
[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                         <option value="{% url dceditor_panel hash %}">Edytor DublinCore</option>
28                     </select>
29                     <strong class="change-notification" style="display: none">Widok nieaktualny!</strong>
30                </div>
31                <div id="left-panel-content" class="panel-content"></div>
32                <button type="button" class="panel-slider" id="slider01">&nbsp;</button>
33             </div>
34             <div id="right-panel-wrap" class="panel-wrap last-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_panel hash %}">Edytor XML</option>
39                         <option value="{% url htmleditor_panel hash %}">Edytor HTML</option>
40                         <option value="{% url gallery_panel hash %}">Galeria skanów</option>
41                         <option value="{% url dceditor_panel hash %}">Edytor DublinCore</option>
42                     </select>
43                     <strong class="change-notification" style="display: none">Widok nieaktualny!</strong>
44                  </div>
45                  <div id="right-panel-content" class="panel-content"></div>
46             </div>
47         </div>
48 {% endblock maincontent %}