Zapisywanie i odczytywanie ustawień paneli z cookie. Potrzebne jest jeszcze ustawiani...
[redakcja.git] / project / templates / explorer / editor.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/jquery.json.js" type="text/javascript" charset="utf-8"></script>
10     <script src="/static/js/jquery.cookie.js" type="text/javascript" charset="utf-8"></script>
11     <script src="/static/js/editor.js" type="text/javascript" charset="utf-8"></script>
12 {% endblock extrahead %}
13
14 {% block breadcrumbs %}<a href="{% url file_list %}">Platforma Redakcyjna</a> ❯ plik {{ hash }}{% endblock breadcrumbs %}
15
16 {% block header-toolbar %}
17         <button type="button" class="toolbar-button" id="toolbar-button-save">Zapisz</button>
18 {% endblock %}
19 {% block maincontent %}
20         <div id="panels">
21             <div id="left-panel-wrap" class="panel-wrap">
22                <div id="left-panel-toolbar" class="panel-toolbar">
23                     <label for="select-left-panel">Lewy panel:</label>
24                     <select name="select-left-panel" id="select-left-panel">
25                         <option value="{% url xmleditor_panel hash %}" name="xmleditor">Edytor XML</option>
26                         <option value="{% url htmleditor_panel hash %}" name="htmleditor">Edytor HTML</option>
27                         <option value="{% url gallery_panel hash %}" name="gallery">Galeria skanów</option>
28                         <option value="{% url dceditor_panel hash %}" name="dceditor">Edytor DublinCore</option>
29                     </select>
30                     <strong class="change-notification" style="display: none">Widok nieaktualny!</strong>
31                </div>
32                <div id="left-panel-content" class="panel-content"></div>
33                <button type="button" class="panel-slider" id="slider01"></button>
34             </div>
35             <div id="right-panel-wrap" class="panel-wrap last-panel">
36                 <div id="right-panel-toolbar" class="panel-toolbar">
37                     <label for="select-right-panel">Prawy panel:</label>
38                     <select name="select-right-panel" id="select-right-panel">
39                         <option value="{% url xmleditor_panel hash %}" name="xmleditor">Edytor XML</option>
40                         <option value="{% url htmleditor_panel hash %}" name="htmleditor">Edytor HTML</option>
41                         <option value="{% url gallery_panel hash %}" name="gallery">Galeria skanów</option>
42                         <option value="{% url dceditor_panel hash %}" name="dceditor">Edytor DublinCore</option>
43                     </select>
44                     <strong class="change-notification" style="display: none">Widok nieaktualny!</strong>
45                  </div>
46                  <div id="right-panel-content" class="panel-content"></div>
47             </div>
48         </div>
49 {% endblock maincontent %}