bba8e1d152b54e292d732ccc9185cbb9bc6c7663
[redakcja.git] / project / templates / explorer / editor.html
1 {% extends "base.html" %}
2
3 {% block extrahead %}
4     <link rel="stylesheet" href="{{STATIC_URL}}css/toolbar.css" type="text/css" />
5     <script src="{{STATIC_URL}}js/jquery.lazyload.js" type="text/javascript" charset="utf-8"></script>
6     <script src="{{STATIC_URL}}js/codemirror/codemirror.js" type="text/javascript" charset="utf-8"></script>
7     <script src="{{STATIC_URL}}js/jquery.autoscroll.js" type="text/javascript" charset="utf-8"></script>
8     <script src="{{STATIC_URL}}js/jquery.wtooltip.js" type="text/javascript" charset="utf-8"></script>
9     <script src="{{STATIC_URL}}js/jquery.hpanel.js" type="text/javascript" charset="utf-8"></script>
10     <script src="{{STATIC_URL}}js/jquery.json.js" type="text/javascript" charset="utf-8"></script>
11     <script src="{{STATIC_URL}}js/jquery.cookie.js" type="text/javascript" charset="utf-8"></script>
12     <script src="{{STATIC_URL}}js/editor.js" type="text/javascript" charset="utf-8"></script>
13 {% endblock extrahead %}
14
15 {% block breadcrumbs %}<a href="{% url file_list %}">Platforma Redakcyjna</a> ❯ plik {{ hash }}{% endblock breadcrumbs %}
16
17 {% block header-toolbar %}
18         <button type="button" class="toolbar-button" id="toolbar-button-commit">Commit</button>
19         <button type="button" class="toolbar-button" id="toolbar-button-save" disabled="disabled">Zapisz</button>
20 {% endblock %}
21
22 {% block message-box %}
23     <div class="msg-success" id="save-successful"><p>Zapisano :)</p><p class="data" /></div>
24     <div class="msg-error" id="save-error"><p>Błąd przy zapisie.</p> <p class="data" /></div>
25     <div class="msg-warning" id="not-implemented"><p>Tej funkcji jeszcze nie ma :(</p><p class="data" /></div>
26 {% endblock %}
27
28 {% block maincontent %}
29         <div id="panels">
30             {% for n in panel_list %}
31             <div class="panel-wrap{% if forloop.last %} last-panel{% endif %}" id="panel-{{n}}">
32                 <div class="panel-toolbar">
33                     <label for="select-{{n}}-panel">{{n|capfirst}} panel:</label>
34                     <select name="select-{{n}}-panel" id="panel-{{n}}-select">
35                         <option value="{% url xmleditor_panel hash %}" name="xmleditor">Edytor XML</option>
36                         <option value="{% url htmleditor_panel hash %}" name="htmleditor">Edytor HTML</option>
37                         <option value="{% url gallery_panel hash %}" name="gallery">Galeria skanów</option>
38                         <option value="{% url dceditor_panel hash %}" name="dceditor">Edytor DublinCore</option>
39                     </select>
40                     <button type="button" class="refresh-button">Odśwież</button>
41                     <strong class="change-notification" style="display: none">Widok nieaktualny!</strong>
42                </div>
43                <div id="panel-{{n}}-content" class="panel-content"></div>
44                <button type="button" class="panel-slider"></button>
45             </div>
46             {% endfor %}
47         </div>
48 {% endblock maincontent %}