68c8c7fc50aa1502d6602b7bf36cafcf80b4197d
[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-commit">Commit</button>
18         <button type="button" class="toolbar-button" id="toolbar-button-save" disabled="disabled">Zapisz</button>
19 {% endblock %}
20
21 {% block message-box %}
22     <div class="msg-success" id="save-successful"><p>Zapisano :)</p><p class="data" /></div>
23     <div class="msg-error" id="save-error"><p>Błąd przy zapisie.</p> <p class="data" /></div>
24     <div class="msg-warning" id="not-implemented"><p>Tej funkcji jeszcze nie ma :(</p><p class="data" /></div>
25 {% endblock %}
26
27 {% block maincontent %}
28         <div id="panels">
29             {% for n in panel_list %}
30             <div class="panel-wrap{% if forloop.last %} last-panel{% endif %}" id="panel-{{n}}">
31                 <div class="panel-toolbar">
32                     <label for="select-{{n}}-panel">{{n|capfirst}} panel:</label>
33                     <select name="select-{{n}}-panel" id="panel-{{n}}-select">
34                         <option value="{% url xmleditor_panel hash %}" name="xmleditor">Edytor XML</option>
35                         <option value="{% url htmleditor_panel hash %}" name="htmleditor">Edytor HTML</option>
36                         <option value="{% url gallery_panel hash %}" name="gallery">Galeria skanów</option>
37                         <option value="{% url dceditor_panel hash %}" name="dceditor">Edytor DublinCore</option>
38                     </select>
39                     <button type="button" class="refresh-button">Odśwież</button>
40                     <strong class="change-notification" style="display: none">Widok nieaktualny!</strong>
41                </div>
42                <div id="panel-{{n}}-content" class="panel-content"></div>
43                <button type="button" class="panel-slider"></button>
44             </div>
45             {% endfor %}
46         </div>
47 {% endblock maincontent %}